SyntaxFix
Write A Post
Hire A Developer
Questions
you can use getline from a file using this code. this code will take a whole line from the file. and then you can use a while loop to go all lines while (ins);
ifstream ins(filename); string s; std::getline (ins,s);