Reference no: EM13334070
1. Introduction
This lab is about file processing, vector, and string.
You need to develop software to automatically generate the personal webpage for every faculty member in a University. All personal webpage should follow the exact format as exampleOutput.htm that is included in this lab. The html file can also be treated as regular text file, you can open it by using the wordpad or Notepad. The personal webpage always use the same "tag" for every part of the page. Like <HTML>, <li> </li>, etc.
2. Your task
You should write several functions to input the faculty information from console input. Then save all those information in string, and vectors. Then generate the webpage like writing the data into a file. So, you need to follow the "Tag" format of the htm file to output the tag information together with the user input information you have.
3. You need to finish following 4 functions
void inputData(string &name, vector<string> &general,
vector<string> &specific, vector<grant> &grants);
void loadgrant(grant &input);
string IntToDollar(int num);
void generateWebpage(string filename, string name,
vector<string> general, vector<string> specific,
vector<grant> grants);
Please read the instructions on main.cpp for each function.