Difference between revisions of "Main Page"

From ProgrammingExamples
Jump to: navigation, search
 
(64 intermediate revisions by 9 users not shown)
Line 1: Line 1:
 
==Welcome to ProgrammingExamples.net!==
 
==Welcome to ProgrammingExamples.net!==
This site is intended to provide short, compilable code snippets demonstrating frequently used concepts in several programming languages.
+
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!
  
__TOC__
+
Please read [[Help:Editing|Editing Wiki Pages]] and [[Help:DosAndDonts|Do's and Don'ts]] before getting started.
  
== C++ ==
+
== Coding Standards ==
* [[CPP/AlphebetizeString|Alphabetize a vector of strings]]
+
We don't want to get too carried away here, but below are some guidelines.
* [[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]]
+
  
=== I/O ===
+
* Use a sensible and internally consistent indentation scheme
* [[CPP/IO/FileInput|File input]]
+
* Use "best coding practices" for your language
* [[CPP/IO/FileOutput|File output]]
+
* Use descriptive, fully spelled variable names (in English please)
 +
** Good: dispatchTable, dispatch_table
 +
** Bad: dispTbl, disp_tbl, mesaDespacho, avsändande_bord
 +
* Comment (only) to clarify your code or your intention.
  
=== Strings ===
+
== Languages ==
* [[CPP/Strings/Compare|Compare strings]]
+
* [[CPP|C++]]
* [[CPP/Strings/Concatenate|Concatenate]]
+
* [[Java]]
* [[CPP/Strings/CountCharacters|Count characters]]
+
* [[Python]]
 +
* [[Perl]]
 +
* [[Bash]]
 +
* [[Matlab]]
  
=== Classes ===
+
== Libraries ==
* [[CPP/Classes/ClassTemplate|Class template]]
+
* [[Boost]]
* [[CPP/Classes/ConstructorInheritance|Constructor inheritance]]
+
* [[Eigen]]
* [[CPP/Classes/InitializationList|Initialization list]]
+
* [[OpenMP]]
* [[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]]
+
  
=== Loops ===
+
== GUI Systems ==
* [[CPP/Loops/DoWhile|Do while]]
+
* [[Qt]]
* [[CPP/Loops/While|While]]
+
* [[wxWidgets]]
* [[CPP/Loops/For|For]]
+
  
=== STL Data Structures ===
+
== Visualization/Graphics/Images ==
*[[CPP/STL/String|String]]
+
* [http://www.vtk.org/Wiki/VTK/Examples/Cxx VTK]
*[[CPP/STL/Vector|Vector]]
+
* [http://www.itk.org/Wiki/ITK/Examples ITK]
*[[CPP/STL/List|List]]
+
* [[OpenGL]]
*[[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]]
+
  
=== Debugging ===
+
== Computer Vision ==
* [[CPP/Debugging/Assert|Assert]]
+
* [[OpenCV]]
* [[CPP/Debugging/LineNumbers|LineNumbers]]
+
* [[PCL]]
 
+
=== 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====
+
====wxWidgets====
+

Latest revision as of 21:20, 21 November 2016

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!

Please read Editing Wiki Pages and Do's and Don'ts before getting started.

Coding Standards

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

  • Use a sensible and internally consistent indentation scheme
  • Use "best coding practices" for your language
  • Use descriptive, fully spelled variable names (in English please)
    • Good: dispatchTable, dispatch_table
    • Bad: dispTbl, disp_tbl, mesaDespacho, avsändande_bord
  • Comment (only) to clarify your code or your intention.

Languages

Libraries

GUI Systems

Visualization/Graphics/Images

Computer Vision