Difference between revisions of "CPP"

From ProgrammingExamples
Jump to: navigation, search
(Pull the C++ examples to this page)
(Migrated C-style code to its own section to distinguish them from constructs which generally replace those techniques in C++)
Line 5: Line 5:
 
* [[CPP/AlphebetizeString|Alphabetize a vector of strings]]
 
* [[CPP/AlphebetizeString|Alphabetize a vector of strings]]
 
* [[CPP/ZeroPad|Pad a number with zeros]]
 
* [[CPP/ZeroPad|Pad a number with zeros]]
* [[CPP/Array|Array]]
 
* [[CPP/2DArray|2D Array]]
 
 
* [[CPP/BinaryIO|Binary input and output]]
 
* [[CPP/BinaryIO|Binary input and output]]
 
* [[CPP/ExecuteLinuxCommand|Execute a linux command]]
 
* [[CPP/ExecuteLinuxCommand|Execute a linux command]]
 
* [[CPP/Casting|Casting]]
 
* [[CPP/Casting|Casting]]
* [[CPP/CharacterArray|Character array]]
 
 
* [[CPP/KeyboardInput|Keyboard input]]
 
* [[CPP/KeyboardInput|Keyboard input]]
 
* [[CPP/CommandLineArguments|Command line arguments]]
 
* [[CPP/CommandLineArguments|Command line arguments]]
Line 17: Line 14:
 
* [[CPP/Enum|Enum]]
 
* [[CPP/Enum|Enum]]
 
* [[CPP/Exceptions|Exceptions]]
 
* [[CPP/Exceptions|Exceptions]]
* [[CPP/FunctionPointer|Function pointer]]
 
 
* [[CPP/Infinity|Infinity]]
 
* [[CPP/Infinity|Infinity]]
 
* [[CPP/Logging|Logging]]
 
* [[CPP/Logging|Logging]]
* [[CPP/Macros|Macros]]
 
 
* [[CPP/Namespaces|Namespaces]]
 
* [[CPP/Namespaces|Namespaces]]
 
* [[CPP/NAN|NAN (not a number)]]
 
* [[CPP/NAN|NAN (not a number)]]
Line 30: Line 25:
 
* [[CPP/Switch|Switch]]
 
* [[CPP/Switch|Switch]]
 
* [[CPP/Typedef|Typedef]]
 
* [[CPP/Typedef|Typedef]]
* [[CPP/VariableNumberOfArguments|Variable number of function arguments]]
 
  
 
=== I/O ===
 
=== I/O ===
Line 93: Line 87:
 
*[[CPP/Math/MinMax|Min and Max]]
 
*[[CPP/Math/MinMax|Min and Max]]
 
*[[CPP/Math/Trig|Trig functions]]
 
*[[CPP/Math/Trig|Trig functions]]
 +
 +
=== C-Style Programming Techniques ===
 +
* [[CPP/Array|Array]]
 +
* [[CPP/2DArray|2D Array]]
 +
* [[CPP/CharacterArray|Character array]]
 +
* [[CPP/Macros|Macros]]
 +
* [[CPP/FunctionPointer|Function pointer]]
 +
* [[CPP/VariableNumberOfArguments|Variable number of function arguments]]

Revision as of 05:37, 27 June 2010

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

I/O

Strings

Classes

Loops

STL Data Structures

STL Algorithms

Debugging

C++ TR1

C++0x

Math

C-Style Programming Techniques