how to store a struct in vector in c 2b 2b

Solutions on MaxInterview for how to store a struct in vector in c 2b 2b by the best coders in the world

showing results for - "how to store a struct in vector in c 2b 2b"
Imane
12 Oct 2019
1struct subject
2{
3  string name;
4  int marks;
5  int credits;
6};
7
8
9vector<subject> sub;
10