Learning C/C++ Step-By-Step - Page 02
02. Step-by-Step C/C++ --- IDE and Compilers for C/C++C / C++ is a compiler based programming languages. In order to run a program you need a compiler software (i.e., GNU GCC, Tiny C, MS Visual C++, Cygwin C, Borland, Intel C etc..). Also you need an IDE to create/edit programs (eg: Dev-C++, Code::Blocks, Eclipse, TurboC, etc..) I am giving you a couple of examples of my favorite compiler and IDEs, You may choose the best from the vast list.
1. Installing GNU GCC Compiler
1. Installing GNU GCC Compiler1.1. For Linux
1.2. For Mac OS XXcode has GCC C++ compiler bundled.
1.3. For Windows (MinGW + DevCpp-IDE)
You will find something mostly similar to MSVC, including menu and button placement. Of course, many things are somewhat different if you were familiar with the former, but it's as simple as a handfull of clicks to let your first program run.
1.4. How to Create, Compile and Execute ProgramsIf you are using Linux, create/edit a program: vi hello.cpp Compilation: g++ -Wall -g -o hello.out hello.cpp Running a program: ./hello.out
1.5. Example Programs:C Example Program:
C++ Example Program:\* 0001_hello.cpp *\
|
Join the discussion.
www.seamlessenterprise.com
IP Convergence
Integrate your wireless and wireline networks.
Learn how from the experts at Sprint.
www.seamlessenterprise.com
Wireless & Wireline Integration
Thoughts, strategies and solutions: join the discussion
www.seamlessenterprise.com
Unified Communications 2009
Join the Discussion. Now.
www.seamlessenterprise.com





print: 
Recent comments
21 hours 11 min ago
22 hours 39 min ago
1 day 2 hours ago
1 day 5 hours ago
1 day 8 hours ago
1 day 8 hours ago
1 day 9 hours ago
1 day 9 hours ago
1 day 11 hours ago
1 day 11 hours ago