compiling how to compile a
How to compile a C/C++ program. You can compile a C program (written using a text editor such as vi) by using the gcc command. For example, if the name of your program file is assignment1.c, to compile it you may type in the following: johndoe on ce.uml.edu>gcc assignment1.c. OR.