Changeset 575 in Sophya
- Timestamp:
- Nov 12, 1999, 4:03:54 PM (26 years ago)
- Location:
- trunk/SophyaProg/Tests
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaProg/Tests/piapp.cc
r573 r575 12 12 13 13 #include "timing.h" 14 #include " piinit.h"14 #include "sambainit.h" 15 15 16 16 #include "pistdimgapp.h" … … 25 25 int fgsig, fgred; 26 26 27 PeidaInteractiveInitiator piinit;27 SambaInitiator sambainit; 28 28 29 29 InitTim(); … … 59 59 app->SetReady(); 60 60 if (fgred) app->RedirectStdOutErr(true); 61 TRY{61 try { 62 62 app->Run(); 63 } CATCH(merr) {63 } catch (PException exc) { 64 64 char ans[32],rep; 65 65 app->Stop(); … … 68 68 cout << endl; 69 69 cerr << endl; 70 printf("PIStdImg/main() Exception catched ! = %ld (%s) \n", (long)merr, PeidaExc(merr));71 printf(" exit <CR> , continue c<CR> , close-windows, continue k<cr> ? "); gets(ans);72 rc = merr;70 cout << "PIStdImg/main() Exception catched ! " << exc.Msg() << endl; 71 cout << " exit <CR> , continue c<CR> , close-windows, continue k<cr> ? " << endl; 72 gets(ans); 73 73 rep = toupper(ans[0]); 74 if ((rep != 'C')||(rep != 'K')) cont = false;74 if ((rep != 'C')||(rep != 'K')) { cont = false; rc = 99; } 75 75 else { cont = true; if (rep == 'K') app->CloseAllWindows(); } 76 } ENDTRY;76 } 77 77 } 78 78 -
trunk/SophyaProg/Tests/tspm.cc
r542 r575 54 54 double gmoy=0. , gsig = 0.; 55 55 double valok; 56 SphereGorski<double> sph2 = fiog .getObj();56 SphereGorski<double> sph2 = fiog; 57 57 PrtTim("End of Write/Read "); 58 58
Note:
See TracChangeset
for help on using the changeset viewer.