Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //I want to read a file into an array
- QTextStream in(&file);
- QString *newbArray[/*don't know how big array is*/];
- int i(0);
- while(!in.atEnd()){
- newbArray[i] = in.readLine();
- i++;
- }
Advertisement
Add Comment
Please, Sign In to add comment