X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=Testing%2FTestHash.cxx;h=51f1ddf13cea8574645fd2f4e557a7c104890b7d;hb=609c6adb9848fef0dc437626b77c72a3fb68d33f;hp=e712e355b616065ed8bc5b19810511fbf542ed77;hpb=1dd5edfd86663a2a001d781f6188f120b98b5216;p=gdcm.git diff --git a/Testing/TestHash.cxx b/Testing/TestHash.cxx index e712e355..51f1ddf1 100644 --- a/Testing/TestHash.cxx +++ b/Testing/TestHash.cxx @@ -11,7 +11,7 @@ int TestHash( int, char * [] ) << std::endl << " by gdcm are operational. " << std::endl; - typedef std::map dict; + typedef std::map dict; dict tb1; // Adding entries by key: @@ -42,10 +42,10 @@ int TestHash( int, char * [] ) // http://www.developer.com/net/cplus/article.php/10919_2119781_3 // Alas it doesn't work with g++ (at least)... int i = 0x0010; - std::cout.setf(std::ios::hex); - std::cout << "Test::TestHash : hexdecimal output : " << i << std::endl; - std::cout.setf(std::ios::dec); - std::cout << "Test::TestHash : decimal output : " << i << std::endl; + //std::cout.setf(std::ios::hex); + std::cout << "Test::TestHash : hexdecimal output : " << std::hex << i << std::endl; + //std::cout.setf(std::ios::dec); + std::cout << "Test::TestHash : decimal output : " << std::dec << i << std::endl; return 0; }