then how to do use structure?


and how to read continuous 5 characters[including space] in a text file..

Qt Code:
  1. QTextStream data(&fileA);
  2. char *runno=new char[5];
  3. data>>runno;
To copy to clipboard, switch view to plain text mode