Hi everyone!
So can someone explain me how to compile a file with gcc?
I'm using kubuntu, and I've written my source code in Kate(the text editor), and I saved it in documents like file1, and now how to compile it from the terminal?
I've tried with the command:
gcc -o file1 file1.c
but it says:
gcc: file1.c: no such file or directory
gcc: no imput files.
What's the problem?
I'm very new in Linux.