bbtkTestIstringStream.cxx

Go to the documentation of this file.
00001 /*=========================================================================
00002                                                                                 
00003   Program:   gdcm
00004   Module:    $RCSfile: bbtkTestIstringStream.cxx,v $
00005   Language:  C++
00006   Date:      $Date: 2008/01/22 15:02:00 $
00007   Version:   $Revision: 1.1.1.1 $
00008                                                                                 
00009   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
00010   l'Image). All rights reserved. See Doc/License.txt or
00011   http://www.creatis.insa-lyon.fr/Public/Gdcm/License.html for details.
00012                                                                                 
00013      This software is distributed WITHOUT ANY WARRANTY; without even
00014      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00015      PURPOSE.  See the above copyright notices for more information.
00016                                                                                 
00017 =========================================================================*/
00018 
00019 #include <sstream>
00020 
00021 int main()
00022 {
00023   std::istringstream os;
00024   int vm;
00025   std::string s = "5";
00026   os.str(s);
00027 
00028   os >> vm;
00029 
00030   return vm;
00031 }
00032 

Generated on Wed Nov 12 11:37:08 2008 for BBTK by  doxygen 1.5.6