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
Red Hat Virtual Experience - a free virtual event. Dec. 9th





print: 
Recent comments
5 hours 3 min ago
10 hours 51 min ago
12 hours 42 min ago
14 hours 27 min ago
18 hours 17 min ago
1 day 2 min ago
1 day 13 min ago
1 day 4 hours ago
1 day 10 hours ago
1 day 15 hours ago