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 *\
|
www.seamlessenterprise.com
One number. One voicemail. Seize the lead. Sprint Mobile Integration.
www.seamlessenterprise.com
One Number. One Voicemail.
Make it easier for clients to reach you. Turn your desk phone and mobile phone into one with Sprint Mobile Integration.
www.seamlessenterprise.com
One number. One voicemail. Sprint Mobile Integration.
www.seamlessenterprise.com
AT&T Synaptic Compute as a Service. Boost your power on demand.
Trial: IBM Cognos Express Reporting, Analysis & Planning




print: 

Recent comments
19 hours 26 min ago
1 day 2 hours ago
1 day 5 hours ago
1 day 7 hours ago
1 day 9 hours ago
1 day 10 hours ago
1 day 19 hours ago
2 days 39 min ago
2 days 1 hour ago
2 days 3 hours ago