how to run c++ programs in linux?
Tuesday, May 11th, 2010 at
19:38
can u tell me how to run c++ files in linux and cn anybody tell me get graphics.rpm
Tagged with: c files • Linux • rpm
Filed under: rpm
Like this post? Subscribe to my RSS feed and get loads more!
The last time I tried to compile and run C++ programs on Linux, I ended up installing Windows XP over it instead.
I had a lot of problems running my C++ programs under Linux. Most of the code I wrote were specific to the Windows environment.
If you insist. There are a few known methods.
1. Install an IDE called Eclipse. Then install the C/C++ Development Tool (CDT) which allows you to compile and run C/C++ programs.
2. Some Linux distributions come with a C/C++ compiler. The latest Ubuntu comes with GNU GCC/G++ I believe.
3. Install Windows XP using VMware Server or similar and simply install a C++ compiler in the virtual machine. This is not really recommended but it works for some people.
4. Try any other C/C++ compilers for Linux such as Code::Blocks and Geany.