Re: Ned to optimize the code
Quote:
Originally Posted by
JohnW@Wessex
thanks i just bookmarked it
well i am still going to learn about the functions before he actually will teach us it.
Quote:
Originally Posted by
laserlight
hmm... won't you get marked down for using bool since your teacher has not taught you about that?
that is a really good point
Quote:
Originally Posted by
Paul McKenzie
I know, it can get really ridiculous as to what a teacher says can or can't be used. When I was a C++ teacher, I didn't care how a student solved the problem, as long as they can explain to me how they did it (even if what they did wasn't taught yet). If there is a general "you can't use this" construct, then it better be well-defined as to what can't be used.
Regards,
Paul McKenzie
i will have to ask him that tomorrow, it;s really stupid of how it's being done
Quote:
Originally Posted by
GCDEF
If he's really learning C, bool shouldn't even compile.
but it did xD and it works just fine
and i just want say thanks for all of you, and all the help you gave me ^_^
Re: Ned to optimize the code
Quote:
Originally Posted by
GCDEF
If he's really learning C, bool shouldn't even compile.
It would compile if the compiler supports C99 and <stdbool.h> is #included
Kurt