阅读背景:

.txt到vector ,非类型错误

来源:互联网 

Hi I just started to learn C++ this week and I require some assistance. Basically what I am trying to do is read from a .txt file and "convert" it into a vector string and then display it. my error is at this line: text.readFile("scenario.txt"), it says: "request for member 'readFile' in 'text', which is of non-class type 'Conversion()'" what does that mean? and also my method getLines() could not be resolved. Hi I just started to learn C++ this week and I




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

分享到: