std::string doot((std::isstreambuf _iterator(Auton), //where the error is std::istreambuf_iterator()); > > std::ifstream Auton(“test.txt”);
The code is to load a text file and save integers into an array. The “std::string doot” is the point of the error. What’s wrong with this code that it’s coming up with that error?
Well I’m struggling because there is constant new errors. NOW it’s ok. Thank you. If anyone gets an error about strcpy not existing, check if there’s a 2d array in the line defining the character.