> I am including stdio.h
> if it's a "keyword" like you said wouldn't it be part of the language?
> how would i typedef it?
> 
> what would i typedef it as?
> 
> not trying to seem rude if i do i just don't understand

if you have included stdio.h and there is no bool type defined, 
you are probably coding in windows... in that case you would use 
something like the following:

#if defined(WIN32)
//needed in Win32. For some reason it is not defined by default -SB
typedef unsigned char   bool; 
#endif

the above code works btw.. I just grabbed it out of my Windows port 
of ROM

if of course you are not coding in windows, the above still applies.
you take a known type and define the unknown by it..

hope that helps.

 /-------------------------------------------------------------\
|  Steve Boleware               |  Beginning Coder              |
|  [EMAIL PROTECTED]          |  Student of Life              |
|  ICQ: 11120901                |                               |
 \-------------------------------------------------------------/


Reply via email to