阅读背景:

当使用getline()和Ignore()函数时,似乎无法使我的ifstream和ofstream工作正常工作不能使用循环或数组等

来源:互联网 

I cant read in the integers after my getline() reads in the string. I have to read in the whole entire name from a data file, then read in the pay rate, then the number of dependants, and then the percentage of gross. I can use Arrays loops vectors or anything of that sort. I can only use the getline() and Ignore() functions or something similar to that. So my question is where am I going wrong here?I cant read in the integers after my getline()




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: