i was trying to do a simple Hello world in C in Dev-C++ but it keeps on get a error.
here's is the code i used
then when i try to compile ans run these errors come upCode:#include <stdio.h> int main(void) { printf("Hello World"); getch(); }
Line File Message
C:\Dev-Cpp\Untitled1.c In function `int main()':
6 C:\Dev-Cpp\Untitled1.c `getch' undeclared (first use this function)
(Each undeclared identifier is reported only once for each function it appears in.)
C:\Dev-Cpp\Makefile.win [Build Error] [Untitled1.o] Error 1