Best Practices

From CDOT Wiki
Revision as of 11:36, 5 December 2014 by Mark (talk | contribs) (Best Practices for OOP345)
Jump to: navigation, search

Best Practices with Modern C++

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