std::string
12345678
#include <string> std::string function_returning_a_string() { std::string str = "whatever" ; // ... return str ; }