If the file has a list of coordinates and a character:
(1,2,3,A)
// blah blah
(10,20,30,B)
(11,22,33,C)
the expression in the while
loop never evaluates to true, Why is this?
string str = "";
char aa, cc, ee, gg, hh, ii;
int bb, dd, ff;
while(cin >> aa >> bb >> cc >> dd >> ee >> ff >> gg >> hh >> ii ||
cin >> str) {
if(str != "") {
cout << str << endl;
}
else {
cout << aa << " " << bb << " " << cc << " " << dd << " " << ee << " " << ff << " " << gg << " " << hh << " " << ii << endl;
}
}