User contributions
From ProgrammingExamples
(newest | oldest) View (newer 100 | older 100) (20 | 50 | 100 | 250 | 500)
- 10:41, 3 September 2012 (diff | hist) . . (+124) . . Boost/BGL
- 11:06, 30 July 2012 (diff | hist) . . (+1) . . m CPP/RandomNumbers (current)
- 11:04, 30 July 2012 (diff | hist) . . (+14) . . m CPP/RandomNumbers
- 13:40, 13 July 2012 (diff | hist) . . (+722) . . CPP/C++0x/Lambda (current)
- 13:39, 13 July 2012 (diff | hist) . . (+599) . . N CPP/C++0x/Lambda (Created page with '==Lambda.cpp== <source lang="cpp"> #include <iostream> #include <unordered_set> // must use -std=c++0x flag int main(int argc, char* argv[]) { // Create a set std::unorder…')
- 13:39, 13 July 2012 (diff | hist) . . (+29) . . CPP (→C++0x)
- 10:47, 13 July 2012 (diff | hist) . . (+994) . . N CPP/STL/Set/BoundedInsert (Created page with '==BoundedInsert.cpp== <source lang="cpp"> #include <set> #include <iterator> #include <iostream> #include <algorithm> template<typename T> std::set<T>& bounded_insert(std::set<…') (current)
- 10:47, 13 July 2012 (diff | hist) . . (+163) . . CPP (→Set)
- 16:55, 6 July 2012 (diff | hist) . . (+162) . . Qt/Utilities/EventFilter (current)
- 16:40, 6 July 2012 (diff | hist) . . (+2,042) . . N Qt/Utilities/EventFilter (Created page with '==main.cpp== <source lang="cpp"> #include <QProgressDialog> #include <QApplication> #include "form.h" int main( int argc, char **argv ) { QApplication app(argc, argv); Main…')
- 16:39, 6 July 2012 (diff | hist) . . (+60) . . Qt (→Utilities)
- 15:02, 12 June 2012 (diff | hist) . . (+35) . . m CPP/C++0x/VectorMinMax (current)
- 09:04, 10 June 2012 (diff | hist) . . (+387) . . N CPP/Pragma (Created page with '==Pragma.cpp== <source lang="cpp"> #include <iostream> #include <typeinfo> #define STR(x) STR2(x) #define STR2(x) #x #define FOO 3 int main(int, char*[]) { #pragma message("…') (current)
- 09:04, 10 June 2012 (diff | hist) . . (+54) . . CPP (→General Examples)
- 21:01, 5 June 2012 (diff | hist) . . (+765) . . CPP/Math/Trig (current)
- 20:46, 5 June 2012 (diff | hist) . . (+2,343) . . N Qt/AutoConnect (Created page with '==AutoConnect.cpp== <source lang="cpp"> #include <QApplication> #include "form.h" int main(int argc, char *argv[]) { QApplication app(argc, argv); Form form; form.show…') (current)
- 20:45, 5 June 2012 (diff | hist) . . (+40) . . Qt (→Simple Widgets)
- 15:25, 17 May 2012 (diff | hist) . . (+13) . . m CPP (→Math)
- 12:13, 17 May 2012 (diff | hist) . . (+1,344) . . N CPP/Eigen/STL vector of Eigen vectors (Created page with '==STLVector.cpp== <source lang="cpp"> #include <iostream> #include <vector> #include <Eigen/Geometry> #include <Eigen/Dense> // for Vector #include <Eigen/StdVector> // Required…') (current)
- 12:12, 17 May 2012 (diff | hist) . . (+55) . . Eigen
- 17:01, 3 May 2012 (diff | hist) . . (+4,060) . . N CPP/Boost/BGL/MaxFlow (Created page with '==MaxFlow.cpp== <source lang="cpp"> #include <iostream> #include <boost/graph/adjacency_list.hpp> #include <boost/graph/boykov_kolmogorov_max_flow.hpp> #include <boost/graph/push…') (current)
- 17:01, 3 May 2012 (diff | hist) . . (+87) . . Boost/BGL (→Algorithms)
- 20:44, 2 February 2012 (diff | hist) . . (+655) . . N PCL (Created page with 'Examples to be added to PCL: '''Misc:''' * Nearest neighbors * Region growing '''Features:''' * RIFT feature * CVFH feature * PPF feature * Integral image usage * Spin image * …') (current)
- 20:43, 2 February 2012 (diff | hist) . . (+10) . . Main Page (→Computer Vision)
- 16:48, 26 January 2012 (diff | hist) . . (+56) . . Boost/BGL/Undirected/IterateEdges (use graph_traits) (current)
- 16:47, 26 January 2012 (diff | hist) . . (+83) . . Boost/BGL/Directed/IterateEdges (use graph_traits) (current)
- 11:25, 26 January 2012 (diff | hist) . . (+207) . . CPP/Boost/BGL/FilteredGraphVertices (Get a vertex_iterator) (current)
- 11:25, 26 January 2012 (diff | hist) . . (+1,544) . . N CPP/Boost/BGL/FilteredGraphEdges (Created page with '==FilteredGraph.cpp== <source lang="cpp"> #include <iostream> #include <boost/graph/adjacency_list.hpp> #include <boost/array.hpp> #include <boost/graph/filtered_graph.hpp> #inc…') (current)
- 11:24, 26 January 2012 (diff | hist) . . (-8) . . Boost/BGL (→Filtered graphs)
- 11:24, 26 January 2012 (diff | hist) . . (0) . . m CPP/Boost/BGL/FilteredGraphVertices (moved CPP/Boost/BGL/FilteredGraph to CPP/Boost/BGL/FilteredGraphVertices)
- 11:24, 26 January 2012 (diff | hist) . . (+49) . . N CPP/Boost/BGL/FilteredGraph (moved CPP/Boost/BGL/FilteredGraph to CPP/Boost/BGL/FilteredGraphVertices) (current)
- 11:24, 26 January 2012 (diff | hist) . . (+87) . . Boost/BGL (→Basics)
- 17:01, 25 January 2012 (diff | hist) . . (+830) . . N CPP/Boost/BGL/GridGraphVertexIterator (Created page with '==GridGraphVertexIterator.cpp== <source lang="cpp"> #include <iostream> #include <boost/array.hpp> #include <boost/graph/grid_graph.hpp> int main(int argc, char* argv[]) { ty…') (current)
- 16:58, 25 January 2012 (diff | hist) . . (+71) . . Boost/BGL (→Grid graphs)
- 15:58, 25 January 2012 (diff | hist) . . (-13) . . CPP/Boost/BGL/d ary heap indirect
- 15:19, 25 January 2012 (diff | hist) . . (+1,875) . . N CPP/Boost/BGL/d ary heap indirect (Created page with '==d_ary_heap_indirect.cpp== <source lang="cpp"> #include <iostream> #include <boost/graph/grid_graph.hpp> #include <boost/graph/detail/d_ary_heap.hpp> #include <boost/property_m…')
- 15:18, 25 January 2012 (diff | hist) . . (+102) . . Boost/BGL (→Grid graphs)
- 16:03, 23 January 2012 (diff | hist) . . (+1,302) . . N CPP/Boost/BGL/GridGraphProperties (Created page with 'Grid graphs must use "exterior properties". Here is how: ==GridGraphProperties.cpp== <source lang="cpp"> #include <iostream> #include <boost/array.hpp> #include <boost/graph/gri…') (current)
- 16:02, 23 January 2012 (diff | hist) . . (+96) . . Boost/BGL (→Visualization)
- 17:55, 22 January 2012 (diff | hist) . . (+1,546) . . N CPP/Boost/BGL/FilteredGraphVertices (Created page with '==FilteredGraph.cpp== <source lang="cpp"> #include <iostream> #include <boost/graph/adjacency_list.hpp> #include <boost/array.hpp> #include <boost/graph/filtered_graph.hpp> #inc…')
- 17:55, 22 January 2012 (diff | hist) . . (+76) . . Boost/BGL (→Basics)
- 14:21, 13 January 2012 (diff | hist) . . (+21) . . Boost
- 11:42, 6 January 2012 (diff | hist) . . (+62) . . Boost (→Boost Graph Library (BGL))
- 12:19, 2 January 2012 (diff | hist) . . (+2,047) . . N CPP/CustomIterator (Created page with 'This example demonstrates what you have to implement to create an STL iterator. ==CustomIterator.cpp== <source lang="cpp"> #include <iterator> template <typename T> struct Poin…') (current)
- 12:18, 2 January 2012 (diff | hist) . . (+43) . . CPP (→General Examples)
- 12:17, 2 January 2012 (diff | hist) . . (+1,342) . . N CPP/Boost/Iterators/IndirectIterator (Created page with '==IndirectIterator.cpp== <source lang="cpp"> #include <iostream> #include <set> #include <boost/iterator/indirect_iterator.hpp> // Expose the itererator if the container stores…') (current)
- 12:17, 2 January 2012 (diff | hist) . . (+136) . . Boost (→Boost (Generic) Geometry Library)
- 10:33, 29 December 2011 (diff | hist) . . (+794) . . N CPP/StaticConstInitialization (Created page with '==main.cpp== <source lang="cpp"> #include <iostream> #include "StaticConst.h" int main(int argc, char* argv[]) { std::cout << MyClass::float_sqrteps << std::endl; return 0;…') (current)
- 10:30, 29 December 2011 (diff | hist) . . (+64) . . CPP (→General Examples)
- 09:17, 29 December 2011 (diff | hist) . . (+440) . . Qt/ModelView/AbstractTableModelCheckable (Needed to return something for the CheckStateRole in data()) (current)
- 09:16, 29 December 2011 (diff | hist) . . (-7) . . Qt (→Model/View)
- 09:16, 29 December 2011 (diff | hist) . . (0) . . m Qt/ModelView/AbstractTableModelCheckable (moved Broken/Qt/ModelView/AbstractTableModelCheckable to Qt/ModelView/AbstractTableModelCheckable: Fixed.)
- 09:16, 29 December 2011 (diff | hist) . . (+54) . . N Broken/Qt/ModelView/AbstractTableModelCheckable (moved Broken/Qt/ModelView/AbstractTableModelCheckable to Qt/ModelView/AbstractTableModelCheckable: Fixed.) (current)
- 15:13, 28 December 2011 (diff | hist) . . (+4,883) . . N Qt/ModelView/AbstractTableModelCheckable (Created page with '==main.cpp== <source lang="cpp"> #include <QApplication> #include "form.h" int main(int argc, char *argv[]) { QApplication app(argc, argv); Form form; form.show(); ret…')
- 15:11, 28 December 2011 (diff | hist) . . (+79) . . Qt (→Model/View)
- 17:02, 21 December 2011 (diff | hist) . . (+3,717) . . N Qt/ModelView/ItemSelectionModel (Created page with '==main.cpp== <source lang="cpp"> #include <QApplication> #include "form.h" int main(int argc, char *argv[]) { QApplication app(argc, argv); Form form; form.show(); r…') (current)
- 17:01, 21 December 2011 (diff | hist) . . (+70) . . Qt (→Model/View)
- 22:21, 20 December 2011 (diff | hist) . . (+6,103) . . N Qt/ModelView/ListViewComboBox (Created page with '==main.cpp== <source lang="cpp"> #include <QApplication> #include "form.h" int main(int argc, char *argv[]) { QApplication app(argc, argv); Form form; form.show(); r…') (current)
- 22:19, 20 December 2011 (diff | hist) . . (+73) . . Qt (→Model/View)
- 15:49, 19 December 2011 (diff | hist) . . (+858) . . N CPP/StaticInheritance (Created page with '==StaticInheritance.cpp== <source lang="cpp"> #include <iostream> class Parent { public: static double GetValue(); }; double Parent::GetValue() { return 2.0; } class Child…') (current)
- 15:48, 19 December 2011 (diff | hist) . . (+47) . . CPP (→General Examples)
- 18:42, 18 December 2011 (diff | hist) . . (+122) . . Qt/ModelView/AbstractListModelFileDialog (→AbstractListModelFileDialog.cpp) (current)
- 18:41, 18 December 2011 (diff | hist) . . (-111) . . Qt/ModelView/AbstractListModelFileDialog (→form.cpp)
- 18:23, 18 December 2011 (diff | hist) . . (+65) . . Qt/ModelView/AbstractListModelFileDialog (→form.cpp)
- 17:39, 18 December 2011 (diff | hist) . . (+4,607) . . N Qt/ModelView/AbstractListModelFileDialog (Created page with '==main.cpp== <source lang="cpp"> #include <QApplication> #include "form.h" int main(int argc, char *argv[]) { QApplication app(argc, argv); Form form; form.show(); ret…')
- 17:37, 18 December 2011 (diff | hist) . . (+126) . . Qt (→Model/View)
- 13:26, 18 December 2011 (diff | hist) . . (+112) . . Qt/ModelView/AbstractListModelCheckable (Fixed - cannot use bool to represent a Qt::CheckState) (current)
- 13:15, 18 December 2011 (diff | hist) . . (-12) . . Qt/ModelView/AbstractListModelCheckable (→AbstractListModelCheckable.cpp)
- 13:07, 18 December 2011 (diff | hist) . . (-21) . . Qt/ModelView/AbstractListModelCheckable (→AbstractListModelCheckable.cpp)
- 12:17, 18 December 2011 (diff | hist) . . (-3) . . Qt/ModelView/AbstractListModelCheckable
- 11:59, 18 December 2011 (diff | hist) . . (-1,964) . . Qt/ModelView/StandardItemModel (current)
- 10:59, 18 December 2011 (diff | hist) . . (+4,713) . . N Qt/ModelView/AbstractListModelCheckable (Created page with '==main.cpp== <source lang="cpp"> #include <QApplication> #include "form.h" int main(int argc, char *argv[]) { QApplication app(argc, argv); Form form; form.show(); ret…')
- 10:58, 18 December 2011 (diff | hist) . . (+83) . . Qt (→Model/View)
- 10:41, 18 December 2011 (diff | hist) . . (+4,126) . . N Qt/ModelView/StandardItemModel (Created page with '==main.cpp== <source lang="cpp"> #include <QApplication> #include "form.h" int main(int argc, char *argv[]) { QApplication app(argc, argv); Form form; form.show(); ret…')
- 10:40, 18 December 2011 (diff | hist) . . (+73) . . Qt (→Model/View)
- 19:22, 17 December 2011 (diff | hist) . . (+3,648) . . N Qt/ModelView/StringListModelCheckable (Created page with '==main.cpp== <source lang="cpp"> #include <QApplication> #include "form.h" int main(int argc, char *argv[]) { QApplication app(argc, argv); Form form; form.show(); ret…') (current)
- 19:21, 17 December 2011 (diff | hist) . . (+78) . . Qt (→Model/View)
- 11:13, 16 December 2011 (diff | hist) . . (+705) . . Qt/Widgets/Thread (current)
- 11:12, 16 December 2011 (diff | hist) . . (+370) . . Qt/Widgets/Timer (Undo revision 5098 by Daviddoria (Talk) Oops, changed wrong page.) (current)
- 11:11, 16 December 2011 (diff | hist) . . (-370) . . Qt/Widgets/Timer (Do not subclass QThread.)
- 15:13, 11 December 2011 (diff | hist) . . (+19) . . Qt/Delegates/ComboBoxDelegate
- 13:20, 11 December 2011 (diff | hist) . . (+4,316) . . N Qt/Delegates/ComboBoxDelegate (Created page with '==main.cpp== <source lang="cpp"> →main.cpp A simple example that shows how a view can use a custom delegate to edit data obtained from a model.: #include <QApplicatio…')
- 13:19, 11 December 2011 (diff | hist) . . (+79) . . Qt (→Databases)
- 11:36, 11 December 2011 (diff | hist) . . (+23) . . Qt/Databases/ListView (→form.cpp: Fixed - must use a pointer or the model goes out of scope) (current)
- 10:17, 11 December 2011 (diff | hist) . . (+4,551) . . N Qt/Databases/ListView (Currently nothing is displayed in the listview)
- 10:16, 11 December 2011 (diff | hist) . . (+74) . . Qt (→QWT)
- 08:43, 8 December 2011 (diff | hist) . . (+891) . . Qt/ModelView/ComboBoxOfCheckBoxes (current)
- 08:42, 8 December 2011 (diff | hist) . . (+40) . . Qt (→Model/View)
- 17:22, 7 December 2011 (diff | hist) . . (+3,086) . . N Qt/ModelView/ComboBoxOfCheckBoxes (Created page with '==demo.cpp== <source lang="cpp"> #include <QApplication> #include "main.h" int main(int argc, char *argv[]) { QApplication app(argc, argv); MainWindow window; windo…')
- 17:20, 7 December 2011 (diff | hist) . . (+59) . . Qt (→Model/View)
- 11:52, 2 December 2011 (diff | hist) . . (+743) . . N CPP/Math/Median (Created page with '==Median.cpp== <source lang="cpp"> #include <algorithm> #include <iostream> #include <cmath> #include <vector> template<typename T> T VectorMedian(std::vector<T> v) { int n = …') (current)
- 11:50, 2 December 2011 (diff | hist) . . (+40) . . CPP (→Math)
- 17:20, 19 November 2011 (diff | hist) . . (+2,340) . . Qt/Utilities/HandleItem (→HandleItem.cpp) (current)
- 17:19, 19 November 2011 (diff | hist) . . (+579) . . Qt/Utilities/HandleItem (→form.cpp)
- 17:06, 18 November 2011 (diff | hist) . . (-26) . . Boost/BGL/BetweennessCentralityClustering (Cleaner using lexical_cast) (current)
- 17:05, 18 November 2011 (diff | hist) . . (-13) . . Boost/BGL/RelabelInputVertices (Cleaner using lexical_cast) (current)
- 17:00, 18 November 2011 (diff | hist) . . (+6,022) . . N Qt/Utilities/HandleItem (Created page with '==HandleItem.cpp== <source lang="cpp"> #include <QApplication> #include "form.h" int main(int argc, char *argv[]) { QApplication app(argc, argv); Form form; form.show();…')
- 16:57, 18 November 2011 (diff | hist) . . (+64) . . Qt (→Utilities)
- 16:22, 17 November 2011 (diff | hist) . . (-543) . . Qt/QWT/Plot (current)
- 15:01, 17 November 2011 (diff | hist) . . (+2,609) . . N Qt/QWT/Plot (Created page with '==main.cpp== <source lang="cpp"> #include <QApplication> #include "form.h" int main(int argc, char *argv[]) { QApplication app(argc, argv); MyForm form; form.show(); r…')
(newest | oldest) View (newer 100 | older 100) (20 | 50 | 100 | 250 | 500)