Difference between revisions of "CPP"
From ProgrammingExamples
Daviddoria (Talk | contribs) (→Programming Examples) |
Daviddoria (Talk | contribs) (→Boost) |
||
Line 105: | Line 105: | ||
* [[CPP/Boost/Histogram|Create a histogram (accumulator)]] | * [[CPP/Boost/Histogram|Create a histogram (accumulator)]] | ||
* [[CPP/Boost/Numeric/Matrix|Matrix]] | * [[CPP/Boost/Numeric/Matrix|Matrix]] | ||
+ | * [[CPP/Boost/Numeric/MultiArray|Multi dimensional array]] | ||
* [[CPP/Boost/ProgramOptions/Simple|Simple command line argument parsing (ProgramOptions)]] | * [[CPP/Boost/ProgramOptions/Simple|Simple command line argument parsing (ProgramOptions)]] | ||
* [[CPP/Boost/ProgramOptions/MultipleArguments|Multiple command line argument parsing (ProgramOptions)]] | * [[CPP/Boost/ProgramOptions/MultipleArguments|Multiple command line argument parsing (ProgramOptions)]] |
Revision as of 14:20, 1 August 2010
Contents
C++
A statically typed, free-form, multi-paradigm, compiled, general-purpose programming language. It is regarded as a "middle-level" language, as it comprises a combination of both high-level and low-level language features. It was developed by Bjarne Stroustrup starting in 1979 at Bell Labs as an enhancement to the C programming language and originally named C with Classes. It was renamed C++ in 1983. (http://en.wikipedia.org/wiki/C++)
Programming Examples
- 2D Vector
- Alphabetize a vector of strings
- Pad a number with zeros
- Binary input and output
- Execute a linux command
- Casting
- Keyboard input
- Command line arguments
- Deep copy
- Default arguments
- Enum
- Exceptions
- Infinity
- Logging
- Namespaces
- NAN (not a number)
- Overload operator
- Parallel sort
- Random numbers
- StringStream
- Struct
- Switch
- Typedef
I/O
Strings
- Compare strings
- Concatenate
- Count characters
- Split
- Case conversion
- Find the contents of a single character tag
Classes
- Class template
- Constructor inheritance
- Initialization list
- Derived class
- Down casting
- Friend class
- Nested classes
- Pure virtual function
- Singleton
- Conversion Function
Loops
STL Data Structures
STL Algorithms
- Random shuffle
- Sort a vector
- Find the different elements in two containers (set_difference)
- Random data (std::generate)
- ForEach
Debugging
C++ TR1
C++0x
Math
C-Style Programming Techniques
Boost
- Create a histogram (accumulator)
- Matrix
- Multi dimensional array
- Simple command line argument parsing (ProgramOptions)
- Multiple command line argument parsing (ProgramOptions)
- ProgressBar
- Threads - I'm not sure if this is correct?
- Timer