Difference between revisions of "Main Page"

From ProgrammingExamples
Jump to: navigation, search
(Mention language dispatch pages)
(Move C++ stuff to its own page)
Line 22: Line 22:
 
__TOC__
 
__TOC__
  
== C++ ==
+
== [[CPP|C++]] ==
* [[CPP/AlphebetizeString|Alphabetize a vector of strings]]
+
* [[CPP/ZeroPad|Pad a number with zeros]]
+
* [[CPP/Array|Array]]
+
* [[CPP/2DArray|2D Array]]
+
* [[CPP/BinaryIO|Binary input and output]]
+
* [[CPP/ExecuteLinuxCommand|Execute a linux command]]
+
* [[CPP/Casting|Casting]]
+
* [[CPP/CharacterArray|Character array]]
+
* [[CPP/KeyboardInput|Keyboard input]]
+
* [[CPP/CommandLineArguments|Command line arguments]]
+
* [[CPP/DeepCopy|Deep copy]]
+
* [[CPP/DefaultArguments|Default arguments]]
+
* [[CPP/Enum|Enum]]
+
* [[CPP/Exceptions|Exceptions]]
+
* [[CPP/FunctionPointer|Function pointer]]
+
* [[CPP/Infinity|Infinity]]
+
* [[CPP/Logging|Logging]]
+
* [[CPP/Macros|Macros]]
+
* [[CPP/Namespaces|Namespaces]]
+
* [[CPP/NAN|NAN (not a number)]]
+
* [[CPP/OverloadOperator|Overload operator]]
+
* [[CPP/ParallelSort|Parallel sort]]
+
* [[CPP/RandomNumbers|Random numbers]]
+
* [[CPP/StringStream|StringStream]]
+
* [[CPP/Struct|Struct]]
+
* [[CPP/Switch|Switch]]
+
* [[CPP/Typedef|Typedef]]
+
* [[CPP/VariableNumberOfArguments|Variable number of function arguments]]
+
  
=== I/O ===
+
== GUI Systems ==
* [[CPP/IO/Setw|Column width (setw)]]
+
* [[CPP/IO/FileInput|File input]]
+
* [[CPP/IO/FileOutput|File output]]
+
* [[CPP/IO/ReadingLines|Reading lines from a text file]]
+
 
+
=== Strings ===
+
* [[CPP/Strings/Compare|Compare strings]]
+
* [[CPP/Strings/Concatenate|Concatenate]]
+
* [[CPP/Strings/CountCharacters|Count characters]]
+
* [[CPP/Strings/Split|Split]]
+
* [[CPP/Strings/Case_Conversion|Case conversion]]
+
 
+
=== Classes ===
+
* [[CPP/Classes/ClassTemplate|Class template]]
+
* [[CPP/Classes/ConstructorInheritance|Constructor inheritance]]
+
* [[CPP/Classes/InitializationList|Initialization list]]
+
* [[CPP/Classes/DerivedClass|Derived class]]
+
* [[CPP/Classes/DownCasting|Down casting]]
+
* [[CPP/Classes/FriendClass|Friend class]]
+
* [[CPP/Classes/NestedClasses|Nested classes]]
+
* [[CPP/Classes/PureVirtualFunction|Pure virtual function]]
+
* [[CPP/Classes/Singleton|Singleton]]
+
 
+
=== Loops ===
+
* [[CPP/Loops/DoWhile|Do while]]
+
* [[CPP/Loops/While|While]]
+
* [[CPP/Loops/For|For]]
+
 
+
=== STL Data Structures ===
+
*[[CPP/STL/String|String]]
+
*[[CPP/STL/Vector|Vector]]
+
*[[CPP/STL/List|List]]
+
*[[CPP/STL/Set|Set]]
+
*[[CPP/STL/MultiSet|MultiSet]]
+
*[[CPP/STL/Map|Map]]
+
*[[CPP/STL/MultiMap|MultiMap]]
+
*[[CPP/STL/Pair|Pair]]
+
*[[CPP/STL/PriorityQueue|Priority queue]]
+
*[[CPP/STL/Queue|Queue]]
+
*[[CPP/STL/Tuple|Tuple]]
+
 
+
=== STL Algorithms ===
+
*[[CPP/STL/RandomShuffle|Random shuffle]]
+
*[[CPP/STL/Sort|Sort]]
+
 
+
=== Debugging ===
+
* [[CPP/Debugging/Assert|Assert]]
+
* [[CPP/Debugging/LineNumbers|LineNumbers]]
+
 
+
=== C++ TR1 ===
+
 
+
*[[CPP/TR1/Regex_Tokenising|Tokenising with RegEx]]
+
 
+
=== C++0x ===
+
*[[CPP/C++0x/Hash|Hash]]
+
 
+
=== Math ===
+
*[[CPP/Math/Exponential|Exponential function]]
+
*[[CPP/Math/MinMax|Min and Max]]
+
*[[CPP/Math/Trig|Trig functions]]
+
 
+
=== GUI Systems ===
+
 
====Qt====
 
====Qt====
  

Revision as of 21:27, 26 June 2010

Welcome to ProgrammingExamples.net!

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!

"Do"s and "Don't"s

"Do"s

  • Create a 'dispatch page' for each new language that you add, put links to examples in that language on that page.
  • Try to keep each example as short as possible.
  • Try to demonstrate a single concept per example.
  • Comment, comment, comment!

"Don't"s

  • Do not treat the wiki as your own personal code dump. Things that are placed here should be useful for many people.

Coding Standards

We don't want to get too carried away here, but below are some guidelines.

  • Try to use a sensible indentation scheme.
  • Use descriptive variable names.
  • Comment, comment, comment!

C++

GUI Systems

Qt

wxWidgets

A C++ based toolkit that is primarily used to create nice graphics and GUIs. From their Home Page:

wxWidgets is a C++ library that lets developers create applications for Windows, OS X, Linux and UNIX on 32-bit 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?

One thing that this summary didn't mention is that there are more than GUI classes. There are classes that help with networking as well as many other whistles and bells. If you feel you need help there is a forum. You can also buy the book at Amazon or Amazon.uk. For more documentation, examples, tutorials, visit Wiki Page

If you have any questions, you can direct them to wxForum.

Stefano

--Evstevemd 16:47, 25 June 2010 (UTC)

Java

Python

Perl