i see others use it, and i include all the same librarys as they do, but it always gives me an 'implicit delcairation of function 'int kbhit()'
i see others use it, and i include all the same librarys as they do, but it always gives me an 'implicit delcairation of function 'int kbhit()'
I came up with a cool phrase to put down here, but i forgot it...
It's not a standard function, not all compilers support it. Which one are you using?
ah, yes, i forgot to mention that...
Dev C++
I came up with a cool phrase to put down here, but i forgot it...
This should work -
Code:#include <conio_mingw.h> int main() { while(!kbhit()) ; return 0; }
thanks, where do i find this information, because i know i will forget it later and need to look it up.
I came up with a cool phrase to put down here, but i forgot it...
doesn't cprogramming.com have a functions list? I'm pretty sure it is in there man.
+++
++
+ Sekti
++
+++
>doesn't cprogramming.com have a functions list?
Yes, but it's far from complete. For a more thorough list of C functions take a look at www.rt.com/man. But beware, not all of them are standard.
-Prelude
My best code is written with the delete key.