+/*=========================================================================
+
+ Program: gdcm
+ Module: $RCSfile: TestDcm2Acr.cxx,v $
+ Language: C++
+ Date: $Date: 2004/11/16 04:26:18 $
+ Version: $Revision: 1.4 $
+
+ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
+ l'Image). All rights reserved. See Doc/License.txt or
+ http://www.creatis.insa-lyon.fr/Public/Gdcm/License.html for details.
+
+ This software is distributed WITHOUT ANY WARRANTY; without even
+ the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ PURPOSE. See the above copyright notices for more information.
+
+=========================================================================*/
#include <iostream>
#include "gdcm.h"
+#include <stdio.h>
int main(int argc, char* argv[])
{
std::string toto;
char zozo[100];
- gdcmFile * f1;
+ gdcm::File * f1;
printf (" Before gdcmFile() \n");
printf ("\n\n---------------------------------------\n\n");
if (argc > 1) {
toto = argv[1];
- f1 = new gdcmFile(toto);
+ f1 = new gdcm::File(toto);
} else {
std::string filename = GDCM_DATA_ROOT;
filename += "/test.acr";
- f1 = new gdcmFile(filename.c_str());
+ f1 = new gdcm::File(filename.c_str());
}
printf (" Sortie gdcmFile() \n");