I started using Visual Studio 2010 (c++) to code in C.
#include <stdio.h>
#include <stdlib.h>
int main(){
printf("test");
getch();
return 0;
}
this code works, even without adding conio.h
library and the program is paused right there, however getch()
; is underlined and it says, that Error identifier getch(); is undefined.
How is that possible?