I downloaded a few files that end in .c
I'm assuming they are C scripts? How would I run these? what command would I need to give?
thanks
Printable View
I downloaded a few files that end in .c
I'm assuming they are C scripts? How would I run these? what command would I need to give?
thanks
or,Code:gcc -o binaryfile sourcecode.c
then the binary file will be named a.aoutCode:gcc sourcecodefile.c
To run the files, either specify the full path to the file, f.x. /home/user/a.out or ./a.out
If you need somewhat more advanced method's, check with man gcc.