I'm trying to compile a .c file but I'm not getting it. I type the following command:
gcc main.c -o HELLO
and the following error appears:
gcc: error: main.c: No such file or directory
gcc:fatal error: no input files
compilation terminated.
I did the following in the notepad itself:
include <stdio.h>
int main()
{
printf("Hello World\n");
return(0);
}
What to do ??