hi guys.. i am new to c++ and i am having a problem running it couz it usually says:
11 C:\Dev-Cpp\conio_test1.cpp `cout' undeclared (first use this function)
this is my code and please try to help me!
#include<iostream>
#include<conio.h>
int main()
{
int a =0;
while(!kbhit())
{
printf("%a \t", a);
a++;
cout<<a;
}
getch();
return(0);
}
by the way i am using dev-c++ as my compiler