myLTXC
Monday, May 1, 2017
How To Compile a C++ Source Code in CentOS
Linux (CentOS)
g++ <source code>
g++ foo.c where foo.c is the source code, output will be a.out
g++ -o <output> <source code>
g++ -o foo foo.c where foo is executable, and foo.c is the source code
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment