Below code works in DevC++ with MinGW works flawlessly but Visual Studio 2008 spits this:
error C3861: 'getch': identifier not found .
What can I do to accept getch() if this is not possible is there an alternative to getch() that I can use to pause the screen?
Code:
#include <stdio.h>
#include <conio.h>
int main(void){
char str[] = "This is the end";
printf("%s\n", str);
getch(); //I tried getchar() also still does not work
return 0;
}