everyone
Here's my problem; So, I'm new to Ubuntu and programming and I just wanted to start with C. I created the classic "hello.c" file
#include <stdio.h>
main ()
{
printf("Hello World!");
}
Then I typed within the terminal:
cd /Desktop
Because the file is located in Desktop
And then I typed
gcc hello.c -o hello
But here come the troubles, it suddenly appeared a problem that says:
gcc: error: hello.c: No such file or directory
gcc: fatal error: no input files
compilation terminated.
So, how can I fix that?