You\'re a developer for a startup called HowU Study that matches study buddies f
ID: 3776726 • Letter: Y
Question
You're a developer for a startup called HowU Study that matches study buddies for classes depending on the experience of each user. In this lab you must: create a class called User that contains the following: name classification major expert class list (what classes the user feels they are an expert in) mutators and accessors for each private variable printUsers function that prints all the users of the system matchStudyBuddy function that matches users based on classes they have in common. (Meaning two or more classes that match) read a set of users from a file userData.txt read in a whole line from the file parse the line, you will have to change the delimiter of the getline statement to be comma delimited.
Write the programm using C++.
Explanation / Answer
ifstream file ( "file.csv" ); // declare file stream: http://www.cplusplus.com/reference/iostream/ifstream/ string value; while ( file.good() ) { getline ( file, value, ',' ); // coutRelated Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.