Difference between revisions of "Main Page"

From ProgrammingExamples
Jump to: navigation, search
(Classes)
 
(87 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!
  
== C++ ==
+
Please read [[Help:Editing|Editing Wiki Pages]] and [[Help:DosAndDonts|Do's and Don'ts]] before getting started.
* [[CPP/AlphebetizeString|Alphabetize a vector of strings]]
+
* [[CPP/ZeroPad|Pad a number with zeros]]
+
* [[CPP/Array|Array]]
+
* [[CPP/2DArray|2D Array]]
+
* [[CPP/Assert|Assert]]
+
* [[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]]
+
  
=== Strings ===
+
== Coding Standards ==
* [[CPP/Strings/Compare|Compare strings]]
+
We don't want to get too carried away here, but below are some guidelines.
* [[CPP/Strings/Concatenate|Concatenate]]
+
* [[CPP/Strings/CountCharacters|Count characters]]
+
  
=== Classes ===
+
* Use a sensible and internally consistent indentation scheme
* [[CPP/Classes/ClassTemplate|Class template]]
+
* Use "best coding practices" for your language
* [[CPP/Classes/ConstructorInheritance|Constructor inheritance]]
+
* Use descriptive, fully spelled variable names (in English please)
* [[CPP/Classes/InitializationList|Initialization list]]
+
** Good: dispatchTable, dispatch_table
* [[CPP/Classes/DerivedClass|Derived class]]
+
** Bad: dispTbl, disp_tbl, mesaDespacho, avsändande_bord
* [[CPP/Classes/DownCasting|Down casting]]
+
* Comment (only) to clarify your code or your intention.
  
=== Loops ===
+
== Languages ==
* [[CPP/Loops/DoWhile|Do while]]
+
* [[CPP|C++]]
* [[CPP/Loops/While|While]]
+
* [[Java]]
* [[CPP/Loops/For|For]]
+
* [[Python]]
 +
* [[Perl]]
 +
* [[Bash]]
 +
* [[Matlab]]
  
=== STL Data Structures ===
+
== Libraries ==
 +
* [[Boost]]
 +
* [[Eigen]]
 +
* [[OpenMP]]
  
*[[CPP/STL/String|String]]
+
== GUI Systems ==
*[[CPP/STL/Vector|Vector]]
+
* [[Qt]]
*[[CPP/STL/List|List]]
+
* [[wxWidgets]]
*[[CPP/STL/Set|Set]]
+
 
*[[CPP/STL/MultiSet|MultiSet]]
+
== Visualization/Graphics/Images ==
*[[CPP/STL/Map|Map]]
+
* [http://www.vtk.org/Wiki/VTK/Examples/Cxx VTK]
*[[CPP/STL/MultiMap|MultiMap]]
+
* [http://www.itk.org/Wiki/ITK/Examples ITK]
 +
* [[OpenGL]]
 +
 
 +
== Computer Vision ==
 +
* [[OpenCV]]
 +
* [[PCL]]

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