Could Someone Post the function definition of kbhit()? My conio.h file has the prototype, but no definition.
Could Someone Post the function definition of kbhit()? My conio.h file has the prototype, but no definition.
---Rainer
Digital pimp, hard at work
Of course it doesnt. The actual content will be found in a LIB. The code isnt public domain.
"There's always another way"
-lightatdawn (lightatdawn.cprogramming.com)
Either way, I get an "implicit definition" error or something like that when I try to use it like this:
if (kbhit())
break;
I just thought it hadn't been defined
---Rainer
Digital pimp, hard at work
http://cboard.cprogramming.com/showt...ighlight=kbhit
http://cboard.cprogramming.com/showt...ighlight=kbhit
http://cboard.cprogramming.com/showt...ighlight=kbhit
See if reading any of those can help you out!
I know how to use kbhit, but I can't. I still think its my conio.h header file. I looked into it and there are all kinds of comments like
/* Don't understand this part */
or
//not finished yet
if its not too big, maybe one of you could attach your copy
---Rainer
Digital pimp, hard at work
I just formatted and havent installed .NET yet, what compiler are you using? I think on non-VC++ compilers it might be something like _kbhit or something...
That doesn't inspire much hope./* Don't understand this part */
or
//not finished yet
When all else fails, read the instructions.
If you're posting code, use code tags: [code] /* insert code here */ [/code]
Never mind now, I got a different version of Dev C++ that had a more *professional* conio.h and it worked. Thanks anyway
---Rainer
Digital pimp, hard at work