Good catch, Daved, I didn't even notice that bug. I'll repost it with your fix. I guess I might as well remove the if check too, as you pointed out, s will never be blank at that point.
Code:int i = 0;
while(getline(inDataFile, s, ','))
{
p[i].price = s;
getline(inDataFile, s, delimiter = ',');
p[i].serialNum = s;
getline(inDataFile, s, delimiter = ',');
p[i].descript = s;
getline(inDataFile, s, delimiter = '\n');
istringstream stream1(s);
int h;
stream1 >> h;
p[i].order = h;
i++;
}//!End while not end of file.