If you are using linux then you should be thinking that how do I complie my c++ programs.
Then Here is the answer to your question. Linux have a inbuilt compiler for c.
But if you need to compile c++ then you need g++ compiler.
To compile c++ program.
- Go to its directory in a terminal window
- Then type g++ <file> -o test
- It will run and execute your new c++ program.
No comments:
Post a Comment