640printf()ing string in C++

Silly, little C++ Beginner’s mistake. How do you print strings in C++?
string test = "tssst";
printf(test);
Of course not, that’s C++!!! That’s how you do it:
printf(test.c_str());
And if you want to stop the compiler throwing warnings:
printf("%s", test.c_str());
So close, yet so far out.