can some one help me or give me the algorithm in this problem:
a 'class' named STUDENT has attributes like Name Age ID_Number Grades. i should store in a 'vector' and pop it out of it.. how can i store it in vector?i am having hard times here coz im so f*cked up with a lots of exams... please help me out here... and please give me some hint not just algorithm maybe even a part of the code will do please?
//create a vector
vector<student> studentVector;
//add a student
student student1;
studentVector.push_back(student1);
//change a value of that student
studentVector[0].setName("Jerry");