im using DEV c++ compiler..im learning c++, and rite now im trying to just get accustomed to this, so i did a do while loop thingy..and this is the code:
code: |
#include<iostream>
#include<stdlib.h>
#include<conio.h>
using namespace std;
int main()
{
do
{
cout << "Press Any Key To Continue"<<endl;
}while (!kbhit());
return EXIT_SUCCESS;
}
|
but it keeps returinging an error saying
Quote:
implicit declaration of function 'int kbhit(...)'
what am i doing wrong?