Hi guys, just a quick question: What library is kbhit() in? I get a compiler error that it is not a recognized function. I have compiled with G++ on a Unix comp, and Dev C++ on a Windows compe.
Thanks again!
Hi guys, just a quick question: What library is kbhit() in? I get a compiler error that it is not a recognized function. I have compiled with G++ on a Unix comp, and Dev C++ on a Windows compe.
Thanks again!
conio.h but it is not standard so you might get portability problems if you want to port it.
That's weird, because I definitly included conio.h, and I got an error regarding implicit declaration....any thoughts?
Thanks
Read his post. It isnt standard so conio's functions are pretty vague. You might or you might not have them.
Dev-C++ doesnt have it even though it has conio. Though you should be including conio.c in Dev...
in MSVC its _kbhit() not kbhit() in codewarrior its __kbhit()!
and in all it is in conio.h.
im not sure in devC read the header and see if its there!
ADVISORY: This users posts are rated CP-MA, for Mature Audiences only.
Hey I skimmed through conio.h in Dev C++.
I found something named _conio_kbhit(). That might be the thing...
Anyways why does DevC have so many conios?`
conio.c
conio.h
conio_mingw.h
howdy,
conio.h and kbhit() are not defined in gcc, as near as i can tell there exists a similar comand in curses,h or ncurses.h. but i have never used it nor do i know the specifics.
M.R.
I don't like you very much. Please post a lot less.
Cheez
*and then*
No, I know you were joking. My point still stands.