C++, use Microsoft Visual Studio Express 2012.Code has to match output.This program practices dynamic arrays to manage a set of students and their courses.Input:File courses.txt contains a list of student names, the number of courses taken, and the names of the courses. The first line of the file contains the number of students. Create a dynamic array of structs of the size provided in the first line of the file. The struct definition should contain a C++ string name, an integer number of courses, and a C++ string pointer. Read the data into the dynamic array. Note that once the number of courses is read, the code can create the dynamic array of course names for the student.Review the C++ string lecture on using getline versus >> with C++ strings. You may need to manually read the newline character with the get function during input depending on your compiler.Processing:Allow the user the following options.a. Display all students and coursesb. Enter a student name and report a list of courses taken by the studentc. Enter a course number and report a list of all students taking this course.Turn in screen shot (screenshot in the file attached, has to match output).
The post C++, use Microsoft Visual Studio Express 2012.Code has to match output.This pro appeared first on Lion Essays.