I am using Cygwin for my compiler while coding in Codeblocks IDE. Here is what I did in Cygwin 64:
$ gcc -std=c99
gcc: fatal error: no input files
compilation terminated.
However, it's not working. What is the proper way to do this?
To compile a c program in its simplest form to a certain standard, you can use the following command:
gcc -std=c99 -W -Wall main.c -o main