Open main menu

CDOT Wiki β

Best Practices

Revision as of 11:36, 5 December 2014 by Mark (talk | contribs) (Best Practices for OOP345)

Best Practices with Modern C++

  • Use std::vector instead of a dynamic array (#include <vector>)
  • Use std::string instead of char* arrays (#include <string>