QuoteDislikedc++ code:
ifstream ifs("Hour.dat");
while(ifs.good()){
ifs>>bar.year>>bar.month>>bar.day>>bar.hour>>bar.high>>bar.low;
bars.insert(bars.begin(),bar);
}
but it read the last line twice under ubuntu,
who can teach me how to correct it?