(C++) composite data type
February 24, 2017 · View on GitHub
(C++) composite data type
A composite data type is a data type which is constructed by stashing together multiple other data types.
#include <string> #include <vector> struct CompositeDataType { bool m_b; double m_d; int m_i; std::string m_s; std::vector<std::string> m_v; };
Composite data type code snippets