Tasks
Write a program to read data for Covid-19 in Texas from a data file here and display in web page format. The data processing tasks include:
//Sample code
ifstream inData;
ofstream outData;
inData.open("inputData.txt");
outData.open("report.html");
//Print table header
outData << "<table border=1>" << endl;
//Read off the information about the data
//Read off the column titles
//Read off the data entry for the first county
inData >> ...
while(inData)
{
//Processing data including printing a table row for each county
//Read off the data entry for each county
inData >> ...
}
outData << "</table>" << endl;
<link rel="stylesheet" href="https://cscdevprod03.txwes.edu/~yzhang/css/course.css" type="text/css">Note that when putting the link in C++ output statements, make sure to add backward slashes "\" in front of those double quotes inside the link tag to distinguish C++ string double quotes.
What to submit
Submit both C++ program and HTML output file to Blackboard by the midnight of the due day.