diff options
author | Brad King <brad.king@kitware.com> | 2003-12-23 16:03:33 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2003-12-23 16:03:33 (GMT) |
commit | 032d1d86524fe1748cc7070786655c0ba563ae99 (patch) | |
tree | 04a415af48884aab3e549b7bdecd7d5470d54831 /Source/kwsys/testIOS.cxx | |
parent | 0bdb092a019c87825a88208d4fdaef77379e3004 (diff) | |
download | CMake-032d1d86524fe1748cc7070786655c0ba563ae99.zip CMake-032d1d86524fe1748cc7070786655c0ba563ae99.tar.gz CMake-032d1d86524fe1748cc7070786655c0ba563ae99.tar.bz2 |
ENH: Merging changes from KWSys-IOS-bp to KWSys-IOS-b2t-1-mp to main tree. This introduces separate kwsys_ios and kwsys_stl macros needed to support all platforms.
Diffstat (limited to 'Source/kwsys/testIOS.cxx')
-rw-r--r-- | Source/kwsys/testIOS.cxx | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Source/kwsys/testIOS.cxx b/Source/kwsys/testIOS.cxx new file mode 100644 index 0000000..f1441f6 --- /dev/null +++ b/Source/kwsys/testIOS.cxx @@ -0,0 +1,11 @@ +#include <kwsys/stl/vector> +#include <kwsys/ios/sstream> +#include <kwsys/ios/iostream> + +int main() +{ + kwsys_ios::ostringstream ostr; + ostr << "Hello, World!"; + kwsys_ios::cout << ostr.str() << kwsys_ios::endl; + return 0; +} |