阅读背景:

从一个文件中读取getline()在一行上有多个信息会得到无效的参数错误

来源:互联网 

hello folks im still a beginner to c++ so i apologize in advance. okay so some context is this is a hw assignment for my class we have to make a an array that holds all the books that are being read in from the a txt file then organize them by hashing. the part that im stuck on is reading in the data i cant seem to get it right. the error occurs in load table function, it reads the first line and i put the cout stuff under it to test it out and it does print the first book out but after it throws a invalid argument error.hello folks im still a beginner to c++ so i apo




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

分享到: