Assignment2 Spring2011
Assignment2 Spring2011
Note:
m_UserName: no more than 20 characters. m_FullName: no more than 50 characters. m_Grade: is exactly 16 characters. m_ClassName: is exactly 6 characters m_No : an integer greater than 0 and less than 99999
Write a C++ program to implement these classes, and do the below tasks: 1. Enter file name
2. Add new Student to a class 3. List all student in a class
Tasks 1:
Allow user to input name of file that contains information of all students in a class.
1
Task 2:
Allow user to add new information of a student to the class. After check validation of all data, save this information into file that was inputted in task 1.
Task 3:
Display all information of the class in file that was inputted in task 1.
Sample data:
SE0518
Full Name Nguyen Xuan Tam Nguyen Lam Hung Vu Van Thinh Nguyen Van Vien Phan Anh Dung