#include #include void foo(const std::string& s) { printf("%s\n", s.c_str()); }