Guest User

Untitled

a guest
Jan 28th, 2012
40
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. //I want to read a file into an array
  2.  
  3. QTextStream in(&file);
  4. QString *newbArray[/*don't know how big array is*/];
  5. int i(0);
  6. while(!in.atEnd()){
  7. newbArray[i] = in.readLine();
  8. i++;
  9. }
Advertisement
Add Comment
Please, Sign In to add comment