How to run .cc extension file in linux? -


i have main.cc file , run file in linux. may know correct way of executing file ?

gcc -o x main.cc

? or feedback appreciated.

in case gcc main.cc -o main.ou main.cc main-file , main.ou output file.

you can read more executing c/c++ files here: http://www.cyberciti.biz/faq/compiling-c-program-and-creating-executable-file/


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -