C++
From FUKTwiki
C++ is a programming language.
It is:
- Compiled, which means programs written in C++ can be made to run very fast.
- Mostly compatible with C, its predecessor.
- Statically typed; variables have a type and can only hold values of that type, or of a subclass.
- Very popular.
- Still actively improved by a standard committee.
- Object-oriented.
- Platform-independent as long as you stick to the standard library.
[edit] Example Code
#include <iostream> // std::wcout #include <wostream> // << #include <locale> // std::locale #include <cstdlib> // EXIT_SUCCESS, EXIT_FAILURE using std::wcout; using std::locale; int main(int argc, char** argv){ locale::global(locale("")); wcout << L"Hello world!\n"; if(wcout){ return EXIT_SUCCESS; } else { return EXIT_FAILURE; } }
There is an article about this subject on Wikipedia, the free online encyclopedia.
There is a book about this subject in Wikibooks, the open-content textbooks collection.
[edit] Useful Links
- Correct C++ tutorial
- The C++ Programming Language: A Tour of the Standard Library
- Standard C++ library reference
- C++ FAQ LITE — Frequently Asked Questions
- iostream library reference
- GNU C++ Library manual
- STL Quick Reference
- GNU Debugger (GDB) Reference Card
- How to Think Like a Computer Scientist
- C++ Tutorial