<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://programmingexamples.net/w/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://programmingexamples.net/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Bench</id>
		<title>ProgrammingExamples - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="http://programmingexamples.net/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Bench"/>
		<link rel="alternate" type="text/html" href="http://programmingexamples.net/wiki/Special:Contributions/Bench"/>
		<updated>2026-06-15T11:33:51Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.23.5</generator>

	<entry>
		<id>http://programmingexamples.net/wiki/Talk:CPP</id>
		<title>Talk:CPP</title>
		<link rel="alternate" type="text/html" href="http://programmingexamples.net/wiki/Talk:CPP"/>
				<updated>2010-07-01T21:49:34Z</updated>
		
		<summary type="html">&lt;p&gt;Bench: Created page with ' == The purpose of articles ==  I have a few thoughts about the direction of some articles on this page  Lets aim to keep all articles on the point of &amp;quot;how do i solve a real-worl…'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== The purpose of articles ==&lt;br /&gt;
&lt;br /&gt;
I have a few thoughts about the direction of some articles on this page&lt;br /&gt;
&lt;br /&gt;
Lets aim to keep all articles on the point of &amp;quot;how do i solve a real-world problem&amp;quot; rather than &amp;quot;how do i use feature X of the language&amp;quot;.    This is for a variety of reasons:&lt;br /&gt;
&lt;br /&gt;
* C++ reference sites which describe language syntax are everywhere. This site is never going to rival MSDN no matter how hard we try, so lets not bother trying :-)&lt;br /&gt;
* Examples describing language syntax or library generally need a wordy explanation to be useful/meaningful&lt;br /&gt;
* the questions which are frequently asked on forums are rarely of the form &amp;quot;how do i use &amp;lt;some language feature&amp;gt;&amp;quot; (OK, that's actually not true, but such questions rightly get answered with &amp;quot;RTFM&amp;quot; or &amp;quot;STFW&amp;quot;).&lt;br /&gt;
* Ensuring each example serves a clear, distinctive purpose - So, &amp;quot;Tabular text output&amp;quot; would be a better context than &amp;quot;&amp;lt;iomanip&amp;gt; example usage&amp;quot;.&lt;br /&gt;
* Addressing a familiar concrete problem is often better to help novices ''connect the dots'' as they build up their repertoire of problem solving techniques.&lt;br /&gt;
* Articles which talk about a single language feature are often contrived using &amp;quot;weird&amp;quot; techniques to solve problems in a way which makes no sense;  such articles do more harm than good, since readers will always expect to see the ''right'' way to solve a problem. There are already too many pages on the internet which encourage bad habits, so lets avoid that trap.&lt;/div&gt;</summary>
		<author><name>Bench</name></author>	</entry>

	<entry>
		<id>http://programmingexamples.net/wiki/CPP</id>
		<title>CPP</title>
		<link rel="alternate" type="text/html" href="http://programmingexamples.net/wiki/CPP"/>
				<updated>2010-06-27T09:37:29Z</updated>
		
		<summary type="html">&lt;p&gt;Bench: Migrated C-style code to its own section to distinguish them from constructs which generally replace those techniques in C++&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= C++ =&lt;br /&gt;
A statically typed, free-form, multi-paradigm, compiled, general-purpose programming language. It is regarded as a &amp;quot;middle-level&amp;quot; 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++)&lt;br /&gt;
----&lt;br /&gt;
=== Programming Examples ===&lt;br /&gt;
* [[CPP/AlphebetizeString|Alphabetize a vector of strings]]&lt;br /&gt;
* [[CPP/ZeroPad|Pad a number with zeros]]&lt;br /&gt;
* [[CPP/BinaryIO|Binary input and output]]&lt;br /&gt;
* [[CPP/ExecuteLinuxCommand|Execute a linux command]]&lt;br /&gt;
* [[CPP/Casting|Casting]]&lt;br /&gt;
* [[CPP/KeyboardInput|Keyboard input]]&lt;br /&gt;
* [[CPP/CommandLineArguments|Command line arguments]]&lt;br /&gt;
* [[CPP/DeepCopy|Deep copy]]&lt;br /&gt;
* [[CPP/DefaultArguments|Default arguments]]&lt;br /&gt;
* [[CPP/Enum|Enum]]&lt;br /&gt;
* [[CPP/Exceptions|Exceptions]]&lt;br /&gt;
* [[CPP/Infinity|Infinity]]&lt;br /&gt;
* [[CPP/Logging|Logging]]&lt;br /&gt;
* [[CPP/Namespaces|Namespaces]]&lt;br /&gt;
* [[CPP/NAN|NAN (not a number)]]&lt;br /&gt;
* [[CPP/OverloadOperator|Overload operator]]&lt;br /&gt;
* [[CPP/ParallelSort|Parallel sort]]&lt;br /&gt;
* [[CPP/RandomNumbers|Random numbers]]&lt;br /&gt;
* [[CPP/StringStream|StringStream]]&lt;br /&gt;
* [[CPP/Struct|Struct]]&lt;br /&gt;
* [[CPP/Switch|Switch]]&lt;br /&gt;
* [[CPP/Typedef|Typedef]]&lt;br /&gt;
&lt;br /&gt;
=== I/O ===&lt;br /&gt;
* [[CPP/IO/Setw|Column width (setw)]]&lt;br /&gt;
* [[CPP/IO/FileInput|File input]]&lt;br /&gt;
* [[CPP/IO/FileOutput|File output]]&lt;br /&gt;
* [[CPP/IO/ReadingLines|Reading lines from a text file]]&lt;br /&gt;
&lt;br /&gt;
=== Strings ===&lt;br /&gt;
* [[CPP/Strings/Compare|Compare strings]]&lt;br /&gt;
* [[CPP/Strings/Concatenate|Concatenate]]&lt;br /&gt;
* [[CPP/Strings/CountCharacters|Count characters]]&lt;br /&gt;
* [[CPP/Strings/Split|Split]]&lt;br /&gt;
* [[CPP/Strings/Case_Conversion|Case conversion]]&lt;br /&gt;
&lt;br /&gt;
=== Classes ===&lt;br /&gt;
* [[CPP/Classes/ClassTemplate|Class template]]&lt;br /&gt;
* [[CPP/Classes/ConstructorInheritance|Constructor inheritance]]&lt;br /&gt;
* [[CPP/Classes/InitializationList|Initialization list]]&lt;br /&gt;
* [[CPP/Classes/DerivedClass|Derived class]]&lt;br /&gt;
* [[CPP/Classes/DownCasting|Down casting]]&lt;br /&gt;
* [[CPP/Classes/FriendClass|Friend class]]&lt;br /&gt;
* [[CPP/Classes/NestedClasses|Nested classes]]&lt;br /&gt;
* [[CPP/Classes/PureVirtualFunction|Pure virtual function]]&lt;br /&gt;
* [[CPP/Classes/Singleton|Singleton]]&lt;br /&gt;
&lt;br /&gt;
=== Loops ===&lt;br /&gt;
* [[CPP/Loops/DoWhile|Do while]]&lt;br /&gt;
* [[CPP/Loops/While|While]]&lt;br /&gt;
* [[CPP/Loops/For|For]]&lt;br /&gt;
&lt;br /&gt;
=== STL Data Structures ===&lt;br /&gt;
*[[CPP/STL/String|String]]&lt;br /&gt;
*[[CPP/STL/Vector|Vector]]&lt;br /&gt;
*[[CPP/STL/List|List]]&lt;br /&gt;
*[[CPP/STL/Set|Set]]&lt;br /&gt;
*[[CPP/STL/MultiSet|MultiSet]]&lt;br /&gt;
*[[CPP/STL/Map|Map]]&lt;br /&gt;
*[[CPP/STL/MultiMap|MultiMap]]&lt;br /&gt;
*[[CPP/STL/Pair|Pair]]&lt;br /&gt;
*[[CPP/STL/PriorityQueue|Priority queue]]&lt;br /&gt;
*[[CPP/STL/Queue|Queue]]&lt;br /&gt;
*[[CPP/STL/Tuple|Tuple]]&lt;br /&gt;
&lt;br /&gt;
=== STL Algorithms ===&lt;br /&gt;
*[[CPP/STL/RandomShuffle|Random shuffle]]&lt;br /&gt;
*[[CPP/STL/Sort|Sort]]&lt;br /&gt;
&lt;br /&gt;
=== Debugging ===&lt;br /&gt;
* [[CPP/Debugging/Assert|Assert]]&lt;br /&gt;
* [[CPP/Debugging/LineNumbers|LineNumbers]]&lt;br /&gt;
&lt;br /&gt;
=== C++ TR1 ===&lt;br /&gt;
&lt;br /&gt;
*[[CPP/TR1/Regex_Tokenising|Tokenising with RegEx]]&lt;br /&gt;
&lt;br /&gt;
=== C++0x ===&lt;br /&gt;
*[[CPP/C++0x/Hash|Hash]]&lt;br /&gt;
&lt;br /&gt;
=== Math ===&lt;br /&gt;
*[[CPP/Math/Exponential|Exponential function]]&lt;br /&gt;
*[[CPP/Math/MinMax|Min and Max]]&lt;br /&gt;
*[[CPP/Math/Trig|Trig functions]]&lt;br /&gt;
&lt;br /&gt;
=== C-Style Programming Techniques ===&lt;br /&gt;
* [[CPP/Array|Array]]&lt;br /&gt;
* [[CPP/2DArray|2D Array]]&lt;br /&gt;
* [[CPP/CharacterArray|Character array]]&lt;br /&gt;
* [[CPP/Macros|Macros]]&lt;br /&gt;
* [[CPP/FunctionPointer|Function pointer]]&lt;br /&gt;
* [[CPP/VariableNumberOfArguments|Variable number of function arguments]]&lt;/div&gt;</summary>
		<author><name>Bench</name></author>	</entry>

	<entry>
		<id>http://programmingexamples.net/wiki/CPP/TR1/Regex_Tokenising</id>
		<title>CPP/TR1/Regex Tokenising</title>
		<link rel="alternate" type="text/html" href="http://programmingexamples.net/wiki/CPP/TR1/Regex_Tokenising"/>
				<updated>2010-06-26T15:47:56Z</updated>
		
		<summary type="html">&lt;p&gt;Bench: Vertical spacing/alignment&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;source lang=&amp;quot;cpp&amp;quot;&amp;gt;#include &amp;lt;string&amp;gt;&lt;br /&gt;
