问题标题: C++20 yyds

0
0
已解决
薛乘志
薛乘志
初级启示者
初级启示者

以前:

cout << "(" << x << ", " << y << "): " << msg << endl;

现在:

cout << format("({}, {}): {}\n", x, y, msg);

 


0
0
蔡辰夕
蔡辰夕
新手启示者
新手启示者

ptthon里:

print(format("你是:{}",x)

我要回答