diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-07-27 03:09:05 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-07-27 03:09:05 +0000 |
commit | 3a552b51733b93b367ced527ae2353aab9c051fd (patch) | |
tree | 5746ea74f1309f899a1d9a95fd13ebe733da535a /examples/Shared_Malloc | |
parent | 881d6a5cf78cffe881f1d75866ce2a752ebcee07 (diff) | |
download | ATCD-3a552b51733b93b367ced527ae2353aab9c051fd.tar.gz |
(main): use ACE_OS::printf () instead of cout
Diffstat (limited to 'examples/Shared_Malloc')
-rw-r--r-- | examples/Shared_Malloc/test_multiple_mallocs.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/Shared_Malloc/test_multiple_mallocs.cpp b/examples/Shared_Malloc/test_multiple_mallocs.cpp index e4d769a93e6..28629c1ce43 100644 --- a/examples/Shared_Malloc/test_multiple_mallocs.cpp +++ b/examples/Shared_Malloc/test_multiple_mallocs.cpp @@ -37,7 +37,7 @@ main (void) void *data = 0; if (shmem_request->find ("foo", data) == 0) - cout << (char *) data << endl; + ACE_OS::printf ("%s\n", data); else { data = shmem_request->malloc (ACE_OS::strlen (REQUEST_STRING) + 1); @@ -47,7 +47,7 @@ main (void) data = 0; if (shmem_response->find ("foo", data) == 0) - cout << (char *) data << endl; + ACE_OS::printf ("%s\n", data); else { data = shmem_response->malloc (ACE_OS::strlen (RESPONSE_STRING) + 1); |