Difference between revisions of "Main Page"

From ProgrammingExamples
Jump to: navigation, search
 
(38 intermediate revisions by 7 users not shown)
Line 2: Line 2:
 
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!
 
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==
+
Please read [[Help:Editing|Editing Wiki Pages]] and [[Help:DosAndDonts|Do's and Don'ts]] before getting started.
 
+
=== "Do"s ===
+
* 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 ==
 
== Coding Standards ==
 
We don't want to get too carried away here, but below are some guidelines.
 
We don't want to get too carried away here, but below are some guidelines.
  
* Try to use a sensible indentation scheme.
+
* Use a sensible and internally consistent indentation scheme
* Use descriptive variable names.
+
* Use "best coding practices" for your language
* Comment, comment, comment!
+
* Use descriptive, fully spelled variable names (in English please)
 
+
** Good: dispatchTable, dispatch_table
__TOC__
+
** Bad: dispTbl, disp_tbl, mesaDespacho, avsändande_bord
 
+
* Comment (only) to clarify your code or your intention.
== 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 ===
+
* [[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====
+
 
+
== wxWidgets ==
+
 
+
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
+
 
+
 
+
<blockquote style="background-color: lightgrey; border: solid thin grey; padding:5px;">
+
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?
+
</blockquote>
+
 
+
 
+
 
+
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]
+
 
+
If you have any questions, you can direct them to [http://forum.wxwidgets.orgwxForum].
+
  
Stefano<br />
+
== Languages ==
 +
* [[CPP|C++]]
 +
* [[Java]]
 +
* [[Python]]
 +
* [[Perl]]
 +
* [[Bash]]
 +
* [[Matlab]]
  
--[[User:Evstevemd|Evstevemd]] 16:47, 25 June 2010 (UTC)
+
== Libraries ==
 +
* [[Boost]]
 +
* [[Eigen]]
 +
* [[OpenMP]]
  
== Java ==
+
== GUI Systems ==
 +
* [[Qt]]
 +
* [[wxWidgets]]
  
== Python ==
+
== Visualization/Graphics/Images ==
 +
* [http://www.vtk.org/Wiki/VTK/Examples/Cxx VTK]
 +
* [http://www.itk.org/Wiki/ITK/Examples ITK]
 +
* [[OpenGL]]
  
== Perl ==
+
== 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