Compiler error... plz help...
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.)
Hmm... isnt it stdio.h?
That worked w/ C anyways... (same compiler, different fileending)
========================
Game project(s):
www.fiend.cjb.net
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
=======================Game project(s):www.fiend.cjb.net
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement