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