[Dcmlib] gdcm Examples
Jean-Pierre Roux
jpr at creatis.insa-lyon.fr
Fri Jan 28 16:46:39 CET 2005
Jean-Pierre Roux wrote:
> Mathieu Malaterre wrote:
>
>>
>>
> [...]
>
>> Anyway I guess the Hello World for gdcm should be something like:
>>
>> #include <gdcm.h>
>> int main(int argc, char *argv[])
>> {
>> if( argc != 2 ) return 1;
>>
>> std::string filename = argv[1];
>
>
Hi, gbook !
I do agree with Mathieu except with the following misstyping :
gdcm::File h( filename );
NOT gdcm::Header
HTH
JP
>> gdcm::Header h( filename );
>> h.Print();
>> return 0;
>> }
>>
>>
>> HTH
>> Mathieu
>> _______________________________________________
>> Dcmlib mailing list
>> Dcmlib at creatis.insa-lyon.fr
>> http://www.creatis.insa-lyon.fr/mailman/listinfo/dcmlib
>>
>
More information about the Dcmlib
mailing list