aboutsummaryrefslogtreecommitdiff
path: root/test/miscellaneous/odp_api_from_cpp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/miscellaneous/odp_api_from_cpp.cpp')
-rw-r--r--test/miscellaneous/odp_api_from_cpp.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/miscellaneous/odp_api_from_cpp.cpp b/test/miscellaneous/odp_api_from_cpp.cpp
index 4578ae4be..7ed72ff17 100644
--- a/test/miscellaneous/odp_api_from_cpp.cpp
+++ b/test/miscellaneous/odp_api_from_cpp.cpp
@@ -1,11 +1,11 @@
-#include <cstdio>
+#include <iostream>
#include <odp_api.h>
#include <odp/helper/odph_api.h>
int main(int argc ODP_UNUSED, const char *argv[] ODP_UNUSED)
{
- printf("\tODP API version: %s\n", odp_version_api_str());
- printf("\tODP implementation version: %s\n", odp_version_impl_str());
+ std::cout << "\tODP API version: " << odp_version_api_str() << std::endl;
+ std::cout << "\tODP implementation version: " << odp_version_impl_str() << std::endl;
return 0;
}