Hi techme!
use this to run and write any C program in Fedora!
Use any text editior and write your program without inlcude files and then save it with .C extension. Now go to terminal and the type this command
Code:
gcc fille_name.c -o <output_file_name.out>
This will create the output file and to run the program use
Code:
./<output_file_name.out>
Remember, while using commands in terminal, use in correct directory.
Hi techme!
use this to run and write any C program in Fedora!
Use any text editior and write your program without inlcude files and then save it with .C extension. Now go to terminal and the type this command
Code:
gcc fille_name.c -o <output_file_name.out>
This will create the output file and to run the program use
Code:
./<output_file_name.out>
Remember, while using commands in terminal, use in correct directory.