X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=Example%2FVolume2Dicom.cxx;h=3b852d27b6760041b946b929bfd8930bbf74a769;hb=5b89bede4607999aeb8d5b45311e7ee82f9471ef;hp=98bd8dc35769e2eb58fc68ab244251960c6f33c0;hpb=c094e185dd6404df031524ccae8e1b51e3b84871;p=gdcm.git diff --git a/Example/Volume2Dicom.cxx b/Example/Volume2Dicom.cxx index 98bd8dc3..3b852d27 100644 --- a/Example/Volume2Dicom.cxx +++ b/Example/Volume2Dicom.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: Volume2Dicom.cxx,v $ Language: C++ - Date: $Date: 2005/01/21 11:40:53 $ - Version: $Revision: 1.5 $ + Date: $Date: 2005/02/02 10:06:32 $ + Version: $Revision: 1.6 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -41,9 +41,10 @@ const unsigned int Dimension = 3; void gdcmwrite(const char *inputfile, std::string directory); -void GetFileDateAndTime(const char *inputfile, std::string &date, std::string &time); +void GetFileDateAndTime(const char *inputfile, + std::string &date, std::string &time); -int main( int argc, char * argv[] ) +int main( int argc, char *argv[] ) { if (argc < 2) { @@ -158,7 +159,8 @@ int main( int argc, char * argv[] ) // just an utility function to retrieve date and time of a file -void GetFileDateAndTime(const char *inputfile, std::string &date, std::string &time) +void GetFileDateAndTime(const char *inputfile, std::string &date, + std::string &time) { struct stat buf; if (stat(inputfile, &buf) == 0)