]> Creatis software - gdcm.git/blobdiff - Example/FlatHashTablePrint.cxx
COMP: Fix compilation on Mingw
[gdcm.git] / Example / FlatHashTablePrint.cxx
index 9403d02d1c286c294bc09c078225160991dee5c4..e7e806cc618281edf36ce9fd9561cfb53d56480d 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: FlatHashTablePrint.cxx,v $
   Language:  C++
-  Date:      $Date: 2004/12/03 20:16:55 $
-  Version:   $Revision: 1.5 $
+  Date:      $Date: 2005/01/14 17:31:34 $
+  Version:   $Revision: 1.7 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -22,9 +22,9 @@
 // as line argument) and print them. This is an illustration of the
 // usage of \ref gdcmDocument::BuildFlatHashTable().
 
-int main(int argc, char* argv[])
+int main(int , char* [])
 {
-   if (argc < 2)
+/*   if (argc < 2)
    {
       std::cerr << "Usage :" << std::endl << 
       argv[0] << " input_dicom " << std::endl;
@@ -38,7 +38,8 @@ int main(int argc, char* argv[])
    {
       tag->second->Print(); 
       std::cout << std::endl;
-   }
+   }*/
+   std::cout<<"Usefull example ???\n";
 
    return 0;
 }