Changeset 573 in Sophya for trunk/SophyaProg/Tests/tnt.cc
- Timestamp:
- Nov 10, 1999, 5:30:50 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaProg/Tests/tnt.cc
r491 r573 30 30 31 31 printf("Ecriture NTuple ds nt.ppf ... \n"); 32 { 33 // nt1.Write("nt.ppf"); c'etait du PEIDA 34 POutPersist s("nt.ppf"); 35 s << nt1 ; 36 } 32 nt1.Write("nt.ppf"); 37 33 38 34 printf("Lecture NTuple (nt2) ds nt.ppf ... \n"); … … 46 42 printf("ReLecture NTuple (nt1) ds nt.ppf ... \n"); 47 43 48 { 49 // nt1.Read("nt.ppf"); c'etait du PEIDA ! 50 PInPersist s("nt.ppf"); 51 s >> nt1; 52 } 53 44 nt1.Read("nt.ppf"); 54 45 nt1.Show(cout); 55 46 nt1.Print(0, 5); … … 57 48 nt1.Print(94, 5); 58 49 59 printf("Creation/Lecture Lecture NTuple (nt 3) ds nt.ppf ... \n");50 printf("Creation/Lecture Lecture NTuple (nt1) ds nt.ppf ... \n"); 60 51 NTuple nt3; 61 { 62 // nt3.Read("nt.ppf"); c'etait du PEIDA ! 63 PInPersist s("nt.ppf"); 64 s >> nt3; 65 } 66 52 nt3.Read("nt.ppf"); 67 53 nt3.Show(cout); 68 54 nt3.Print(0, 5);
Note:
See TracChangeset
for help on using the changeset viewer.