Go back to Richel Bilderbeek's homepage.

Go back to Richel Bilderbeek's C++ page.

 

 

 

 

 

(C++) Code snippets

 

My own favorite C++ code snippets, for everyone to use freely. Note that some snippets fall under multiple categories. Some snippets are trivial for most people, but I put them here for completeness and for newbies (including my own students).

 

I cite my sources whenever someone else published a version of the snippet before me, although I have always modified the original. All snippets should compile cleanly after a copy-paste. Feel free to contact me when one snippet does not (view my E-mail address)

 

  1. Artificial Intelligence
  2. ASCII art
  3. Audio
  4. Benchmarks
  5. Biology
  6. Bit Operations
  7. Checks
  8. cin, std::cin
  9. cln::cl_I
  10. Containers
  11. Convert
  12. cout, std::cout
  13. Date and time
  14. File I/O
  15. Flood::Vector
  16. Functor
  17. Graphics
  18. int
  19. Kalman filter
  20. map, std::map
  21. Math
  22. Maze
  23. Newick
  24. Normal Distribution
  25. QTableWidget
  26. Random Number
  27. Sort
  28. Statistics
  29. std::cin
  30. std::cout
  31. std::map
  32. std::string
  33. std::vector
  34. string, std::string
  35. TImage
  36. Time and date
  37. Tools
  38. User I/O
  39. VCL
  40. VCL, TImage
  41. Version
  42. vector, std::vector
  43. Windows
  44. XML

 

 

 

 

 

Go back to Richel Bilderbeek's C++ page.

Go back to Richel Bilderbeek's homepage.

 

Valid XHTML 1.0 Strict