22 int main(
int argc,
char *argv[]) {
27 if ( (argc > 3) || (argc < 2) ) {
28 std::cerr <<
"Nombre de parametre incorrect : medimport filein [fileout]" << std::endl;
31 if (argc == 2 ) fileOut=
"";
else fileOut=argv[2];
35 }
catch ( std::exception &ex) {
36 std::cout <<
"Une erreur est survenue à l'éxécution de medImport" << std::endl;
37 std::cout << ex.what() << std::endl;
MEDIMPORT_EXPORT int MEDimport(char *filein, char *fileout)
int main(int argc, char *argv[])