User contributions
From ProgrammingExamples
(newest | oldest) View (newer 250 | older 250) (20 | 50 | 100 | 250 | 500)
- 22:43, 29 January 2011 (diff | hist) . . (-13) . . CPP/Templates/FunctionTemplateHeaderOnly
- 22:39, 29 January 2011 (diff | hist) . . (-47) . . CPP (→Classes)
- 22:38, 29 January 2011 (diff | hist) . . (-128) . . CPP/Templates/ClassTemplateExplicitInstantiation (current)
- 22:36, 29 January 2011 (diff | hist) . . (+595) . . N CPP/Templates/ClassTemplateHeaderOnly (Created page with '==ClassTemplateHeaderOnly.cpp== <source lang="cpp"> #include <iostream> #include "Point.h" int main(int argc, char* argv[]) { Point<double> A; std::cout << A.Add( ) << std…') (current)
- 22:34, 29 January 2011 (diff | hist) . . (+168) . . CPP (→Templates)
- 22:33, 29 January 2011 (diff | hist) . . (0) . . m CPP/Templates/ClassTemplateExplicitInstantiation (moved CPP/Classes/ClassTemplate to CPP/Templates/ClassTemplateExplicitInstantiation)
- 22:33, 29 January 2011 (diff | hist) . . (+62) . . N CPP/Classes/ClassTemplate (moved CPP/Classes/ClassTemplate to CPP/Templates/ClassTemplateExplicitInstantiation) (current)
- 18:35, 27 January 2011 (diff | hist) . . (+720) . . N CPP/STL/IteratorFromObject (Created page with '==IteratorFromObject.cpp== <source lang="cpp"> #include <iostream> #include <vector> #include <set> template<typename T> void Output(T& myObject) { for(typename T::iterator it…') (current)
- 18:35, 27 January 2011 (diff | hist) . . (-2) . . m CPP/STL/String (current)
- 18:34, 27 January 2011 (diff | hist) . . (+53) . . CPP (→STL Data Structures)
- 17:15, 27 January 2011 (diff | hist) . . (+1,101) . . N Boost/BGL/DepthFirstSearch (Created page with '==DepthFirstSearch.cpp== <source lang="cpp"> #include <boost/graph/adjacency_list.hpp> #include <boost/graph/depth_first_search.hpp> #include <iostream> class custom_dfs_visito…')
- 17:11, 27 January 2011 (diff | hist) . . (+1,120) . . N Boost/BGL/BreadthFirstSearch (Created page with '==BreadthFirstSearch.cpp== <source lang="cpp"> #include <boost/graph/adjacency_list.hpp> #include <boost/graph/breadth_first_search.hpp> #include <iostream> class custom_bfs_vi…')
- 17:10, 27 January 2011 (diff | hist) . . (+128) . . Boost (→Boost Graph Library (BGL))
- 14:40, 27 January 2011 (diff | hist) . . (+2,047) . . N Boost/BGL/BundledProperties (Created page with '==BundledProperties.cpp== <source lang="cpp"> #include <iostream> #include <boost/graph/adjacency_list.hpp> // Create a struct to hold several properties struct MyProperty { i…')
- 14:30, 27 January 2011 (diff | hist) . . (+349) . . Boost/BGL/VertexProperties
- 11:46, 27 January 2011 (diff | hist) . . (+1,107) . . N Boost/BGL/NumberOfNeighbors (Created page with '==NumberOfNeighbors.cpp== <source lang="cpp"> #include <iostream> #include <boost/graph/graph_traits.hpp> #include <boost/graph/adjacency_list.hpp> typedef boost::adjacency_list…')
- 11:46, 27 January 2011 (diff | hist) . . (+84) . . Boost (→Boost Graph Library (BGL))
- 11:43, 27 January 2011 (diff | hist) . . (+1,180) . . N Boost/BGL/DirectedGraph (Created page with '==DirectedGraph.cpp== <source lang="cpp"> #include <iostream> #include <boost/graph/graph_traits.hpp> #include <boost/graph/adjacency_list.hpp> typedef boost::adjacency_list<boo…')
- 11:42, 27 January 2011 (diff | hist) . . (+1,773) . . N Boost/BGL/BidirectionalGraph (Created page with '==BidirectionalGraph.cpp== <source lang="cpp"> #include <iostream> #include <boost/graph/graph_traits.hpp> #include <boost/graph/adjacency_list.hpp> //typedef boost::adjacency_l…')
- 11:41, 27 January 2011 (diff | hist) . . (+177) . . Boost (→Boost Graph Library (BGL))
- 11:27, 27 January 2011 (diff | hist) . . (+1,491) . . N Boost/BGL/AdjacentVertices (Created page with '==AdjacentVertices.cpp== <source lang="cpp"> #include <iostream> #include <boost/graph/graph_traits.hpp> #include <boost/graph/adjacency_list.hpp> #include <boost/graph/adjacency…')
- 11:26, 27 January 2011 (diff | hist) . . (+83) . . Boost (→Boost Graph Library (BGL))
- 11:02, 27 January 2011 (diff | hist) . . (+1,117) . . N Boost/BGL/VertexProperties (Created page with '==VertexProperties.cpp== <source lang="cpp"> #include <iostream> #include <boost/graph/graph_traits.hpp> #include <boost/graph/adjacency_list.hpp> typedef boost::property<boost:…')
- 11:01, 27 January 2011 (diff | hist) . . (+121) . . Boost (→Boost Graph Library (BGL))
- 10:56, 27 January 2011 (diff | hist) . . (-168) . . Boost/BGL/EdgeProperties
- 09:16, 27 January 2011 (diff | hist) . . (+510) . . N CPP/Strings/DetectPunctuation (Created page with '==DetectPunctuation.cpp== <source lang="cpp"> #include <iostream> #include <cctype> #include <string> int main() { std::string teststring = "test.string"; for(unsigned in…') (current)
- 09:16, 27 January 2011 (diff | hist) . . (+65) . . CPP (→Strings)
- 16:55, 26 January 2011 (diff | hist) . . (+1,662) . . N Boost/BGL/EdgeProperties (Created page with '==CreateGraph.cpp== <source lang="cpp"> #include <iostream> // for std::cout #include <boost/graph/graph_traits.hpp> #include <boost/graph/adjacency_list.hpp> /…')
- 16:55, 26 January 2011 (diff | hist) . . (+92) . . Boost
- 16:16, 26 January 2011 (diff | hist) . . (-318) . . Boost/BGL/CreateGraph
- 15:28, 26 January 2011 (diff | hist) . . (+2,615) . . N Boost/BGL/CreateGraph (Created page with '==Timer.cpp== <source lang="cpp"> #include <iostream> // for std::cout #include <utility> // for std::pair #include <algorithm> …')
- 15:27, 26 January 2011 (diff | hist) . . (+43) . . Boost
- 15:05, 25 January 2011 (diff | hist) . . (+447) . . N CPP/HexToInt (Created page with '==HexToInt.cxx== <source lang="cpp"> #include <iostream> #include <sstream> #include <string> int main(int argc, char *argv[]) { std::string hexNumber = "0x12"; std::stri…')
- 15:05, 25 January 2011 (diff | hist) . . (+50) . . CPP (→General Examples)
- 15:01, 25 January 2011 (diff | hist) . . (+655) . . N CPP/IntToHex (Created page with '==IntToHex.cxx== <source lang="cpp"> #include <iostream> #include <sstream> int IntToHex(int input); int main(int argc, char* argv[]) { int serial = 40000359; int serialHex…')
- 15:00, 25 January 2011 (diff | hist) . . (+41) . . CPP (→General Examples)
- 21:13, 24 January 2011 (diff | hist) . . (+693) . . N CPP/STL/Complex (Created page with 'A complex number (a + bi). ==Complex.cpp== <source lang="cpp"> #include <iostream> #include <complex> int main (int argc, char *argv[]) { std::complex<double> a(3.4, 5.7); //…') (current)
- 21:12, 24 January 2011 (diff | hist) . . (-97) . . CPP/STL/Heap (current)
- 21:12, 24 January 2011 (diff | hist) . . (+29) . . CPP (→STL Data Structures)
- 15:10, 24 January 2011 (diff | hist) . . (+1,532) . . N CPP/FunctionTemplateSpecialization (Created page with '==FunctionTemplateSpecialization.cpp== <source lang="cpp"> #include <iostream> #include <vector> #include "Point.h" int main(int argc, char* argv[]) { std::vector<unsigned in…') (current)
- 15:08, 24 January 2011 (diff | hist) . . (+74) . . CPP (→Templates)
- 10:53, 24 January 2011 (diff | hist) . . (+175) . . N Bash/LoopOverFiles (Created page with 'This example loops over all of the png files in the current directory and calls ls on them. ==LoopOverFiles.sh== <source lang="bash"> for i in *.png; do ls $i; done; </source>') (current)
- 10:51, 24 January 2011 (diff | hist) . . (+40) . . N Bash (Created page with '* Loop over files')
- 10:51, 24 January 2011 (diff | hist) . . (+11) . . Main Page (→Languages)
- 10:07, 24 January 2011 (diff | hist) . . (+589) . . N CPP/Templates/FunctionTemplateHeaderOnly (Created page with '==FunctionTemplate.cpp== <source lang="cpp"> #include <iostream> template<typename T> void PrintSomething(T something); int main(int, char*[]) { double a = 1.2; PrintSometh…')
- 10:07, 24 January 2011 (diff | hist) . . (+64) . . CPP (→Classes)
- 11:50, 23 January 2011 (diff | hist) . . (+164) . . Boost
- 11:49, 23 January 2011 (diff | hist) . . (+167) . . CPP/Boost/Timer (current)
- 11:48, 23 January 2011 (diff | hist) . . (-14) . . CPP/Boost/ThreadsMember (current)
- 11:47, 23 January 2011 (diff | hist) . . (+211) . . CPP/Boost/Threads
- 11:45, 23 January 2011 (diff | hist) . . (+162) . . CPP/Boost/ProgressBar (current)
- 11:44, 23 January 2011 (diff | hist) . . (+484) . . CPP/Boost/ProgramOptions/MultipleArguments (current)
- 11:43, 23 January 2011 (diff | hist) . . (+505) . . CPP/Boost/ProgramOptions/Simple (current)
- 11:39, 23 January 2011 (diff | hist) . . (+140) . . CPP/Boost/Numeric/Matrix (current)
- 11:36, 23 January 2011 (diff | hist) . . (+387) . . CPP/Boost/Histogram (current)
- 11:35, 23 January 2011 (diff | hist) . . (+580) . . N Boost (Created page with '== Boost == * Create a histogram (accumulator) * Matrix * Multi dimensional array * [[CPP/Bo…')
- 11:34, 23 January 2011 (diff | hist) . . (+29) . . Main Page
- 11:34, 23 January 2011 (diff | hist) . . (-584) . . CPP (→Boost)
- 10:46, 23 January 2011 (diff | hist) . . (+453) . . CPP/Boost/ProgramOptions/Simple
- 20:34, 21 January 2011 (diff | hist) . . (-9) . . OpenCV
- 20:34, 21 January 2011 (diff | hist) . . (0) . . m OpenCV/ImageProcessing/Smoothing (moved OpenCV/WishList/ImageProcessing/Smoothing to OpenCV/ImageProcessing/Smoothing) (current)
- 20:34, 21 January 2011 (diff | hist) . . (+46) . . N OpenCV/WishList/ImageProcessing/Smoothing (moved OpenCV/WishList/ImageProcessing/Smoothing to OpenCV/ImageProcessing/Smoothing) (current)
- 19:19, 21 January 2011 (diff | hist) . . (+64) . . OpenCV (→Wish List)
- 19:18, 21 January 2011 (diff | hist) . . (+24) . . OpenCV (→Common Tasks)
- 16:48, 21 January 2011 (diff | hist) . . (-168) . . m OpenCV/WishList/IO/WriteMatrix (→CMakeLists.txt)
- 16:47, 21 January 2011 (diff | hist) . . (-188) . . m OpenCV/CommonTasks/DecomposeProjectionMatrix (→CMakeLists.txt)
- 16:47, 21 January 2011 (diff | hist) . . (-168) . . m OpenCV/CommonTasks/RemoveDistortion (→CMakeLists.txt) (current)
- 16:47, 21 January 2011 (diff | hist) . . (-168) . . m OpenCV/Convenience/ConvertMatrixType (→CMakeLists.txt) (current)
- 16:47, 21 January 2011 (diff | hist) . . (-168) . . m OpenCV/Convenience/ComposeP (→CMakeLists.txt) (current)
- 16:47, 21 January 2011 (diff | hist) . . (-168) . . m OpenCV/CheckerboardCalibration (→CMakeLists.txt) (current)
- 16:47, 21 January 2011 (diff | hist) . . (-168) . . m OpenCV/IO/DisplayImage (→CMakeLists.txt) (current)
- 16:47, 21 January 2011 (diff | hist) . . (-168) . . m OpenCV/IO/WriteImage (→CMakeLists.txt) (current)
- 16:46, 21 January 2011 (diff | hist) . . (-168) . . m OpenCV/IO/ReadImage (→CMakeLists.txt) (current)
- 16:46, 21 January 2011 (diff | hist) . . (-168) . . m OpenCV/Basics/Image (→CMakeLists.txt) (current)
- 16:46, 21 January 2011 (diff | hist) . . (-168) . . m OpenCV/Basics/MatrixMultiplication (current)
- 16:46, 21 January 2011 (diff | hist) . . (-168) . . m OpenCV/Basics/PseudoInverse (current)
- 16:46, 21 January 2011 (diff | hist) . . (-168) . . m OpenCV/Basics/MatrixProperties (→CMakeLists.txt) (current)
- 16:46, 21 January 2011 (diff | hist) . . (-168) . . m OpenCV/Basics/Matrix3Channel (current)
- 16:46, 21 January 2011 (diff | hist) . . (-168) . . m OpenCV/Basics/MatrixInverse (current)
- 16:46, 21 January 2011 (diff | hist) . . (-168) . . m OpenCV/Basics/Matrix (→CMakeLists.txt) (current)
- 16:45, 21 January 2011 (diff | hist) . . (-168) . . m OpenCV/Basics/Point (→CMakeLists.txt) (current)
- 16:34, 21 January 2011 (diff | hist) . . (-1) . . m OpenCV/Basics/Scalar (current)
- 16:29, 21 January 2011 (diff | hist) . . (-167) . . m OpenCV/Basics/Scalar (→CMakeLists.txt)
- 16:28, 21 January 2011 (diff | hist) . . (+244) . . Talk:OpenCV/Basics/Scalar
- 11:31, 21 January 2011 (diff | hist) . . (0) . . OpenCV/WishList/IO/WriteMatrix
- 11:26, 21 January 2011 (diff | hist) . . (+614) . . OpenCV/WishList/IO/WriteMatrix
- 11:13, 21 January 2011 (diff | hist) . . (-106) . . OpenCV/WishList/IO/WriteMatrix
- 11:04, 21 January 2011 (diff | hist) . . (+93) . . OpenCV/WishList/IO/WriteMatrix
- 11:04, 21 January 2011 (diff | hist) . . (-19) . . OpenCV/WishList/IO/WriteMatrix
- 11:02, 21 January 2011 (diff | hist) . . (+1,125) . . N OpenCV/WishList/IO/WriteMatrix (Created page with '==WriteMatrix.cxx== <source lang="cpp"> #include "cv.h" #include "opencv2/highgui/highgui.hpp" #include <iostream> int main(int argc, char*argv[]) { cv::Mat myMatrix(3,3,CV_3…')
- 11:01, 21 January 2011 (diff | hist) . . (+62) . . OpenCV (→Wish List)
- 10:54, 21 January 2011 (diff | hist) . . (+96) . . OpenCV (→Wish List)
- 10:51, 21 January 2011 (diff | hist) . . (+250) . . OpenCV
- 10:24, 21 January 2011 (diff | hist) . . (+102) . . OpenCV
- 10:21, 21 January 2011 (diff | hist) . . (+15) . . m OpenCV (→Common Tasks)
- 10:21, 21 January 2011 (diff | hist) . . (+58) . . N OpenCV/CommonTasks/DecomposeP (moved OpenCV/CommonTasks/DecomposeP to OpenCV/CommonTasks/DecomposeProjectionMatrix) (current)
- 10:21, 21 January 2011 (diff | hist) . . (0) . . m OpenCV/CommonTasks/DecomposeProjectionMatrix (moved OpenCV/CommonTasks/DecomposeP to OpenCV/CommonTasks/DecomposeProjectionMatrix)
- 10:20, 21 January 2011 (diff | hist) . . (+1,468) . . N OpenCV/CommonTasks/DecomposeProjectionMatrix (Created page with '==DecomposeProjectionMatrix.cxx== <source lang="cpp"> #include <cv.h> #include <highgui.h> #include <iostream> int main(int argc, char*argv[]) { // Create a synthetic project…')
- 10:20, 21 January 2011 (diff | hist) . . (+103) . . OpenCV
- 20:09, 20 January 2011 (diff | hist) . . (+2) . . m OpenCV/IO/ReadImage
- 19:58, 20 January 2011 (diff | hist) . . (+3,411) . . N OpenCV/CommonTasks/RemoveDistortion (Created page with '==RemoveDistortion.cxx== <source lang="cpp"> #include "cv.h" #include "opencv2/core/core.hpp" #include "opencv2/imgproc/imgproc.hpp" #include "opencv2/calib3d/calib3d.hpp" #inclu…')
- 19:48, 20 January 2011 (diff | hist) . . (+80) . . OpenCV
- 19:47, 20 January 2011 (diff | hist) . . (+811) . . N OpenCV/Basics/Image (Created page with '==Image.cxx== <source lang="cpp"> #include "cv.h" #include <iostream> int main() { // Create an image of scalars (the '1' as the last parameter) IplImage* image = cvCreateI…')
- 19:46, 20 January 2011 (diff | hist) . . (+46) . . OpenCV
- 19:44, 20 January 2011 (diff | hist) . . (+1,413) . . N OpenCV/Convenience/ConvertMatrixType (Created page with '==ConvertMatrixType.cxx== <source lang="cpp"> #include "cv.h" #include <iostream> cv::Mat GetFloat(cv::Mat M); int main(int, char*[]) { cv::Mat doubleMatrix(3,3,CV_64FC1); …')
- 19:41, 20 January 2011 (diff | hist) . . (+1,642) . . N OpenCV/Convenience/ComposeP (Created page with '==ComposeP.cxx== <source lang="cpp"> #include "cv.h" #include <iostream> cv::Mat ConstructP(cv::Mat R, cv::Mat T, cv::Mat K); int main(int, char*[]) { // Generate test R, K,…')
- 19:41, 20 January 2011 (diff | hist) . . (+110) . . OpenCV
- 19:32, 20 January 2011 (diff | hist) . . (+81) . . OpenCV
- 19:31, 20 January 2011 (diff | hist) . . (+3,295) . . N OpenCV/CheckerboardCalibration (Created page with '==CheckerboardCalibration.cxx== <source lang="cpp"> #include "opencv2/core/core.hpp" #include "opencv2/imgproc/imgproc.hpp" #include "opencv2/calib3d/calib3d.hpp" #include "openc…')
- 19:26, 20 January 2011 (diff | hist) . . (+12) . . OpenCV
- 19:26, 20 January 2011 (diff | hist) . . (+794) . . N OpenCV/IO/WriteImage (Created page with '==WriteImage.cxx== <source lang="cpp"> #include "opencv2/highgui/highgui.hpp" #include <iostream> #include <string> int main( int argc, char* argv[]) { std::string inputFileN…')
- 19:23, 20 January 2011 (diff | hist) . . (+932) . . N OpenCV/IO/DisplayImage (Created page with '==DisplayImage.cxx== <source lang="cpp"> #include <opencv2/core/core.hpp> #include <opencv2/highgui/highgui.hpp> #include <iostream> int main(int argc, char*argv[]) { // Read…')
- 19:21, 20 January 2011 (diff | hist) . . (+798) . . N OpenCV/IO/ReadImage (Created page with '==ReadImage.cxx== <source lang="cpp"> #include <opencv2/highgui/highgui.hpp> #include "cv.h" #include <iostream> int main(int, char*[]) { cv::Mat image = cv::imread("calleig…')
- 19:16, 20 January 2011 (diff | hist) . . (+1,099) . . N OpenCV/Basics/MatrixMultiplication (Created page with '==MatrixMultiplication.cxx== <source lang="cpp"> #include "cv.h" #include <iostream> int main() { cv::Mat A(3,3,CV_32FC1); for(unsigned int i = 0; i < 3; i++) { for…')
- 19:16, 20 January 2011 (diff | hist) . . (+910) . . N OpenCV/Basics/PseudoInverse (Created page with '==PseudoInverse.cxx== <source lang="cpp"> #include "cv.h" #include <iostream> int main() { cv::Mat A(3,4,CV_32FC1); for(unsigned int i = 0; i < 3; i++) { for(unsig…')
- 18:48, 20 January 2011 (diff | hist) . . (+56) . . OpenCV
- 18:48, 20 January 2011 (diff | hist) . . (0) . . m OpenCV/Basics/MatrixProperties (moved OpenCV/MatrixProperties to OpenCV/Basics/MatrixProperties)
- 18:48, 20 January 2011 (diff | hist) . . (+44) . . N OpenCV/MatrixProperties (moved OpenCV/MatrixProperties to OpenCV/Basics/MatrixProperties) (current)
- 18:48, 20 January 2011 (diff | hist) . . (0) . . m OpenCV/Basics/Matrix3Channel (moved OpenCV/Matrix3Channel to OpenCV/Basics/Matrix3Channel)
- 18:48, 20 January 2011 (diff | hist) . . (+42) . . N OpenCV/Matrix3Channel (moved OpenCV/Matrix3Channel to OpenCV/Basics/Matrix3Channel) (current)
- 18:48, 20 January 2011 (diff | hist) . . (0) . . m OpenCV/Basics/MatrixInverse (moved OpenCV/MatrixInverse to OpenCV/Basics/MatrixInverse)
- 18:48, 20 January 2011 (diff | hist) . . (+41) . . N OpenCV/MatrixInverse (moved OpenCV/MatrixInverse to OpenCV/Basics/MatrixInverse) (current)
- 18:48, 20 January 2011 (diff | hist) . . (0) . . m OpenCV/Basics/Matrix (moved OpenCV/Matrix to OpenCV/Basics/Matrix)
- 18:48, 20 January 2011 (diff | hist) . . (+34) . . N OpenCV/Matrix (moved OpenCV/Matrix to OpenCV/Basics/Matrix) (current)
- 18:48, 20 January 2011 (diff | hist) . . (0) . . m OpenCV/Basics/Point (moved OpenCV/Point to OpenCV/Basics/Point)
- 18:48, 20 January 2011 (diff | hist) . . (+33) . . N OpenCV/Point (moved OpenCV/Point to OpenCV/Basics/Point) (current)
- 18:48, 20 January 2011 (diff | hist) . . (0) . . m OpenCV/Basics/Scalar (moved OpenCV/Scalar to OpenCV/Basics/Scalar)
- 18:48, 20 January 2011 (diff | hist) . . (+34) . . N OpenCV/Scalar (moved OpenCV/Scalar to OpenCV/Basics/Scalar) (current)
- 18:47, 20 January 2011 (diff | hist) . . (+367) . . OpenCV
- 18:41, 20 January 2011 (diff | hist) . . (+787) . . N OpenCV/Basics/MatrixProperties (Created page with '==MatrixProperties.cxx== <source lang="cpp"> #include "cv.h" #include <iostream> int main() { cv::Mat A(3,3,CV_32FC1); std::cout << A.depth() << std::endl; // float seems …')
- 18:40, 20 January 2011 (diff | hist) . . (+1,110) . . N OpenCV/Basics/Matrix3Channel (Created page with '==Matrix3Channel.cxx== <source lang="cpp"> #include "cv.h" #include <iostream> int main() { cv::Mat myMatrix(3,3,CV_32FC3); std::cout << "Input:" << std::endl; for(unsig…')
- 18:40, 20 January 2011 (diff | hist) . . (+905) . . N OpenCV/Basics/MatrixInverse (Created page with '==MatrixInverse.cxx== <source lang="cpp"> #include "cv.h" #include <iostream> int main() { cv::Mat A(3,3,CV_32FC1); for(unsigned int i = 0; i < 3; i++) { for(unsig…')
- 18:39, 20 January 2011 (diff | hist) . . (+131) . . OpenCV
- 17:33, 20 January 2011 (diff | hist) . . (-23) . . OpenCV/Basics/Scalar
- 17:33, 20 January 2011 (diff | hist) . . (-5) . . m OpenCV
- 17:31, 20 January 2011 (diff | hist) . . (+890) . . N OpenCV/Basics/Matrix (Created page with '==Matrix.cxx== <source lang="cpp"> #include "cv.h" #include <iostream> using namespace cv; int main() { Mat R(3,3,CV_32FC1); for(unsigned int i = 0; i < 3; i++) { …')
- 17:30, 20 January 2011 (diff | hist) . . (+653) . . N OpenCV/Basics/Point (Created page with '==Point.cxx== <source lang="cpp"> #include "cv.h" #include <iostream> int main() { cv::Point3f myPoint; myPoint.x = 1; myPoint.y = 2; myPoint.z = 3; std::cout <<…')
- 17:29, 20 January 2011 (diff | hist) . . (+755) . . N OpenCV/Basics/Scalar (Created page with '==Scalar.cxx== <source lang="cpp"> #include "opencv2/calib3d/calib3d.hpp" #include <iostream> int main() { cv::Scalar myScalar; myScalar.val[0] = 1; myScalar.val[1] = 2;…')
- 17:28, 20 January 2011 (diff | hist) . . (+107) . . N OpenCV (Created page with '=== OpenGL/glut Examples === * Scalar * Point * Matrix')
- 17:23, 20 January 2011 (diff | hist) . . (+36) . . Main Page
- 10:24, 17 December 2010 (diff | hist) . . (+1,775) . . N Qt/Widgets/QWidgetSubclass (Created page with '==Form.h== <source lang="cpp"> #ifndef BUTTONFORM_H #define BUTTONFORM_H #include "ui_form.h" class MyForm : public QWidget, private Ui::Form { Q_OBJECT public: MyForm(QWi…') (current)
- 10:23, 17 December 2010 (diff | hist) . . (+64) . . Qt
- 21:05, 8 December 2010 (diff | hist) . . (+620) . . N CPP/Strings/Find (Created page with '==Find.cpp== <source lang="cpp"> #include <iostream> #include <string> #include <algorithm> int main(int argc, char *argv[]) { std::string hello = "hello"; int pos = hello.…') (current)
- 21:03, 8 December 2010 (diff | hist) . . (+56) . . CPP (→Strings)
- 09:35, 5 December 2010 (diff | hist) . . (+449) . . N CPP/Typeof (Created page with '==Typeof.cpp== <source lang="cpp"> #include <iostream> #include <vector> int main(int, char*[]) { int a = 2; std::cout << a << std::endl; typeof(a) b = 3; std::cout …') (current)
- 09:35, 5 December 2010 (diff | hist) . . (+26) . . CPP (→Utility)
- 09:34, 5 December 2010 (diff | hist) . . (-4) . . m CPP (→Programming Examples)
- 08:32, 1 December 2010 (diff | hist) . . (+132) . . N User talk:Mikael.s.persson (Created page with 'Mikael, Thank you for the contributions! Please keep up the good work! ~~~~')
- 08:31, 1 December 2010 (diff | hist) . . (+7) . . m CPP/Classes/InitializationList (current)
- 14:19, 30 November 2010 (diff | hist) . . (+2,327) . . N Qt/ButtonWidgetMultipleInheritance (Created page with '==main.cpp== <source lang="cpp"> #include <QApplication> #include "buttonform.h" int main(int argc, char *argv[]) { QApplication app(argc, argv); MyForm form; …') (current)
- 14:17, 30 November 2010 (diff | hist) . . (+99) . . Qt
- 13:37, 30 November 2010 (diff | hist) . . (+1,032) . . N CPP/Boost/ThreadCommunication (Created page with '==ThreadCommunication.cpp== <source lang="cpp"> #include <iostream> #include <vector> #include <boost/thread/thread.hpp> class CSharedData { public: CSharedData() : data(0)…') (current)
- 13:36, 30 November 2010 (diff | hist) . . (+12) . . m CPP (→Boost)
- 13:36, 30 November 2010 (diff | hist) . . (+9) . . CPP (→Boost)
- 21:30, 28 November 2010 (diff | hist) . . (+491) . . Qt/Widgets/ThreadClassMessageBox (current)
- 21:27, 28 November 2010 (diff | hist) . . (-35) . . m Qt/Widgets/MessageBoxFromThread (current)
- 21:27, 28 November 2010 (diff | hist) . . (+2,886) . . N Qt/Widgets/ThreadClassMessageBox (Created page with 'This example is currently broken. ==ThreadClassMessageBox.cxx== <source lang="cpp"> #include <QApplication> #include <iostream> #include "form.h" int main(int argc, char*argv…')
- 21:23, 28 November 2010 (diff | hist) . . (+86) . . Qt
- 21:20, 28 November 2010 (diff | hist) . . (-7) . . Qt/Widgets/MessageBoxFromThread
- 20:01, 28 November 2010 (diff | hist) . . (+143) . . N CPP/STL/Heap (Created page with 'See priority queue (these are the same thing). ==Heap.cpp== <source lang="cpp"> </source> ==CMakeLists.txt== <source lang="cmake"> </source>')
- 19:59, 28 November 2010 (diff | hist) . . (+23) . . CPP (→STL Data Structures)
- 19:56, 28 November 2010 (diff | hist) . . (+101) . . N CPP/TCPSocket (Created page with '==TCPSocket.cpp== <source lang="cpp"> </source> ==CMakeLists.txt== <source lang="cmake"> </source>') (current)
- 19:55, 28 November 2010 (diff | hist) . . (+32) . . CPP (→Utility)
- 19:10, 28 November 2010 (diff | hist) . . (+240) . . Qt/Widgets/MessageBoxFromThread
- 15:35, 28 November 2010 (diff | hist) . . (+87) . . m Qt/Widgets/MessageBoxFromThread
- 15:32, 28 November 2010 (diff | hist) . . (+1,594) . . Qt/Widgets/MessageBoxFromThread
- 15:16, 28 November 2010 (diff | hist) . . (+896) . . N Qt/Widgets/MessageBoxFromThread (Created page with '==MessageBoxFromThread.cxx== <source lang="cpp"> #include <QThread> #include <QMessageBox> #include <QApplication> #include <iostream> class MyThread : public QThread { public…')
- 15:15, 28 November 2010 (diff | hist) . . (+63) . . Qt
- 15:08, 28 November 2010 (diff | hist) . . (+725) . . N Qt/Widgets/Thread (Created page with '==Thread.cxx== <source lang="cpp"> #include <QThread> class MyThread : public QThread { public: virtual void run(); }; void MyThread::run() { for( int count = 0; count …')
- 15:08, 28 November 2010 (diff | hist) . . (+31) . . Qt
- 21:16, 23 November 2010 (diff | hist) . . (+893) . . N CPP/Boost/ThreadsMember (Created page with '==ThreadsMember.cxx== <source lang="cpp"> #include <iostream> #include <vector> #include <cstdlib> #include <cmath> #include <boost/thread.hpp> #include <boost/bind.hpp> using …')
- 20:48, 23 November 2010 (diff | hist) . . (+2,061) . . N OpenGL/Text (Created page with 'This example displays white text in the lower left corner of the window. ==Text.cxx== <source lang="cpp"> #include <iostream> #include <cstdio> #include <string> #include <cstdl…') (current)
- 20:47, 23 November 2010 (diff | hist) . . (+5,051) . . N OpenGL/Screenshot (Created page with 'Requires VXL. ==Test.cxx== <source lang="cpp"> #include <iostream> #include <cstdlib> //for exit() #include <GL/glut.h> #include <vil/vil_rgb.h> #include <vil/vil_load.h> #inc…') (current)
- 20:44, 23 November 2010 (diff | hist) . . (+3,146) . . N OpenGL/Lighting (Created page with '==Lighting.cxx== <source lang="cpp"> #include <iostream> #include <glut.h> using namespace std; void display(); void LookAt(); void DrawCube(); void DrawSphere(const float sca…') (current)
- 20:44, 23 November 2010 (diff | hist) . . (+89) . . OpenGL (current)
- 20:42, 23 November 2010 (diff | hist) . . (+2,351) . . N OpenGL/DisplayList (Created page with '==DisplayList.cxx== <source lang="cpp"> #include <iostream> #include <GL/glut.h> using namespace std; void display(void); void polygon(int a, int b, int c , int d); void DrawC…') (current)
- 20:41, 23 November 2010 (diff | hist) . . (+5,109) . . N OpenGL/ColorPick (Created page with '==ColorPick.cxx== <source lang="cpp"> #include <iostream> #include <vector> #include <map> #include <cstdio> #include <glut.h> void display(); void LookAt(); void DrawCube(cons…') (current)
- 20:41, 23 November 2010 (diff | hist) . . (+70) . . OpenGL
- 20:37, 23 November 2010 (diff | hist) . . (+3,046) . . N OpenGL/Alpha (Created page with '==Alpha.cxx== <source lang="cpp"> #include <iostream> #include <glut.h> using namespace std; void display(); void LookAt(); void DrawSphere(const float radius, const float alp…') (current)
- 20:36, 23 November 2010 (diff | hist) . . (+3,387) . . N OpenGL/DrawCube (Created page with '==DrawCube.cxx== <source lang="cpp"> #include <iostream> #include <cstdlib> //for exit() #include <GL/glut.h> void display(void); void ProcessKeyboard(unsigned char key, int x,…') (current)
- 20:36, 23 November 2010 (diff | hist) . . (+100) . . N OpenGL (Created page with '=== OpenGL/glut Examples === * Draw a cube * Alpha/transparency')
- 20:23, 23 November 2010 (diff | hist) . . (+144) . . Main Page
- 13:55, 23 November 2010 (diff | hist) . . (+677) . . N CPP/PThreads (Created page with '==PThreads.cpp== <source lang="cpp"> #include <iostream> #include <pthread.h> #include <cstdlib> using namespace std; void *task(void *arg) { for (unsigned int i = 0; i < 1e3…') (current)
- 13:54, 23 November 2010 (diff | hist) . . (+30) . . CPP (→Utility)
- 13:53, 23 November 2010 (diff | hist) . . (+95) . . CPP/Sockets (current)
- 13:51, 23 November 2010 (diff | hist) . . (+3,858) . . N CPP/Sockets (Created page with 'First run server 51717 Then run (while 'server' is still running): client localhost 51717 The client will ask you to type a message. Do this, and press enter. You will see th…')
- 13:49, 23 November 2010 (diff | hist) . . (+28) . . CPP (→Utility)
- 20:26, 6 November 2010 (diff | hist) . . (+1) . . m Qt/Widgets/Timer (→CMakeLists.txt)
- 20:26, 6 November 2010 (diff | hist) . . (+1) . . m Qt/Widgets/RadioButton (→CMakeLists.txt)
- 20:26, 6 November 2010 (diff | hist) . . (+1) . . m Qt/Widgets/FileDialog (→CMakeLists.txt) (current)
- 20:26, 6 November 2010 (diff | hist) . . (+1) . . m Qt/Widgets/Slider (→CMakeLists.txt)
- 20:26, 6 November 2010 (diff | hist) . . (+1) . . m Qt/Widgets/ProgressBarMarquee (→CMakeLists.txt) (current)
- 20:26, 6 November 2010 (diff | hist) . . (+1) . . m Qt/Widgets/ProgressBar (→CMakeLists.txt) (current)
- 20:26, 6 November 2010 (diff | hist) . . (+1) . . m Qt/Widgets/ComboBox (→CMakeLists.txt) (current)
- 20:26, 6 November 2010 (diff | hist) . . (+1) . . m Qt/Widgets/CheckBox (→CMakeLists.txt) (current)
- 20:25, 6 November 2010 (diff | hist) . . (+1) . . m Qt/CallANormalFunction (→CMakeLists.txt) (current)
- 20:25, 6 November 2010 (diff | hist) . . (-1) . . m Qt/ButtonWidget (→CMakeLists.txt) (current)
- 14:09, 30 October 2010 (diff | hist) . . (+145) . . CPP/Casting (current)
- 14:09, 30 October 2010 (diff | hist) . . (+94) . . CPP/2DVector (→CMakeLists.txt) (current)
- 16:17, 3 October 2010 (diff | hist) . . (+416) . . N CPP/AnonymousNamespace (Created page with '==AnonymousNamespace.cxx== <source lang="cpp"> #include <iostream> namespace { void Test(); } int main (int argc, char *argv[]) { Test(); return 0; } namespace { void…') (current)
- 16:16, 3 October 2010 (diff | hist) . . (+49) . . CPP (→Programming Examples)
- 08:42, 21 September 2010 (diff | hist) . . (+16) . . m CPP/STL/Vector
- 11:54, 19 September 2010 (diff | hist) . . (+573) . . N CPP/Strings/FindAndReplace (Created page with '==FindAndReplace.cpp== <source lang="cpp"> #include <iostream> #include <string> int main(int argc, char *argv[]) { std::string sentence = "hello world test"; std::string w…') (current)
- 11:54, 19 September 2010 (diff | hist) . . (+98) . . CPP (→Strings)
- 10:56, 30 August 2010 (diff | hist) . . (+6) . . CPP (→Strings)
- 08:38, 9 August 2010 (diff | hist) . . (+12) . . m CPP (→Programming Examples)
- 14:38, 4 August 2010 (diff | hist) . . (+880) . . N CPP/STL/Stack (Created page with '==Stack.cxx== <source lang="cpp"> #include <iostream> #include <stack> #include <vector> #include <cstdlib> #include <algorithm> double RandomDouble(); int main(int argc, char*…') (current)
- 14:37, 4 August 2010 (diff | hist) . . (+25) . . CPP (→STL Data Structures)
- 14:21, 1 August 2010 (diff | hist) . . (+850) . . N CPP/Boost/Numeric/MultiArray (Created page with '==MultiArray.cpp== <source lang="cpp"> #include "boost/multi_array.hpp" #include <cassert> #include <iostream> int main () { // Create a 3D array that is 3 x 4 x 2 typedef …') (current)
- 14:20, 1 August 2010 (diff | hist) . . (+59) . . CPP (→Boost)
- 13:49, 1 August 2010 (diff | hist) . . (+574) . . N CPP/2DVector (Created page with '==2DVector.cpp== <source lang="cpp"> #include <iostream> #include <vector> #include <iomanip> int main(int argc, char *argv[]) { std::vector<std::vector<int> > items ( 5, std:…')
- 13:46, 1 August 2010 (diff | hist) . . (+29) . . CPP (→Programming Examples)
- 15:59, 29 July 2010 (diff | hist) . . (+519) . . N CPP/Math/SumVector (Created page with '==SumVector.cpp== <source lang="cpp"> #include <iostream> #include <vector> #include <numeric> int main (int argc, char *argv[]) { std::vector<int> vec; vec.push_back(1); …') (current)
- 15:58, 29 July 2010 (diff | hist) . . (+49) . . CPP (→Math)
- 14:55, 27 July 2010 (diff | hist) . . (+802) . . CPP/Strings/Split (current)
- 02:10, 4 July 2010 (diff | hist) . . (+216) . . Talk:CPP/BinaryIO (current)
- 02:09, 4 July 2010 (diff | hist) . . (+275) . . Talk:CPP/Classes/ConstructorInheritance (current)
- 02:07, 4 July 2010 (diff | hist) . . (+51) . . m User talk:Pb (current)
- 02:06, 4 July 2010 (diff | hist) . . (+59) . . N User talk:Pb (Created page with 'Thanks for your addition/correction! Keep them coming! !!!!')
- 19:16, 1 July 2010 (diff | hist) . . (+414) . . Talk:CPP
- 08:47, 29 June 2010 (diff | hist) . . (+2,635) . . N Qt/Widgets/Timer (Created page with '==Timer.cpp== <source lang="cpp"> #include <QProgressDialog> #include <QApplication> #include "form.h" int main( int argc, char **argv ) { QApplication app(argc, argv); Mai…')
- 08:45, 29 June 2010 (diff | hist) . . (+3,517) . . N Qt/Widgets/RadioButton (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.sho…')
- 08:44, 29 June 2010 (diff | hist) . . (+2,560) . . N Qt/Widgets/Slider (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.sho…')
- 08:42, 29 June 2010 (diff | hist) . . (+3,151) . . N Qt/Widgets/ProgressBarMarquee (Created page with '==ProgressBarMarquee.cpp== <source lang="cpp"> #include <qapplication.h> #include "form.h" int main( int argc, char **argv ) { QApplication app(argc, argv); MainWindow…')
- 08:40, 29 June 2010 (diff | hist) . . (+3,116) . . N Qt/Widgets/ProgressBar (Created page with '==ProgressBar.cpp== <source lang="cpp"> #include <qapplication.h> #include "form.h" int main( int argc, char **argv ) { QApplication app(argc, argv); MainWindow window…')
- 08:38, 29 June 2010 (diff | hist) . . (+3,362) . . N Qt/Widgets/FileDialog (Created page with '==FileDialog.cpp== <source lang="cpp"> #include <QApplication> #include "form.h" int main(int argc, char *argv[]) { QApplication app(argc, argv); MainWindow window; …')
- 08:34, 29 June 2010 (diff | hist) . . (+2,576) . . N Qt/Widgets/ComboBox (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…')
- 08:32, 29 June 2010 (diff | hist) . . (+2,756) . . N Qt/Widgets/CheckBox (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.sho…')
- 08:30, 29 June 2010 (diff | hist) . . (+355) . . Qt
- 08:28, 29 June 2010 (diff | hist) . . (+1,051) . . N Qt/CallANormalFunction (Created page with '==CallAFunction.cpp== <source lang="cpp"> #include <qpushbutton.h> #include <qapplication.h> #include "Foo.h" void MyFunction() { std::cout << "hi" << std::endl; } int main(…')
- 08:27, 29 June 2010 (diff | hist) . . (+66) . . Qt
- 08:24, 29 June 2010 (diff | hist) . . (+40) . . Qt/ButtonWidget (→buttonform.ui)
- 08:23, 29 June 2010 (diff | hist) . . (+988) . . Qt/ButtonWidget
- 08:22, 29 June 2010 (diff | hist) . . (+1,407) . . N Qt/ButtonWidget (Created page with '==main.cpp== <source lang="cpp"> #include <QApplication> #include "buttonform.h" int main(int argc, char *argv[]) { QApplication app(argc, argv); ButtonForm buttonform;…')
- 08:21, 29 June 2010 (diff | hist) . . (+36) . . Qt
- 06:52, 29 June 2010 (diff | hist) . . (+347) . . N User talk:FirstPerson (Created page with 'Thanks for your additions! I have a couple of questions. 1) On the 'struct' page, why did you return int& first(){ return m_first; } instead of simply int first(){ return m_f…') (current)
- 06:51, 29 June 2010 (diff | hist) . . (+296) . . N Talk:CPP/Debugging/Assert (Created page with 'I've heard that assert should be used only to test "contractual" function things. That is, in this example you have used it to verify a password, but that is more of a "runtime" …') (current)
- 06:49, 29 June 2010 (diff | hist) . . (-2) . . CPP/STL/SetDifference
- 18:45, 28 June 2010 (diff | hist) . . (+36) . . CPP/Strings/SingleCharacterTag (current)
- 18:14, 28 June 2010 (diff | hist) . . (+477) . . N CPP/Strings/SingleCharacterTag (Created page with '==SingleCharacterTag.cpp== <source lang="cpp"> #include <iostream> #include <string> int main() { size_t firstPos = 0, secondPos; std::string temp = "some text a <tag> and m…')
- 18:14, 28 June 2010 (diff | hist) . . (+81) . . CPP (→Strings)
- 16:20, 28 June 2010 (diff | hist) . . (+286) . . N Qt/ProgrammaticButton (Created page with '==ProgrammaticButton.cpp== <source lang="cpp"> #include <qapplication.h> #include <qpushbutton.h> int main( int argc, char **argv ) { QApplication a( argc, argv ); QPushBu…') (current)
- 16:20, 28 June 2010 (diff | hist) . . (+60) . . N Qt (Created page with '* Programmatically create a button')
- 16:15, 28 June 2010 (diff | hist) . . (+580) . . N CPP/Boost/Timer (Created page with '==Timer.cpp== <source lang="cpp"> #include <iostream> #include <vector> #include <cstdlib> #include <cmath> #include <boost/timer.hpp> void LongFunction(const unsigned int BigN…')
- 16:15, 28 June 2010 (diff | hist) . . (+28) . . CPP (→Boost)
- 16:13, 28 June 2010 (diff | hist) . . (+651) . . N CPP/Boost/Threads (Created page with '==Threads.cpp== <source lang="cpp"> #include <iostream> #include <vector> #include <cstdlib> #include <cmath> #include <boost/thread.hpp> void LongFunction(); int main(int a…')
- 16:13, 28 June 2010 (diff | hist) . . (+67) . . CPP (→Boost)
- 16:08, 28 June 2010 (diff | hist) . . (+1,204) . . N CPP/Boost/ProgressBar (Created page with '==ProgressBar.cpp== <source lang="cpp"> #include <iostream> #include <vector> #include <cstdlib> #include <cmath> #include <boost/progress.hpp> void LongFunction(); void Double…')
- 16:08, 28 June 2010 (diff | hist) . . (+40) . . CPP (→Boost)
- 16:06, 28 June 2010 (diff | hist) . . (+1,186) . . N CPP/Boost/ProgramOptions/MultipleArguments (Created page with '==MultipleArguments.cpp== <source lang="cpp"> #include <iostream> #include <vector> #include <cstdlib> #include <cmath> #include <boost/program_options.hpp> namespace po = boos…')
(newest | oldest) View (newer 250 | older 250) (20 | 50 | 100 | 250 | 500)