Commit 9d6a9d3a authored by Andrew Binder's avatar Andrew Binder

updating checkRoster()

parent b0e3c113
......@@ -26,7 +26,7 @@ class Teacher {
void importProgress(); // Imports roster/progress from a file
void enrollStudent(string studentIn); // Enrolls a new student; includes error checking
void adjustProgress(string studentUserNameIn, int level); // Changes a students level; includes error checking for student username
int checkRoster(string student); // Checks to see if a student exists with input string
int checkRoster(string student); // Returns a student's position on vector if username student exists in vector; Returns -1 if student does not exist
void endProgram(); // saves and ends program gracefully
// Accessors
const string getUserName();
......@@ -14,4 +14,5 @@ levina 4
Andrew 500
Sam 2
Jared 1
bindan 43
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment