I have conio.c included in my file, but i get implicit declaration of int kbhit(...);
Can someone send me the Kbhit() function? Thanks.
Oh, i also tried it with conio.h and still got the same thing.
I have conio.c included in my file, but i get implicit declaration of int kbhit(...);
Can someone send me the Kbhit() function? Thanks.
Oh, i also tried it with conio.h and still got the same thing.
This war, like the next war, is a war to end war.
Does your compiler support kbhit? If not you'll need to either fake it by using something your compiler does support, or eschew the functionality.
My best code is written with the delete key.
It supports it, as i have done it before the hardrive crashed. Then i get the newer version of the lib to find that KBHIT() isn't even defined.
This war, like the next war, is a war to end war.
Okay, you've used kbhit, Kbhit, and KBHIT all on the same thread. Are you aware that the function is called kbhit and C++ is case sensitive? Most likely it's something you're doing wrong, compiler vendors don't remove useful functions without mentioning it.
My best code is written with the delete key.
im using kbhit() in the code.
How do i know that its not defined?
Because i opened up the conio.c and conio.h files
This war, like the next war, is a war to end war.
What compiler do you use?
My best code is written with the delete key.
Dev C++ with MinGW GCC
This war, like the next war, is a war to end war.
>Dev C++ with MinGW GCC
Works fine for me, what version?
My best code is written with the delete key.
why does that matter?
I just what the code for the kbhit() fucntion!
Anyway, the version is:
2.0.0
This war, like the next war, is a war to end war.
You can't do that. The code in the header files is only declarations, no definitions of functions.
Try including <mingw_conio.h>
>2.0.0
...Bloodshed is up to version 5. I tested kbhit on 4.9.8.0 and it works just peachy. Maybe you should consider upgrading to a more recent version of this free, downloadable software.
My best code is written with the delete key.
NO NO NO!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
I know Bloodsheds Dev C++ is free, and i use 4.9
The version of MinGW is 2.0.0
Ill try the Mingw_conio.h
This war, like the next war, is a war to end war.
Whoa there killer, simma down. He's just trying to help. I think you'll find that not too many people will be willing to help you if you've got that kind of an attitude.
Brendan
Draco dormiens nunquam titallandus.
Console Graphics Library: http://www.geocities.com/steve_alberto/cgl.html
Prelude is female. Common misconception.Whoa there killer, simma down. He's just trying to help. I think you'll find that not too many people will be willing to help you if you've got that kind of an attitude.
Naturally I didn't feel inspired enough to read all the links for you, since I already slaved away for long hours under a blistering sun pressing the search button after typing four whole words! - Quzah
You. Fetch me my copy of the Wall Street Journal. You two, fight to the death - Stewie
-Shifty eyes- Eep. Sorry bout that Prelude lol.
Brendan
Draco dormiens nunquam titallandus.
Console Graphics Library: http://www.geocities.com/steve_alberto/cgl.html