1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14:
QTextStream binnen (&file); dubbele gegevens [100] [2]; voor (int. i=0; i<100; i++) { dubbel x, y; De inhoud van QString; QString content1; in >> x >> y; inhoud = content.setNum (x); content1=content1.setNum (y); gegevens [I] [0] =content.toDouble (); gegevens [I] [1] =content1.toDouble (); in.readLine (); }
1: 2: 3: 4: 5: 6:
voor (int. k = 0; k < NUMBER="">> x; QString qs; gegevens [I] [k] = qs.setNum (x) .toDouble (); }