#include &amp;lt;algorithm&amp;gt;    // copy&lt;br /&gt;
#include &amp;lt;iterator&amp;gt;     // back_inserter, ostream_iterator&lt;br /&gt;
#include &amp;lt;iostream&amp;gt;&lt;br /&gt;
#include &amp;lt;regex&amp;gt;        // regex, sregex_token_iterator&lt;br /&gt;
#include &amp;lt;vector&amp;gt;&lt;br /&gt;
&lt;br /&gt;
int main()&lt;br /&gt;
{&lt;br /&gt;
    //flag to switch off submatching&lt;br /&gt;
    static const int submatch_off = -1;&lt;br /&gt;
&lt;br /&gt;
    std::string str = &amp;quot;the\t    quick  brown\n-\n- fox jumped..over,the,lazy,.dog&amp;quot;;&lt;br /&gt;
    std::vector&amp;lt;std::string&amp;gt; tokens;&lt;br /&gt;
    std::tr1::regex re(&amp;quot;[\\s-,.]+&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
    //start/end points of tokens in str&lt;br /&gt;
    std::tr1::sregex_token_iterator&lt;br /&gt;
        begin(str.begin(), str.end(), re, submatch_off),&lt;br /&gt;
        end;&lt;br /&gt;
&lt;br /&gt;
    std::copy(begin, end, std::back_inserter(tokens));&lt;br /&gt;
&lt;br /&gt;
    std::copy(tokens.begin(), tokens.end(),&lt;br /&gt;
              std::ostream_iterator&amp;lt;std::string&amp;gt;(std::cout, &amp;quot;\n&amp;quot;));&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Bench</name></author>	</entry>

	<entry>
		<id>http://programmingexamples.net/wiki/CPP/TR1/Regex_Tokenising</id>
		<title>CPP/TR1/Regex Tokenising</title>
		<link rel="alternate" type="text/html" href="http://programmingexamples.net/wiki/CPP/TR1/Regex_Tokenising"/>
				<updated>2010-06-26T15:47:03Z</updated>
		
		<summary type="html">&lt;p&gt;Bench: Show tokenising on punctuation as well as whitespace&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;source lang=&amp;quot;cpp&amp;quot;&amp;gt;#include &amp;lt;string&amp;gt;&lt;br /&gt;
#include &amp;lt;algorithm&amp;gt;    // copy&lt;br /&gt;
#include &amp;lt;iterator&amp;gt;     // back_inserter, ostream_iterator&lt;br /&gt;
#include &amp;lt;iostream&amp;gt;&lt;br /&gt;
#include &amp;lt;regex&amp;gt;        // regex, sregex_token_iterator&lt;br /&gt;
#include &amp;lt;vector&amp;gt;&lt;br /&gt;
&lt;br /&gt;
int main()&lt;br /&gt;
{&lt;br /&gt;
    //flag to switch off submatching&lt;br /&gt;
    static const int submatch_off = -1;&lt;br /&gt;
&lt;br /&gt;
    std::string str = &amp;quot;the\t    quick  brown\n-\n- fox jumped..over,the,lazy,.dog&amp;quot;;&lt;br /&gt;
    std::vector&amp;lt;std::string&amp;gt; tokens;&lt;br /&gt;
    std::tr1::regex re(&amp;quot;[\\s-,.]+&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
    //start/end points of tokens in str&lt;br /&gt;
    std::tr1::sregex_token_iterator&lt;br /&gt;
        begin(str.begin(), str.end(), re, submatch_off),&lt;br /&gt;
        end;&lt;br /&gt;
&lt;br /&gt;
    std::copy(begin, end, std::back_inserter(tokens));&lt;br /&gt;
&lt;br /&gt;
    std::copy(tokens.begin(), tokens.end(),&lt;br /&gt;
        std::ostream_iterator&amp;lt;std::string&amp;gt;(std::cout, &amp;quot;\n&amp;quot;));&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Bench</name></author>	</entry>

	<entry>
		<id>http://programmingexamples.net/wiki/CPP/TR1/Regex_Tokenising</id>
		<title>CPP/TR1/Regex Tokenising</title>
		<link rel="alternate" type="text/html" href="http://programmingexamples.net/wiki/CPP/TR1/Regex_Tokenising"/>
				<updated>2010-06-26T15:41:50Z</updated>
		
		<summary type="html">&lt;p&gt;Bench: Boost/TR1 Regular Expressions - Tokenising on multiple consecutive delimiters&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;source lang=&amp;quot;cpp&amp;quot;&amp;gt;&lt;br /&gt;
#include &amp;lt;string&amp;gt;&lt;br /&gt;
#include &amp;lt;algorithm&amp;gt;    // copy&lt;br /&gt;
#include &amp;lt;iterator&amp;gt;     // back_inserter, ostream_iterator&lt;br /&gt;
#include &amp;lt;iostream&amp;gt;&lt;br /&gt;
#include &amp;lt;regex&amp;gt;        // regex, sregex_token_iterator&lt;br /&gt;
#include &amp;lt;vector&amp;gt;&lt;br /&gt;
&lt;br /&gt;
int main()&lt;br /&gt;
{&lt;br /&gt;
    //flag to switch off submatching&lt;br /&gt;
    static const int submatch_off = -1;&lt;br /&gt;
&lt;br /&gt;
    std::string str = &amp;quot;the\t    quick  brown\n\n fox jumped over the lazy dog&amp;quot;;&lt;br /&gt;
    std::vector&amp;lt;std::string&amp;gt; tokens;&lt;br /&gt;
    std::tr1::regex re(&amp;quot;[\\s]+&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
    //start/end points of tokens in str&lt;br /&gt;
    std::tr1::sregex_token_iterator&lt;br /&gt;
        begin(str.begin(), str.end(), re, submatch_off),&lt;br /&gt;
        end;&lt;br /&gt;
&lt;br /&gt;
    std::copy(begin, end, std::back_inserter(tokens));&lt;br /&gt;
&lt;br /&gt;
    std::copy(tokens.begin(), tokens.end(),&lt;br /&gt;
        std::ostream_iterator&amp;lt;std::string&amp;gt;(std::cout, &amp;quot;\n&amp;quot;));&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Bench</name></author>	</entry>

	<entry>
		<id>http://programmingexamples.net/wiki/Main_Page</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="http://programmingexamples.net/wiki/Main_Page"/>
				<updated>2010-06-26T15:39:17Z</updated>
		
		<summary type="html">&lt;p&gt;Bench: /* C++ */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Welcome to ProgrammingExamples.net!==&lt;br /&gt;
This site is intended to provide short, compilable code snippets demonstrating frequently used concepts in several programming languages. Please feel free to modify the existing examples, and add new examples!&lt;br /&gt;
&lt;br /&gt;
==&amp;quot;Do&amp;quot;s and &amp;quot;Don't&amp;quot;s==&lt;br /&gt;
&lt;br /&gt;
=== &amp;quot;Do&amp;quot;s ===&lt;br /&gt;
* Try to keep each example as short as possible.&lt;br /&gt;
* Try to demonstrate a single concept per example.&lt;br /&gt;
* Comment, comment, comment!&lt;br /&gt;
&lt;br /&gt;
=== &amp;quot;Don't&amp;quot;s ===&lt;br /&gt;
* Do not treat the wiki as your own personal code dump. Things that are placed here should be useful for many people.&lt;br /&gt;
&lt;br /&gt;
== Coding Standards ==&lt;br /&gt;
We don't want to get too carried away here, but below are some guidelines.&lt;br /&gt;
&lt;br /&gt;
* Try to use a sensible indentation scheme.&lt;br /&gt;
* Use descriptive variable names.&lt;br /&gt;
* Comment, comment, comment!&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== C++ ==&lt;br /&gt;
* [[CPP/AlphebetizeString|Alphabetize a vector of strings]]&lt;br /&gt;
* [[CPP/ZeroPad|Pad a number with zeros]]&lt;br /&gt;
* [[CPP/Array|Array]]&lt;br /&gt;
* [[CPP/2DArray|2D Array]]&lt;br /&gt;
* [[CPP/BinaryIO|Binary input and output]]&lt;br /&gt;
* [[CPP/ExecuteLinuxCommand|Execute a linux command]]&lt;br /&gt;
* [[CPP/Casting|Casting]]&lt;br /&gt;
* [[CPP/CharacterArray|Character array]]&lt;br /&gt;
* [[CPP/KeyboardInput|Keyboard input]]&lt;br /&gt;
* [[CPP/CommandLineArguments|Command line arguments]]&lt;br /&gt;
* [[CPP/DeepCopy|Deep copy]]&lt;br /&gt;
* [[CPP/DefaultArguments|Default arguments]]&lt;br /&gt;
* [[CPP/Enum|Enum]]&lt;br /&gt;
* [[CPP/Exceptions|Exceptions]]&lt;br /&gt;
* [[CPP/FunctionPointer|Function pointer]]&lt;br /&gt;
* [[CPP/Infinity|Infinity]]&lt;br /&gt;
* [[CPP/Logging|Logging]]&lt;br /&gt;
* [[CPP/Macros|Macros]]&lt;br /&gt;
* [[CPP/Namespaces|Namespaces]]&lt;br /&gt;
* [[CPP/NAN|NAN (not a number)]]&lt;br /&gt;
* [[CPP/OverloadOperator|Overload operator]]&lt;br /&gt;
* [[CPP/ParallelSort|Parallel sort]]&lt;br /&gt;
* [[CPP/RandomNumbers|Random numbers]]&lt;br /&gt;
* [[CPP/StringStream|StringStream]]&lt;br /&gt;
* [[CPP/Struct|Struct]]&lt;br /&gt;
* [[CPP/Switch|Switch]]&lt;br /&gt;
* [[CPP/Typedef|Typedef]]&lt;br /&gt;
* [[CPP/VariableNumberOfArguments|Variable number of function arguments]]&lt;br /&gt;
&lt;br /&gt;
=== I/O ===&lt;br /&gt;
* [[CPP/IO/Setw|Column width (setw)]]&lt;br /&gt;
* [[CPP/IO/FileInput|File input]]&lt;br /&gt;
* [[CPP/IO/FileOutput|File output]]&lt;br /&gt;
* [[CPP/IO/ReadingLines|Reading lines from a text file]]&lt;br /&gt;
&lt;br /&gt;
=== Strings ===&lt;br /&gt;
* [[CPP/Strings/Compare|Compare strings]]&lt;br /&gt;
* [[CPP/Strings/Concatenate|Concatenate]]&lt;br /&gt;
* [[CPP/Strings/CountCharacters|Count characters]]&lt;br /&gt;
* [[CPP/Strings/Split|Split]]&lt;br /&gt;
* [[CPP/Strings/Case_Conversion|Case conversion]]&lt;br /&gt;
&lt;br /&gt;
=== Classes ===&lt;br /&gt;
* [[CPP/Classes/ClassTemplate|Class template]]&lt;br /&gt;
* [[CPP/Classes/ConstructorInheritance|Constructor inheritance]]&lt;br /&gt;
* [[CPP/Classes/InitializationList|Initialization list]]&lt;br /&gt;
* [[CPP/Classes/DerivedClass|Derived class]]&lt;br /&gt;
* [[CPP/Classes/DownCasting|Down casting]]&lt;br /&gt;
* [[CPP/Classes/FriendClass|Friend class]]&lt;br /&gt;
* [[CPP/Classes/NestedClasses|Nested classes]]&lt;br /&gt;
* [[CPP/Classes/PureVirtualFunction|Pure virtual function]]&lt;br /&gt;
* [[CPP/Classes/Singleton|Singleton]]&lt;br /&gt;
&lt;br /&gt;
=== Loops ===&lt;br /&gt;
* [[CPP/Loops/DoWhile|Do while]]&lt;br /&gt;
* [[CPP/Loops/While|While]]&lt;br /&gt;
* [[CPP/Loops/For|For]]&lt;br /&gt;
&lt;br /&gt;
=== STL Data Structures ===&lt;br /&gt;
*[[CPP/STL/String|String]]&lt;br /&gt;
*[[CPP/STL/Vector|Vector]]&lt;br /&gt;
*[[CPP/STL/List|List]]&lt;br /&gt;
*[[CPP/STL/Set|Set]]&lt;br /&gt;
*[[CPP/STL/MultiSet|MultiSet]]&lt;br /&gt;
*[[CPP/STL/Map|Map]]&lt;br /&gt;
*[[CPP/STL/MultiMap|MultiMap]]&lt;br /&gt;
*[[CPP/STL/Pair|Pair]]&lt;br /&gt;
*[[CPP/STL/PriorityQueue|Priority queue]]&lt;br /&gt;
*[[CPP/STL/Queue|Queue]]&lt;br /&gt;
*[[CPP/STL/Tuple|Tuple]]&lt;br /&gt;
&lt;br /&gt;
=== STL Algorithms ===&lt;br /&gt;
*[[CPP/STL/RandomShuffle|Random shuffle]]&lt;br /&gt;
*[[CPP/STL/Sort|Sort]]&lt;br /&gt;
&lt;br /&gt;
=== Debugging ===&lt;br /&gt;
* [[CPP/Debugging/Assert|Assert]]&lt;br /&gt;
* [[CPP/Debugging/LineNumbers|LineNumbers]]&lt;br /&gt;
&lt;br /&gt;
=== C++ TR1 ===&lt;br /&gt;
&lt;br /&gt;
*[[CPP/TR1/Regex_Tokenising|Tokenising with RegEx]]&lt;br /&gt;
&lt;br /&gt;
=== C++0x ===&lt;br /&gt;
*[[CPP/C++0x/Hash|Hash]]&lt;br /&gt;
&lt;br /&gt;
=== Math ===&lt;br /&gt;
*[[CPP/Math/Exponential|Exponential function]]&lt;br /&gt;
*[[CPP/Math/MinMax|Min and Max]]&lt;br /&gt;
*[[CPP/Math/Trig|Trig functions]]&lt;br /&gt;
&lt;br /&gt;
=== GUI Systems ===&lt;br /&gt;
====Qt====&lt;br /&gt;
&lt;br /&gt;
== wxWidgets ==&lt;br /&gt;
&lt;br /&gt;
wxWidgets is GUI toolkit that is used to make nice GUIs using C++ language. wxWidgets is available also as ports in other languages like Python. I tried to say much but I have failed so i copy and paste their Home  [http://www.wxwidgets.org/ Home Page] description. Forgive me for failing to tell you &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote style=&amp;quot;background-color: lightgrey; border: solid thin grey; padding:5px;&amp;quot;&amp;gt;&lt;br /&gt;
wxWidgets is a C++ library that lets developers create applications for Windows, OS X, Linux and UNIX on 32-bit&lt;br /&gt;
 and 64-bit architectures as well as several mobile platforms including Windows Mobile, iPhone SDK and embedded GTK+.It has popular language bindings for Python, Perl, Ruby  and many other languages. Unlike other cross-platform toolkits, wxWidgets gives its applications a truly native look and feel because it uses the platform's native API rather than emulating the GUI. It's also extensive, free, open-source and mature. Why not give it a try?&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
One thing that this summary didn't tell you is that there are more than GUI classes. There are networking stuffs and Many other whistles and bells. If you feel you need help there is forum and you can buy the book to enhance the speed. Just Go to [http://www.wxwidgets.org/ Home page] and check the links. For more documentations and How-tos, visit  [http://wiki.wxwidgets.org/Main_Page Wiki Page]&lt;br /&gt;
&lt;br /&gt;
If you have any questions, you can direct them to [http://forum.wxwidgets.orgwxForum].&lt;br /&gt;
&lt;br /&gt;
Stefano&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
--[[User:Evstevemd|Evstevemd]] 16:47, 25 June 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Java ==&lt;br /&gt;
&lt;br /&gt;
== Python ==&lt;br /&gt;
&lt;br /&gt;
== Perl ==&lt;/div&gt;</summary>
		<author><name>Bench</name></author>	</entry>

	<entry>
		<id>http://programmingexamples.net/wiki/Main_Page</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="http://programmingexamples.net/wiki/Main_Page"/>
				<updated>2010-06-26T14:31:08Z</updated>
		
		<summary type="html">&lt;p&gt;Bench: /* Strings */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Welcome to ProgrammingExamples.net!==&lt;br /&gt;
This site is intended to provide short, compilable code snippets demonstrating frequently used concepts in several programming languages. Please feel free to modify the existing examples, and add new examples!&lt;br /&gt;
&lt;br /&gt;
==&amp;quot;Do&amp;quot;s and &amp;quot;Don't&amp;quot;s==&lt;br /&gt;
&lt;br /&gt;
=== &amp;quot;Do&amp;quot;s ===&lt;br /&gt;
* Try to keep each example as short as possible.&lt;br /&gt;
* Try to demonstrate a single concept per example.&lt;br /&gt;
* Comment, comment, comment!&lt;br /&gt;
&lt;br /&gt;
=== &amp;quot;Don't&amp;quot;s ===&lt;br /&gt;
* Do not treat the wiki as your own personal code dump. Things that are placed here should be useful for many people.&lt;br /&gt;
&lt;br /&gt;
== Coding Standards ==&lt;br /&gt;
We don't want to get too carried away here, but below are some guidelines.&lt;br /&gt;
&lt;br /&gt;
* Try to use a sensible indentation scheme.&lt;br /&gt;
* Use descriptive variable names.&lt;br /&gt;
* Comment, comment, comment!&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== C++ ==&lt;br /&gt;
* [[CPP/AlphebetizeString|Alphabetize a vector of strings]]&lt;br /&gt;
* [[CPP/ZeroPad|Pad a number with zeros]]&lt;br /&gt;
* [[CPP/Array|Array]]&lt;br /&gt;
* [[CPP/2DArray|2D Array]]&lt;br /&gt;
* [[CPP/BinaryIO|Binary input and output]]&lt;br /&gt;
* [[CPP/ExecuteLinuxCommand|Execute a linux command]]&lt;br /&gt;
* [[CPP/Casting|Casting]]&lt;br /&gt;
* [[CPP/CharacterArray|Character array]]&lt;br /&gt;
* [[CPP/KeyboardInput|Keyboard input]]&lt;br /&gt;
* [[CPP/CommandLineArguments|Command line arguments]]&lt;br /&gt;
* [[CPP/DeepCopy|Deep copy]]&lt;br /&gt;
* [[CPP/DefaultArguments|Default arguments]]&lt;br /&gt;
* [[CPP/Enum|Enum]]&lt;br /&gt;
* [[CPP/Exceptions|Exceptions]]&lt;br /&gt;
* [[CPP/FunctionPointer|Function pointer]]&lt;br /&gt;
* [[CPP/Infinity|Infinity]]&lt;br /&gt;
* [[CPP/Logging|Logging]]&lt;br /&gt;
* [[CPP/Macros|Macros]]&lt;br /&gt;
* [[CPP/Namespaces|Namespaces]]&lt;br /&gt;
* [[CPP/NAN|NAN (not a number)]]&lt;br /&gt;
* [[CPP/OverloadOperator|Overload operator]]&lt;br /&gt;
* [[CPP/ParallelSort|Parallel sort]]&lt;br /&gt;
* [[CPP/RandomNumbers|Random numbers]]&lt;br /&gt;
* [[CPP/StringStream|StringStream]]&lt;br /&gt;
* [[CPP/Struct|Struct]]&lt;br /&gt;
* [[CPP/Switch|Switch]]&lt;br /&gt;
* [[CPP/Typedef|Typedef]]&lt;br /&gt;
* [[CPP/VariableNumberOfArguments|Variable number of function arguments]]&lt;br /&gt;
&lt;br /&gt;
=== I/O ===&lt;br /&gt;
* [[CPP/IO/Setw|Column width (setw)]]&lt;br /&gt;
* [[CPP/IO/FileInput|File input]]&lt;br /&gt;
* [[CPP/IO/FileOutput|File output]]&lt;br /&gt;
* [[CPP/IO/ReadingLines|Reading lines from a text file]]&lt;br /&gt;
&lt;br /&gt;
=== Strings ===&lt;br /&gt;
* [[CPP/Strings/Compare|Compare strings]]&lt;br /&gt;
* [[CPP/Strings/Concatenate|Concatenate]]&lt;br /&gt;
* [[CPP/Strings/CountCharacters|Count characters]]&lt;br /&gt;
* [[CPP/Strings/Split|Split]]&lt;br /&gt;
* [[CPP/Strings/Case_Conversion|Case conversion]]&lt;br /&gt;
&lt;br /&gt;
=== Classes ===&lt;br /&gt;
* [[CPP/Classes/ClassTemplate|Class template]]&lt;br /&gt;
* [[CPP/Classes/ConstructorInheritance|Constructor inheritance]]&lt;br /&gt;
* [[CPP/Classes/InitializationList|Initialization list]]&lt;br /&gt;
* [[CPP/Classes/DerivedClass|Derived class]]&lt;br /&gt;
* [[CPP/Classes/DownCasting|Down casting]]&lt;br /&gt;
* [[CPP/Classes/FriendClass|Friend class]]&lt;br /&gt;
* [[CPP/Classes/NestedClasses|Nested classes]]&lt;br /&gt;
* [[CPP/Classes/PureVirtualFunction|Pure virtual function]]&lt;br /&gt;
* [[CPP/Classes/Singleton|Singleton]]&lt;br /&gt;
&lt;br /&gt;
=== Loops ===&lt;br /&gt;
* [[CPP/Loops/DoWhile|Do while]]&lt;br /&gt;
* [[CPP/Loops/While|While]]&lt;br /&gt;
* [[CPP/Loops/For|For]]&lt;br /&gt;
&lt;br /&gt;
=== STL Data Structures ===&lt;br /&gt;
*[[CPP/STL/String|String]]&lt;br /&gt;
*[[CPP/STL/Vector|Vector]]&lt;br /&gt;
*[[CPP/STL/List|List]]&lt;br /&gt;
*[[CPP/STL/Set|Set]]&lt;br /&gt;
*[[CPP/STL/MultiSet|MultiSet]]&lt;br /&gt;
*[[CPP/STL/Map|Map]]&lt;br /&gt;
*[[CPP/STL/MultiMap|MultiMap]]&lt;br /&gt;
*[[CPP/STL/Pair|Pair]]&lt;br /&gt;
*[[CPP/STL/PriorityQueue|Priority queue]]&lt;br /&gt;
*[[CPP/STL/Queue|Queue]]&lt;br /&gt;
*[[CPP/STL/Tuple|Tuple]]&lt;br /&gt;
&lt;br /&gt;
=== STL Algorithms ===&lt;br /&gt;
*[[CPP/STL/RandomShuffle|Random shuffle]]&lt;br /&gt;
*[[CPP/STL/Sort|Sort]]&lt;br /&gt;
&lt;br /&gt;
=== Debugging ===&lt;br /&gt;
* [[CPP/Debugging/Assert|Assert]]&lt;br /&gt;
* [[CPP/Debugging/LineNumbers|LineNumbers]]&lt;br /&gt;
&lt;br /&gt;
=== C++0x ===&lt;br /&gt;
*[[CPP/C++0x/Hash|Hash]]&lt;br /&gt;
&lt;br /&gt;
=== Math ===&lt;br /&gt;
*[[CPP/Math/Exponential|Exponential function]]&lt;br /&gt;
*[[CPP/Math/MinMax|Min and Max]]&lt;br /&gt;
*[[CPP/Math/Trig|Trig functions]]&lt;br /&gt;
&lt;br /&gt;
=== GUI Systems ===&lt;br /&gt;
====Qt====&lt;br /&gt;
== wxWidgets ==&lt;br /&gt;
&lt;br /&gt;
wxWidgets is GUI toolkit that is used to make nice GUIs using C++ language. wxWidgets is available also as ports in other languages like Python. I tried to say much but I have failed so i copy and paste their Home  [http://www.wxwidgets.org/ Home Page] description. Forgive me for failing to tell you &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote style=&amp;quot;background-color: lightgrey; border: solid thin grey; padding:5px;&amp;quot;&amp;gt;&lt;br /&gt;
wxWidgets is a C++ library that lets developers create applications for Windows, OS X, Linux and UNIX on 32-bit&lt;br /&gt;
 and 64-bit architectures as well as several mobile platforms including Windows Mobile, iPhone SDK and embedded GTK+.It has popular language bindings for Python, Perl, Ruby  and many other languages. Unlike other cross-platform toolkits, wxWidgets gives its applications a truly native look and feel because it uses the platform's native API rather than emulating the GUI. It's also extensive, free, open-source and mature. Why not give it a try?&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
One thing that this summary didn't tell you is that there are more than GUI classes. There are networking stuffs and Many other whistles and bells. If you feel you need help there is forum and you can buy the book to enhance the speed. Just Go to [http://www.wxwidgets.org/ Home page] and check the links. For more documentations and How-tos, visit  [http://wiki.wxwidgets.org/Main_Page Wiki Page]&lt;br /&gt;
&lt;br /&gt;
If you have any questions, you can direct them to [http://forum.wxwidgets.orgwxForum].&lt;br /&gt;
&lt;br /&gt;
Stefano&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
--[[User:Evstevemd|Evstevemd]] 16:47, 25 June 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Java ==&lt;br /&gt;
&lt;br /&gt;
== Python ==&lt;br /&gt;
&lt;br /&gt;
== Perl ==&lt;/div&gt;</summary>
		<author><name>Bench</name></author>	</entry>

	<entry>
		<id>http://programmingexamples.net/wiki/CPP/Strings/Case_Conversion</id>
		<title>CPP/Strings/Case Conversion</title>
		<link rel="alternate" type="text/html" href="http://programmingexamples.net/wiki/CPP/Strings/Case_Conversion"/>
				<updated>2010-06-26T14:30:17Z</updated>
		
		<summary type="html">&lt;p&gt;Bench: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;source lang=&amp;quot;cpp&amp;quot;&amp;gt;&lt;br /&gt;
#include &amp;lt;string&amp;gt;&lt;br /&gt;
#include &amp;lt;algorithm&amp;gt;    // transform&lt;br /&gt;
#include &amp;lt;functional&amp;gt;   // ptr_fun&lt;br /&gt;
#include &amp;lt;cctype&amp;gt;       // toupper, tolower&lt;br /&gt;
#include &amp;lt;iostream&amp;gt;&lt;br /&gt;
&lt;br /&gt;
int main()&lt;br /&gt;
{&lt;br /&gt;
    std::string clive = &amp;quot;Clive Cherishes Capitals&amp;quot;,&lt;br /&gt;
                lewis = &amp;quot;Lewis LOVES Lowercase&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
    // transform each character in 'clive' with 'toupper'&lt;br /&gt;
    std::transform(clive.begin(), clive.end(), clive.begin(),&lt;br /&gt;
                   std::ptr_fun&amp;lt;int,int&amp;gt;(std::toupper) );&lt;br /&gt;
&lt;br /&gt;
    // transform each character in 'lewis' with 'tolower'&lt;br /&gt;
    std::transform(lewis.begin(), lewis.end(), lewis.begin(),&lt;br /&gt;
                   std::ptr_fun&amp;lt;int,int&amp;gt;(std::tolower) );&lt;br /&gt;
&lt;br /&gt;
    std::cout &amp;lt;&amp;lt; clive &amp;lt;&amp;lt; std::endl;&lt;br /&gt;
    std::cout &amp;lt;&amp;lt; lewis &amp;lt;&amp;lt; std::endl;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Bench</name></author>	</entry>

	<entry>
		<id>http://programmingexamples.net/wiki/CPP/Strings/Case_Conversion</id>
		<title>CPP/Strings/Case Conversion</title>
		<link rel="alternate" type="text/html" href="http://programmingexamples.net/wiki/CPP/Strings/Case_Conversion"/>
				<updated>2010-06-26T14:29:43Z</updated>
		
		<summary type="html">&lt;p&gt;Bench: C++ upper/lower case string conversion&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#include &amp;lt;string&amp;gt;&lt;br /&gt;
#include &amp;lt;algorithm&amp;gt;    // transform&lt;br /&gt;
#include &amp;lt;functional&amp;gt;   // ptr_fun&lt;br /&gt;
#include &amp;lt;cctype&amp;gt;       // toupper, tolower&lt;br /&gt;
#include &amp;lt;iostream&amp;gt;&lt;br /&gt;
&lt;br /&gt;
int main()&lt;br /&gt;
{&lt;br /&gt;
    std::string clive = &amp;quot;Clive Cherishes Capitals&amp;quot;,&lt;br /&gt;
                lewis = &amp;quot;Lewis LOVES Lowercase&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
    // transform each character in 'clive' with 'toupper'&lt;br /&gt;
    std::transform(clive.begin(), clive.end(), clive.begin(),&lt;br /&gt;
                   std::ptr_fun&amp;lt;int,int&amp;gt;(std::toupper) );&lt;br /&gt;
&lt;br /&gt;
    // transform each character in 'lewis' with 'tolower'&lt;br /&gt;
    std::transform(lewis.begin(), lewis.end(), lewis.begin(),&lt;br /&gt;
                   std::ptr_fun&amp;lt;int,int&amp;gt;(std::tolower) );&lt;br /&gt;
&lt;br /&gt;
    std::cout &amp;lt;&amp;lt; clive &amp;lt;&amp;lt; std::endl;&lt;br /&gt;
    std::cout &amp;lt;&amp;lt; lewis &amp;lt;&amp;lt; std::endl;&lt;br /&gt;
}&lt;/div&gt;</summary>
		<author><name>Bench</name></author>	</entry>

	</feed>