Experts Please help

i want to create a construct which enables me to have a array of records from different types

ie

the student array consists of name as string & marks as integer

thank you
1
2
3
4
5
6
struct Element {
  string name;
  int marks;
};

Element student[N];
can i use all the loops on this code

plz help

i am a beginner
Last edited on
Topic archived. No new replies allowed.