User contributions
From ProgrammingExamples
(newest | oldest) View (newer 500 | older 500) (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…')
- 16:06, 28 June 2010 (diff | hist) . . (0) . . m CPP/Boost/ProgramOptions/Simple
- 16:05, 28 June 2010 (diff | hist) . . (+2,960) . . N CPP/Boost/ProgramOptions/Simple (Created page with '==Simple.cpp== <source land="cpp"> #include <iostream> #include <vector> #include <cstdlib> #include <cmath> #include <boost/program_options.hpp> namespace po = boost::program_…')
- 16:05, 28 June 2010 (diff | hist) . . (+197) . . CPP (→Boost)
- 16:01, 28 June 2010 (diff | hist) . . (+400) . . N CPP/Boost/Numeric/Matrix (Created page with '==Matrix.cpp== <source lang="cpp"> #include <boost/numeric/ublas/matrix.hpp> #include <boost/numeric/ublas/io.hpp> int main () { using namespace boost::numeric::ublas; matr…')
- 16:01, 28 June 2010 (diff | hist) . . (+36) . . CPP (→Boost)
- 15:57, 28 June 2010 (diff | hist) . . (+506) . . N CPP/STL/RandomData (Created page with '==Generate.cpp== <source lang="cpp"> #include <iostream> #include <vector> #include <algorithm> template <typename T> class data_filler { public: data_filler(){} T operat…')
- 15:54, 28 June 2010 (diff | hist) . . (+1,368) . . N CPP/Boost/Histogram (Created page with '==Histogram.cpp== <source lang="cpp"> #include <vector> #include <algorithm> #include <iostream> #include <boost/accumulators/accumulators.hpp> #include <boost/accumulators/stat…')
- 15:53, 28 June 2010 (diff | hist) . . (+131) . . CPP
- 15:36, 28 June 2010 (diff | hist) . . (+782) . . N CPP/STL/SetDifference (Created page with '==SetDifference.cpp== <source lang="cpp"> #include <iostream> #include <list> #include <algorithm> #include <string> #include <iterator> template<class Coll> void print(const Co…')
- 15:36, 28 June 2010 (diff | hist) . . (+99) . . CPP (→STL Algorithms)
- 14:44, 28 June 2010 (diff | hist) . . (-380) . . Main Page
- 14:43, 28 June 2010 (diff | hist) . . (-597) . . Help:Editing
- 14:43, 28 June 2010 (diff | hist) . . (+595) . . N Help:DosAndDonts (Created page with '=== '''Do'''s and '''Don't'''s for using the Programming Examples Wiki === * '''Do''' ** Create a 'dispatch page' for each new language that you add, put links to examples in tha…') (current)
- 19:30, 27 June 2010 (diff | hist) . . (+126) . . User talk:Griswolf (current)
- 18:21, 27 June 2010 (diff | hist) . . (+191) . . User talk:Griswolf
- 07:09, 27 June 2010 (diff | hist) . . (+127) . . N User talk:Bench (Created page with 'I like the separation of "c-style" techniques. Keep up the good work! ~~~~') (current)
- 22:43, 26 June 2010 (diff | hist) . . (+229) . . N User talk:Griswolf (Created page with 'Griswolf - Good idea! I was planning to do this once we got some examples in these other languages, but you beat me to the punch! Keep the ideas and the additions coming! ~~~~')
- 22:42, 26 June 2010 (diff | hist) . . (+1,439) . . N WxWidgets (Created page with ' A C++ based toolkit that is primarily used to create nice graphics and GUIs. From their [http://www.wxwidgets.org/ Home Page]: <blockquote style="background-color: lightgrey; bo…')
- 22:42, 26 June 2010 (diff | hist) . . (-1,450) . . Main Page
- 14:38, 26 June 2010 (diff | hist) . . (+756) . . CPP/Switch (→Switch.cpp) (current)
- 09:11, 26 June 2010 (diff | hist) . . (+511) . . Main Page
- 08:42, 26 June 2010 (diff | hist) . . (+17) . . Main Page
- 12:52, 25 June 2010 (diff | hist) . . (+24) . . Main Page (→wxWidgets)
- 07:10, 25 June 2010 (diff | hist) . . (-64) . . CPP/ParallelSort (current)
- 21:27, 23 June 2010 (diff | hist) . . (+52) . . m User:Galik (current)
- 21:27, 23 June 2010 (diff | hist) . . (+162) . . N User:Galik (Created page with 'Hi Galik! Please take a look through the existing examples and clarify, comment, and add! Also feel free to create new examples! Thanks for your interest! Dave')
- 15:15, 23 June 2010 (diff | hist) . . (+1,486) . . N ProgrammingExamples:About (Created page with 'I am a frequent user of the c++ forum on daniweb.com (http://www.daniweb.com/forums/forum8.html). On this forum, at least once a week someone will ask "How do I sort an array?"…') (current)
- 10:22, 23 June 2010 (diff | hist) . . (+1,617) . . N User:Daviddoria (Created page with '== About me == My website: http://www.rpi.edu/~doriad/ My blog: http://daviddoria.blogspot.com/ == Why did I make this site? == I am a frequent user of the c++ forum on daniweb…') (current)
- 10:18, 23 June 2010 (diff | hist) . . (+170) . . N User talk:Nbaztec (Created page with 'Hi Nbaztec, It looks like you must use source lang="cpp" rather than simply 'source'. What are you trying to do? ~~~~') (current)
- 09:20, 23 June 2010 (diff | hist) . . (+72) . . Main Page (→Welcome to ProgrammingExamples.net!)
- 09:20, 23 June 2010 (diff | hist) . . (+621) . . N CPP/VariableNumberOfArguments (Created page with '==VariableNumberOfArguments.cpp== <source lang="cpp"> #include <iostream> #include <stdarg.h> void Function1(unsigned int num, ...); void Function2(unsigned int num, va_list ap)…') (current)
- 09:19, 23 June 2010 (diff | hist) . . (+74) . . Main Page (→C++)
- 09:19, 23 June 2010 (diff | hist) . . (+331) . . N CPP/Typedef (Created page with '==Typedef.cpp== <source lang="cpp"> #include <iostream> typedef std::pair<unsigned int, unsigned int> IndexPair; int main(int argc, char *argv[]) { IndexPair A; A.first = 2…') (current)
- 09:18, 23 June 2010 (diff | hist) . . (+26) . . Main Page (→C++)
- 09:18, 23 June 2010 (diff | hist) . . (+353) . . N CPP/STL/Tuple (Created page with '==Tuple.cpp== <source lang="cpp"> #include <iostream> #include <tuple> int main (int argc, char *argv[]) { std::tuple<int,char,std::string> tup( 4, 'c', std::string( "Hello W…') (current)
- 09:18, 23 June 2010 (diff | hist) . . (+25) . . Main Page (→STL Data Structures)
- 09:16, 23 June 2010 (diff | hist) . . (+353) . . N CPP/Switch (Created page with '==Switch.cpp== <source lang="cpp"> #include <iostream> using namespace std; int main(int argc, char *argv[]) { int test = 1; switch ( test ) { cout << "before cases" …')
- 09:15, 23 June 2010 (diff | hist) . . (+24) . . Main Page (→C++)
- 09:14, 23 June 2010 (diff | hist) . . (+665) . . N CPP/Classes/Singleton (Created page with '==Singleton.cpp== <source lang="cpp"> #include <iostream> class Log { public: static Log* Instance() { if (!instance) // Only allow one instance of class to be…')
- 09:14, 23 June 2010 (diff | hist) . . (+38) . . Main Page (→Classes)
- 09:14, 23 June 2010 (diff | hist) . . (+168) . . N CPP/Struct (Created page with '==Struct.cpp== <source lang="cpp"> #include <iostream> struct Card { int id; }; int main (int argc, char *argv[]) { Card c; c.id = 3; return 0; } </source>')
- 09:13, 23 June 2010 (diff | hist) . . (+24) . . Main Page (→C++)
- 09:13, 23 June 2010 (diff | hist) . . (+1,557) . . N CPP/StringStream (Created page with '==StringStream.cpp== <source lang="cpp"> #include <iostream> #include <string> #include <sstream> void StringToNumber(); void TestClear(); void NumberToString(); int main(int a…')
- 09:12, 23 June 2010 (diff | hist) . . (+36) . . Main Page (→C++)
- 09:12, 23 June 2010 (diff | hist) . . (+612) . . N CPP/Strings/Split (Created page with '==Split.cpp== <source lang="cpp"> #include <iostream> #include <sstream> #include <string> #include <algorithm> #include <iterator> #include <vector> int main(int argc, char *ar…')
- 09:11, 23 June 2010 (diff | hist) . . (+30) . . Main Page (→Strings)
- 09:10, 23 June 2010 (diff | hist) . . (+1,641) . . N CPP/STL/Sort (Created page with '==Sort.cpp== <source lang="cpp"> #include <iostream> #include <vector> #include <algorithm> void Standard(); void Descending(); void NonStandard(); struct Test { int a,b…')
- 09:09, 23 June 2010 (diff | hist) . . (+23) . . Main Page (→STL Algorithms)
- 09:09, 23 June 2010 (diff | hist) . . (+257) . . N CPP/IO/Setw (Created page with '==Setw.cpp== <source lang="cpp"> #include <iostream> #include <iomanip> using namespace std; int main(int argc, char* argv[]) { cout << "d: " << setw(15) << 5.42 << endl; c…') (current)
- 09:09, 23 June 2010 (diff | hist) . . (+38) . . Main Page (→I/O)
- 09:05, 23 June 2010 (diff | hist) . . (+555) . . N CPP/STL/RandomShuffle (Created page with '==RandomShuffle.cpp== <source lang="cpp"> #include <iostream> #include <algorithm> #include <vector> int main(int argc, char* argv[]) { std::vector<int> v; //add 10 integ…')
- 09:05, 23 June 2010 (diff | hist) . . (+66) . . Main Page (→STL Data Structures)
- 09:04, 23 June 2010 (diff | hist) . . (+1,534) . . N CPP/RandomNumbers (Created page with '==RandomNumbers.cpp== <source lang="cpp"> #include <iostream> #include <cstdlib> //drand48() #include <cstdio> #include <ctime> using namespace std; void RandomInts(); void Ran…')
- 09:04, 23 June 2010 (diff | hist) . . (+39) . . Main Page (→C++)
- 09:03, 23 June 2010 (diff | hist) . . (+9) . . Main Page
- 09:02, 23 June 2010 (diff | hist) . . (+797) . . N CPP/STL/PriorityQueue (Created page with '==PriorityQueue.cpp== <source lang="cpp"> #include <iostream> #include <queue> #include <vector> #include <cstdlib> #include <algorithm> double RandomDouble(); int main(int arg…')
- 09:01, 23 June 2010 (diff | hist) . . (+1,401) . . N CPP/STL/Queue (Created page with '==Queue.cpp== <source lang="cpp"> #include <iostream> #include <queue> #include <vector> #include <cstdlib> #include <algorithm> double RandomDouble(); void TestQueue(); void Fi…') (current)
- 09:01, 23 June 2010 (diff | hist) . . (+67) . . Main Page (→STL Data Structures)
- 08:56, 23 June 2010 (diff | hist) . . (+410) . . N CPP/Classes/PureVirtualFunction (Created page with '==PureVirtualFunction.cpp== <source lang="cpp"> #include <iostream> #include <limits> class Point { public: Point(const double xin, const double yin, const double zin) : x(xi…')
- 08:56, 23 June 2010 (diff | hist) . . (+60) . . Main Page (→Classes)
- 08:53, 23 June 2010 (diff | hist) . . (+889) . . N CPP/ParallelSort (Created page with '==ParallelSort.cpp== <source lang="cpp"> #include <iostream> #include <vector> #include <algorithm> #include <string> using namespace std; void StructMethod(); struct NumberNa…')
- 08:53, 23 June 2010 (diff | hist) . . (+37) . . Main Page (→C++)
- 08:52, 23 June 2010 (diff | hist) . . (+248) . . N CPP/STL/Pair (Created page with '==Pair.cpp== <source lang="cpp"> #include <iostream> #include <vector> #include <algorithm> int main (int argc, char *argv[]) { std::pair<double, int> a(3.4, 7); std::cout …') (current)
- 08:52, 23 June 2010 (diff | hist) . . (+23) . . Main Page (→STL Data Structures)
- 08:51, 23 June 2010 (diff | hist) . . (+1,704) . . N CPP/OverloadOperator (Created page with '==OverloadOperator.cpp== <source lang="cpp"> #include <iostream> class Point { private: double a; public: double x,y,z; Point(const double xin, const double yin, con…') (current)
- 08:51, 23 June 2010 (diff | hist) . . (+45) . . Main Page (→C++)
- 08:48, 23 June 2010 (diff | hist) . . (+344) . . N CPP/Classes/NestedClasses (Created page with '==NestedClasses.cpp== <source lang="cpp"> #include <iostream> class Parent { int name; class Child { int school; void test() { //std::cout << this->name;…') (current)
- 08:48, 23 June 2010 (diff | hist) . . (+47) . . Main Page (→Classes)
- 08:47, 23 June 2010 (diff | hist) . . (+449) . . N CPP/NAN (Created page with '==NAN.cpp== <source lang="cpp"> #include <iostream> #include <limits> using namespace std; bool IsNaN(const double a); int main(int argc, char *argv[]) { double a = nume…')
- 08:47, 23 June 2010 (diff | hist) . . (+33) . . Main Page (→C++)
- 08:46, 23 June 2010 (diff | hist) . . (+348) . . N CPP/Namespaces (Created page with '==Namespaces.cpp== <source lang="cpp"> #include <iostream> namespace Namespaces { double add(const double a, const double b) { return a + b; } } int main(int argc, c…')
- 08:44, 23 June 2010 (diff | hist) . . (+32) . . Main Page (→C++)
- 08:42, 23 June 2010 (diff | hist) . . (+666) . . N CPP/Math/MinMax (Created page with '==MinMax.cpp== <source lang="cpp"> #include <iostream> #include <cmath> int main(int argc, char *argv[]) { { double a = 10.3; double b = 5.8; std::cout << "Min: " << s…') (current)
- 08:42, 23 June 2010 (diff | hist) . . (+33) . . Main Page (→Math)
- 08:41, 23 June 2010 (diff | hist) . . (+249) . . N CPP/Math/Trig (Created page with '==Trig.cpp== <source lang="cpp"> #include <cmath> #include <iostream> int main() { double x1 = 0; double y1 = 0; double x2 = 100; double y2 = 100; std::cout << 180.…')
- 08:40, 23 June 2010 (diff | hist) . . (+170) . . N CPP/Math/Exponential (Created page with '==Exponential.cpp== <source lang="cpp"> #include <cmath> #include <iostream> int main() { std::cout << exp(4) << std::endl; //should be 54.598 return 0; } </source>') (current)
- 08:38, 23 June 2010 (diff | hist) . . (+95) . . Main Page (→C++0x)
- 08:36, 23 June 2010 (diff | hist) . . (+200) . . N CPP/Macros (Created page with '==Macros.cpp== <source lang="cpp"> #define SetMacro(name,type) \ void Set##name (type _arg) // run // gcc -E file.cpp // to see the precompiler output int main() { SetMacro(Te…') (current)
- 08:36, 23 June 2010 (diff | hist) . . (+24) . . Main Page (→C++)
- 08:35, 23 June 2010 (diff | hist) . . (+709) . . N CPP/Logging (Created page with '==Logging.cpp== <source lang="cpp"> #include <iostream> #include <fstream> using namespace std; void ChangeCoutDestination(); void LogToScreen(); void LogToFile(); int main() {…') (current)
- 08:34, 23 June 2010 (diff | hist) . . (+26) . . Main Page (→C++)
- 08:34, 23 June 2010 (diff | hist) . . (+50) . . Main Page (→C++0x)
- 08:31, 23 June 2010 (diff | hist) . . (+10) . . Main Page (→Debugging)
- 08:31, 23 June 2010 (diff | hist) . . (0) . . m CPP/Debugging/Assert (moved CPP/Assert to CPP/Debugging/Assert)
- 08:31, 23 June 2010 (diff | hist) . . (+34) . . N CPP/Assert (moved CPP/Assert to CPP/Debugging/Assert) (current)
- 08:31, 23 June 2010 (diff | hist) . . (+222) . . N CPP/Debugging/LineNumbers (Created page with '==LineNumbers.cpp== <source lang="cpp"> #include <iostream> using namespace std; int main(int argc, char *argv[]) { cout << "Line: " << __LINE__ << endl; cout << "File: " <…') (current)
- 08:30, 23 June 2010 (diff | hist) . . (+62) . . Main Page (→C++)
- 08:26, 23 June 2010 (diff | hist) . . (+616) . . N CPP/IO/FileOutput (Created page with '==FileOutput.cpp== <source lang="cpp"> #include <iostream> #include <fstream> void Overwrite(); void Append(); int main(int argc, char *argv[]) { Overwrite(); Append(); r…') (current)
- 08:24, 23 June 2010 (diff | hist) . . (+3,397) . . N CPP/IO/FileInput (Created page with '==FileInput.cpp== <source lang="cpp"> #include <iostream> #include <fstream> #include <vector> #include <string> #include <sstream> #include <cstdlib> void ReadInt(const std::st…')
- 08:23, 23 June 2010 (diff | hist) . . (+83) . . Main Page (→C++)
- 08:20, 23 June 2010 (diff | hist) . . (+1,091) . . N CPP/Infinity (Created page with '==Infinity.cpp== <source lang="cpp"> #include <iostream> #include <limits> bool IsInf(const double a); bool IsMinusInf(const double a); int main(int argc, char *argv[]) { …') (current)
- 08:19, 23 June 2010 (diff | hist) . . (+28) . . Main Page (→C++)
- 08:19, 23 June 2010 (diff | hist) . . (+274) . . N CPP/C++0x/Hash (Created page with '==Hash.cpp== <source lang="cpp"> #include <iostream> #include <functional> //hash int main(int argc, char* argv[]) { std::hash<const char*> H; std::cout << "foo -> " << H("…')
- 08:18, 23 June 2010 (diff | hist) . . (+40) . . Main Page (→STL Data Structures)
- 08:16, 23 June 2010 (diff | hist) . . (+334) . . N CPP/FunctionPointer (Created page with '==FunctionPointer.cpp== <source lang="cpp"> #include <iostream> using namespace std; void add(int a, int b); void DoThing(void (*pt2Func)(int,int)); int main(int argc, char …')
- 08:16, 23 June 2010 (diff | hist) . . (+43) . . Main Page (→C++)
- 08:15, 23 June 2010 (diff | hist) . . (+271) . . N CPP/Classes/FriendClass (Created page with '==FriendClass.cpp== <source lang="cpp"> #include <iostream> //forward declaration class B; class A { private: friend class B; int a; public: }; class B…')
- 08:14, 23 June 2010 (diff | hist) . . (+43) . . Main Page (→Classes)
- 08:12, 23 June 2010 (diff | hist) . . (+660) . . N CPP/Exceptions (Created page with '==Exceptions.cpp== <source lang="cpp"> #include <iostream> #include <fstream> using namespace std; int main() { try { // Statements that may throw exceptions you want t…') (current)
- 08:11, 23 June 2010 (diff | hist) . . (+32) . . Main Page (→C++)
- 08:11, 23 June 2010 (diff | hist) . . (+430) . . N CPP/Enum (Created page with '==Enum.cpp== <source lang="cpp"> #include <iostream> enum PointType { GOOD, BAD, UNINFORMATIVE }; int main(int argc, char *argv[]) { PointType A = GOOD; if(A == GOOD) …')
- 08:10, 23 June 2010 (diff | hist) . . (+20) . . Main Page (→C++)
- 08:09, 23 June 2010 (diff | hist) . . (+43) . . Main Page (→Classes)
- 08:08, 23 June 2010 (diff | hist) . . (+1,247) . . N CPP/Loops/DoWhile (Created page with '==DoWhile.cpp== <source lang="cpp"> #include <iostream> #include <string> #include <cstdlib> #include <sstream> #include <fstream> int main(int argc, char *argv[]) { if(argc !…') (current)
- 08:08, 23 June 2010 (diff | hist) . . (+100) . . Main Page (→Classes)
- 08:06, 23 June 2010 (diff | hist) . . (+798) . . N CPP/Classes/DerivedClass (Created page with '==DerivedClass.cpp== <source lang="cpp"> #include <iostream> #include <string> class Person { public: std::string Name; Person(){} }; class Child : public Per…') (current)
- 08:06, 23 June 2010 (diff | hist) . . (+45) . . Main Page (→Classes)
- 08:04, 23 June 2010 (diff | hist) . . (+254) . . N CPP/Classes/InitializationList (Created page with '==InitializationList.cpp== <source lang="cpp"> #include <iostream> class Point { public: Point(int NewValue) : a(NewValue) {} int a; }; int main(int argc, char* argv[…')
- 08:04, 23 June 2010 (diff | hist) . . (+57) . . Main Page (→Classes)
- 08:01, 23 June 2010 (diff | hist) . . (+228) . . N CPP/DefaultArguments (Created page with '==DefaultArguments.cpp== <source lang="cpp"> #include <iostream> #include <limits> void Test(int a = 5); int main(int argc, char *argv[]) { Test(); return 0; } void Test(i…')
- 08:01, 23 June 2010 (diff | hist) . . (+73) . . Main Page (→C++)
- 07:59, 23 June 2010 (diff | hist) . . (+371) . . N CPP/Strings/CountCharacters (Created page with '==CountCharacters.cpp== <source lang="cpp"> #include <iostream> #include <algorithm> #include <string> int main() { std::string content = "A table and A chair and A desk"; c…') (current)
- 07:59, 23 June 2010 (diff | hist) . . (+51) . . Main Page (→Strings)
- 07:58, 23 June 2010 (diff | hist) . . (+753) . . N CPP/Classes/ConstructorInheritance (Created page with '==ConstructorInheritance.cpp== <source lang="cpp"> #include <iostream> #include <string> class Person { private: protected: std::string m_Name; public: Pe…') (current)
- 07:56, 23 June 2010 (diff | hist) . . (+65) . . Main Page (→Classes)
- 07:55, 23 June 2010 (diff | hist) . . (+741) . . N CPP/Templates/ClassTemplateExplicitInstantiation (Created page with '==ClassTemplate.cpp== <source lang="cpp"> #include <iostream> #include <vector> #include "Point.h" using namespace std; int main(int argc, char* argv[]) { Point<double> A; …')
- 07:54, 23 June 2010 (diff | hist) . . (+64) . . Main Page (→Strings)
- 07:52, 23 June 2010 (diff | hist) . . (+1) . . Main Page (→Strings)
- 07:52, 23 June 2010 (diff | hist) . . (0) . . m CPP/Strings/Compare (moved CPP/CompareStrings to CPP/Strings/Compare) (current)
- 07:52, 23 June 2010 (diff | hist) . . (+33) . . N CPP/CompareStrings (moved CPP/CompareStrings to CPP/Strings/Compare) (current)
- 07:51, 23 June 2010 (diff | hist) . . (+313) . . N CPP/Strings/Concatenate (Created page with '==Concatenate.cpp== <source lang="cpp"> #include <iostream> #include <string> #include <sstream> using namespace std; int main() { string test; test = "hello"; int scan =…')
- 07:51, 23 June 2010 (diff | hist) . . (+60) . . Main Page (→C++)
- 07:49, 23 June 2010 (diff | hist) . . (+416) . . N CPP/Strings/Compare (Created page with '==CompareStrings.cpp== <source lang="cpp"> #include <iostream> #include <string> using namespace std; int main(int argc, char *argv[]) { string Hello = "Hello"; string Go…')
- 07:48, 23 June 2010 (diff | hist) . . (+41) . . Main Page (→C++)
- 07:48, 23 June 2010 (diff | hist) . . (+849) . . N CPP/CommandLineArguments (Created page with '==CommandLineArguments.cpp== <source lang="cpp"> #include <iostream> #include <string> #include <sstream> using namespace std; //test with //24.5 90.3 int main(int argc, char …')
- 07:47, 23 June 2010 (diff | hist) . . (+54) . . Main Page (→C++)
- 07:46, 23 June 2010 (diff | hist) . . (+645) . . N CPP/KeyboardInput (Created page with '==KeyboardInput.cpp== <source lang="cpp"> #include <iostream> #include <string> using namespace std; void ReadFromKeyboard(void); int main() { ReadFromKeyboard(); return …') (current)
- 07:46, 23 June 2010 (diff | hist) . . (+39) . . Main Page (→C++)
- 07:45, 23 June 2010 (diff | hist) . . (+254) . . N CPP/CharacterArray (Created page with '==CharacterArray.cpp== <source lang="cpp"> #include <iostream> void Function(const char* word); int main(int argc, char *argv[]) { Function("hello"); return 0; } void…') (current)
- 07:45, 23 June 2010 (diff | hist) . . (+41) . . Main Page (→C++)
- 07:44, 23 June 2010 (diff | hist) . . (+570) . . N CPP/Casting (Created page with '==Casting.cpp== <source lang="cpp"> #include <iostream> void StaticCast(); int main(int argc, char *argv[]) { StaticCast(); return 0; } void StaticCast() { double …')
- 07:38, 23 June 2010 (diff | hist) . . (+26) . . Main Page (→C++)
- 07:37, 23 June 2010 (diff | hist) . . (+219) . . N CPP/ExecuteLinuxCommand (Created page with '==ExecuteLinuxCommand.cpp== <source lang="cpp"> #include <iostream> #include <cstdlib> //for system() int main(int argc, char *argv[]) { std::string Command = "ls"; system(C…') (current)
- 07:37, 23 June 2010 (diff | hist) . . (+54) . . Main Page (→C++)
- 07:35, 23 June 2010 (diff | hist) . . (+906) . . N CPP/BinaryIO (Created page with '==BinaryIO.cpp== <source lang="cpp"> #include <iostream> #include <fstream> #include <cstdlib> using namespace std; void CWrite(); void CPPWrite(); string Filename = "Test.b…') (current)
- 07:35, 23 June 2010 (diff | hist) . . (+43) . . Main Page (→C++)
- 07:34, 23 June 2010 (diff | hist) . . (+151) . . N CPP/Debugging/Assert (Created page with '==Assert.cpp== <source lang="cpp"> #include <iostream> #include <assert.h> int main() { int i = 2; assert(i == 2); return 0; } </source>')
- 07:33, 23 June 2010 (diff | hist) . . (+24) . . Main Page (→C++)
- 07:33, 23 June 2010 (diff | hist) . . (+17) . . m CPP/2DArray (current)
- 07:32, 23 June 2010 (diff | hist) . . (+458) . . N CPP/Array (Created page with '==Array.cpp== <source lang="cpp"> #include <iostream> double* ReturnArray(); int main() { double a[3]; a[0] = 0.5; a[1] = 1.5; a[2] = 2.5; std::cout << a[0] << …')
- 07:32, 23 June 2010 (diff | hist) . . (+22) . . Main Page (→C++)
- 07:22, 23 June 2010 (diff | hist) . . (+1,961) . . N CPP/2DArray (Created page with '<source lang="cpp"> #include <iostream> using namespace std; void FixedLength(); void VariableLength(); void Fill(void* buffer, unsigned int Width, unsigned int Height); void …')
- 07:22, 23 June 2010 (diff | hist) . . (+27) . . Main Page (→C++)
- 07:21, 23 June 2010 (diff | hist) . . (+528) . . N CPP/ZeroPad (Created page with '<source lang="cpp"> #include <iostream> #include <sstream> #include <string> #include <iomanip> std::string ZeroPad(const unsigned int number, const unsigned int rep); int m…') (current)
- 07:20, 23 June 2010 (diff | hist) . . (+42) . . Main Page (→C++)
- 18:43, 22 June 2010 (diff | hist) . . (+342) . . N CPP/STL/MultiSet (Created page with '==MultiSet.cpp== <source lang="cpp"> #include <iostream> #include <set> int main(int, char*[]) { std::multiset<int> S; S.insert(2); S.insert(1); S.insert(1); for(s…') (current)
- 18:42, 22 June 2010 (diff | hist) . . (+2,015) . . N CPP/STL/List (Created page with '==List.cpp== <source lang="cpp"> #include <iostream> #include <list> #include <vector> #include <cstdlib> using namespace std; double RandomDouble(); void Report(list<double> &…') (current)
- 16:26, 22 June 2010 (diff | hist) . . (+519) . . N CPP/STL/MultiMap (Created page with '==MultiMap.cpp== <source lang="cpp"> #include <iostream> #include <map> int main(int argc, char *argv[]) { std::multimap <int, double> MyMap; //create a mapping from "t…')
- 16:25, 22 June 2010 (diff | hist) . . (+3,400) . . N CPP/STL/Vector (Created page with '==Vector.cpp== <source lang="cpp"> #include <iostream> #include <vector> #include <cstdlib> #include <algorithm> #include "TestClass.h" double RandomDouble(); void TestVector(…')
- 16:25, 22 June 2010 (diff | hist) . . (+1,795) . . N CPP/STL/String (Created page with '==String.cpp== <source lang="cmake"> #include <iostream> #include <string> #include <algorithm> #include <functional> void TestEmpty(); void TestConcatenate(); void RemoveCharac…')
- 16:25, 22 June 2010 (diff | hist) . . (+31) . . Main Page (→STL Data Structures)
- 16:24, 22 June 2010 (diff | hist) . . (+4,310) . . N CPP/STL/Map (Created page with '==Map.cpp== <source lang="cmake"> #include <iostream> #include <map> #include <vector> #include <string> void Array2Vec(unsigned char arr[3], std::vector<unsigned char> &out); …')
- 16:24, 22 June 2010 (diff | hist) . . (+3,863) . . N CPP/STL/Set (Created page with '==Set.cpp== <source lang="cpp"> #include <iostream> #include <set> #include <vector> #include <cstdlib> #include "Height.h" double RandomDouble(); void Report(std::set<double>…')
- 16:23, 22 June 2010 (diff | hist) . . (+126) . . Main Page
- 16:12, 22 June 2010 (diff | hist) . . (-2) . . CPP/AlphebetizeString
- 16:05, 22 June 2010 (diff | hist) . . (+750) . . N CPP/AlphebetizeString (Created page with '==Alphabetize.cpp== <source lang="cpp"> #include <iostream> #include <vector> #include <algorithm> #include <string> void Output(std::vector<std::string> &Strings); void Alphabe…')
- 16:05, 22 June 2010 (diff | hist) . . (+2) . . Main Page
(newest | oldest) View (newer 500 | older 500) (20 | 50 | 100 | 250 | 500)