User contributions
From ProgrammingExamples
(newest | oldest) View (newer 50 | older 50) (20 | 50 | 100 | 250 | 500)
- 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)
(newest | oldest) View (newer 50 | older 50) (20 | 50 | 100 | 250 | 500)