C++, created in 1981 by Bjarne Stroutstup, adds object features to C, while remaining compatible with it.
The goal of C++ goals was to be portable.
C++ is an ISO standard named C++ 98. A new version will succeed in 2009, it will be C++ 09 and its main features are defined.
Features
C++ describes classes into header files, and body of methods into source files. By declaring instances of classes you can reuses set of variables and methods without to define them again.
Memory management is unchanged.
Overloading allows to declare a method with different parameters.
Classes inherits one from other and share their methods.
Why use C++?
I think that C++ it will be replaced by C# in the near future. It remains the best tool for system programming.
Sites and tools
Cross-platform IDE based on the Qt framework. A graphical user interface designer is embedded (click on .ui files).
IDE and tool integrator with a plugin for C++. (Java)
This is the Windows version of GCC, the free compiler from the Free Software Fondation. The Linux version is available from the gnu site.
Fast C, C++ and Objective C compiler, frontend to LLVM that produces intermediate code. May be integrated into an IDE.
Another C and C++ compiler, with a useful doc on C. (Windows)
- C to C++
A complete tutorial on C++ with sources of examples.
Libraries
Boost. Open source libraries for C++.
Objective C sites
Objective C is another object oriented version of the C language, simpler than C++.
- GnuStep
Sample code
Merging and displaying lists.string s = "demo" + "trail"; int l = s.length(); for(int i = 0; i < l; i++) { char c = s[i]; printf("%c\n", c); }