Ummm its very dependent on what you want to do... for example.. if you want to display certain text depending on the value of an enum youwould need to handle it in a switch case...
so you would put in the student names where the enum is...
Code:
enum studentNumbers{ johnDoe = 0, janeDoe, brittanyHolliday... etc.
}
then you would handle it in something like this...
Code:
switch(valueToCompare){
case 0:
cout<< "John Doe's student number is 0";
}
I'm not sure if using flat out enum would be the easiest way to do this... I think i would make a student struct or something to go about dislplaying the information because of ease.. I'm guessing that you would want to display the students name with the number.. I'll make a little working program, but i got to know the intention, are you wanting to use a program to process the sudent number and print the student info or what? I'm not sure if using an enum is the best way to go about storing a student number, being you would have to go back to the program nd enter a new name for each new student.