so i have gone thru my c++ class array and entered all the info needed.....
class student
{
private:
int ID;
etc....
};
student stan[10];
i have asked the user to enter his/her id # how do i check to verify that the # entered exists in the array stan[10]? (i know a for loop will start the process..)
stan
thanks