Compiling Issues In C Using Windows and Linux
View Single Post
The source code is portable, not the resulting executable.
You copy your .c file to your Linux box, and use gcc to compile it.
You copy your .c file to your windows box, and use dev-c++ to compile it.