Last change
on this file since 3066 was 1969, checked in by ansari, 23 years ago |
ajout d'exemple lecture/ecriture tableaux ds PPF , Reza 26/4/2002
|
File size:
479 bytes
|
Line | |
---|
1 | cout << " >>>>>>> Reading from arrt.ppf <<<<< " << endl;
|
---|
2 | PInPersist pis("arrt.ppf");
|
---|
3 | TArray<int_4> iaa, ibb, icc;
|
---|
4 | // We read the three arrays from the stream
|
---|
5 | pis >> iaa >> ibb >> icc;
|
---|
6 | cout << " ----- Array IAA = \n " << iaa << endl;
|
---|
7 | cout << " ----- Array IBB = \n " << ibb << endl;
|
---|
8 | cout << " ----- Array ICC = \n " << icc << endl;
|
---|
9 | icc = 12;
|
---|
10 | cout << " ----- Array ICC (=12) = \n " << icc << endl;
|
---|
11 | cout << " ----- Array IAA (ICC=12) = \n " << iaa << endl;
|
---|
12 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.