Compile and Run C Programs in Linux using GCC Compiler
Compile your C program Open up terminal and enter the following command The included libraries must be linked in when building the executable. How to do this varies by environment, but in Linux/Unix, just add -lm to the command. Run the compiled program Please note the dot followed by forward slash before the output file... continue reading.
Read More