Could someone recommend a C++ compiler to write programs on a linux platform. I am just looking to write some programs in the shell not really looking to do any X-windows programming right now.

Recommended Answers

All 2 Replies

>Could someone recommend a C++ compiler to write programs on a linux platform.
GCC. It's probably already installed on your computer, too.

to compile some source just type in console:

g++ program.cpp -o program

program.cpp is your source code, and program is your compiled program, then run it with

./program

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.