I wrote a simple c program. saved it with "c" suffix. Went to the terminal (in Linux Mint), typed in
gcc -o outputfile inputfile.c
In the directory containing inputfile.c a file called outputfile appeared, as I expected. I want to run the program, but clicking on the file does nothing.
What am I doing wrong?