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