| Last change
 on this file since 2233 was             1969, checked in by ansari, 24 years ago | 
        
          | 
ajout d'exemple lecture/ecriture tableaux ds PPF , Reza 26/4/2002
 | 
        
          | File size:
            479 bytes | 
      
      
| Rev | Line |  | 
|---|
| [1969] | 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.