X1226: Codewit Kevin: write a roster text file in C++

Follow Kevin's example and create a function called add_student_to_roster that receives:

  • a student's name
  • their identification number

The student should be added to the end of the roster.txt file, which keeps a list of all students, where each line has a student's number and their name (separated by a space)

Your Answer:

Reset

Practice a different C++ exercise

Feedback

Your feedback will appear here when you check your answer.