X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=Example%2FWriteDicomSimple.cxx;h=846d0b75df249453572fd21cfb5a71d391a746c3;hb=d5f74ad32314e5aa7c2b36fccf33b8d58d8db81d;hp=6f4f0f8f4d3cd2fc9985918d7085d0c71b0d4f5f;hpb=78824b85576e715700db2a780582125087b664ba;p=gdcm.git diff --git a/Example/WriteDicomSimple.cxx b/Example/WriteDicomSimple.cxx index 6f4f0f8f..846d0b75 100644 --- a/Example/WriteDicomSimple.cxx +++ b/Example/WriteDicomSimple.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: WriteDicomSimple.cxx,v $ Language: C++ - Date: $Date: 2005/11/02 10:10:28 $ - Version: $Revision: 1.16 $ + Date: $Date: 2005/11/07 10:33:47 $ + Version: $Revision: 1.18 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -64,7 +64,7 @@ int main(int argc, char *argv[]) if (am->ArgMgrDefined("debug")) gdcm::Debug::DebugOn(); - char *fileOut = am->ArgMgrGetString("fileout","WriteDicomSimple.dcm"); + std::string fileOut = am->ArgMgrGetString("fileout",(char *)"WriteDicomSimple.dcm"); SIZE_X = am->ArgMgrGetInt("NX", 128); SIZE_Y = am->ArgMgrGetInt("NY", 128); COMPONENT = am->ArgMgrGetInt("components", 1);