Als «string» getaggte Fragen

157
printf mit std :: string?

Ich verstehe, dass dies stringein Mitglied des stdNamespace ist. Warum tritt also Folgendes auf? #include <iostream> int main() { using namespace std; string myString = "Press ENTER to quit program!"; cout << "Come up and C++ me some time." << endl; printf("Follow this command:...