Advertisement

Compiler error... plz help...

Started by May 22, 2000 10:05 AM
2 comments, last by JonatanHedborg 24 years, 7 months ago
Im kinda new to C++. Im using DJGPP. Im trying to use the rand() function inside a class... the compiler says something about implicit ...... (cant remember) Do i have to initialize it in some way? (rand() that is) ======================== Game project(s): www.fiend.cjb.net
=======================Game project(s):www.fiend.cjb.net
It probably means that you didn''t include the right header in the file that declares your class. (stdlib.h if I remember correctly.)
Advertisement
Hmm... isnt it stdio.h?

That worked w/ C anyways... (same compiler, different fileending)

========================
Game project(s):
www.fiend.cjb.net
=======================Game project(s):www.fiend.cjb.net
Yup, you were right... *silly me*

========================
Game project(s):
www.fiend.cjb.net
=======================Game project(s):www.fiend.cjb.net

This topic is closed to new replies.

Advertisement