#include<iostream> using namespace std; int main() { cout<<"printf(\"Hello world!\\n\");"<<endl; //输出双引号要用转义字符 cout<<"cout << \"Hello world!\" << endl;"; }
#include<iostream> using namespace std; int main() { cout<<"printf(\"Hello world!\\n\");"<<endl; //输出双引号要用转义字符 cout<<"cout << \"Hello world!\" << endl;"; }