-
I quit...
This code doesn't work:
Code:
#include <iostream.h>
#include <conio.h>
void main(){
cout<<"Press any key."<<endl;
getch();
}
It gives me one error: implicit declaration of function `int getchar(...)'
I'm in a point of blaming my header files or my compiler. I'm using Dev-C++4.
I also tried getchar();, a=getch(); with a as an integer. I don't know what to do more.
I've tried also other examples posted in the forum and I saw other guy having the same problem as me. http://161.58.186.97/showthread.php?...ighlight=getch
No one replied though.
-
It works perfectly in VC++. Try this though:
don't know if that will work but its worth a shot. I haven't gotten getch to work in some other compilers either. Thats why I use VC++.
Good Luck :)
-
Doesn't work with me. It was a luck for to get VB 6 in a perfectly legal way, I didn't say it was illegal, I said it was legal, yes, legal.*ahem*
-
where did you "legally" get VB6 from? And would it be possible for you to tell me the Product ID so i can download VSI??? If so, you can email it to me [email protected]
-
Ask Dennis if you want VSI, he'll sort it out for you :)