Changeset 491 in Sophya for trunk


Ignore:
Timestamp:
Oct 21, 1999, 5:27:02 PM (26 years ago)
Author:
ansari
Message:

Ajout programmes test (TMatrix Vector ...) Reza+cmv 21/10/99

Location:
trunk/SophyaProg/Tests
Files:
4 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaProg/Tests/tnt.cc

    r274 r491  
    3030
    3131printf("Ecriture NTuple ds nt.ppf ... \n");
    32 nt1.Write("nt.ppf");
     32{
     33// nt1.Write("nt.ppf");  c'etait du PEIDA
     34POutPersist s("nt.ppf");
     35s << nt1 ;
     36}
    3337
    3438printf("Lecture NTuple (nt2) ds nt.ppf ... \n");
     
    4246printf("ReLecture NTuple (nt1) ds nt.ppf ... \n");
    4347
    44 nt1.Read("nt.ppf");
     48{
     49//  nt1.Read("nt.ppf");   c'etait du PEIDA !
     50PInPersist s("nt.ppf");
     51s >> nt1;
     52}
     53
    4554nt1.Show(cout);
    4655nt1.Print(0, 5);
     
    4857nt1.Print(94, 5);
    4958
    50 printf("Creation/Lecture Lecture NTuple (nt1) ds nt.ppf ... \n");
     59printf("Creation/Lecture Lecture NTuple (nt3) ds nt.ppf ... \n");
    5160NTuple nt3;
    52 nt3.Read("nt.ppf");
     61{
     62//  nt3.Read("nt.ppf");   c'etait du PEIDA !
     63PInPersist s("nt.ppf");
     64s >> nt3;
     65}
     66
    5367nt3.Show(cout);
    5468nt3.Print(0, 5);
Note: See TracChangeset for help on using the changeset viewer.