Tasks
Write a program to read product inventory data from a data file here and display in web page format. The data processing tasks include:
//Sample code
ifstream inData;
ofstream outData;
inData.open("OrderData.txt");
outData.open("inventory.html");
//Print table header
outData << "<table border=1>" << endl;
//Read the first product
inData >> ...
while(inData)
{
//Processing data including printing a table row for each product
//...
//Read next product
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.