Grouping Data The struct is the basic mechanism structs act as types struct Student { std::string sid; std::vector courses; }; // The semicolon is needed Student s; s.sid = "9222194"; s.courses.push_back("comp2004");