资 源 简 介
不怕溢出的sprintf
int main()
{
string s
stringprintf(s, "int: d, double: f, str: s", 18, 18.55, "test")
cout << s << endl
}-Not afraid of overflow sprintf int main () (string s stringprintf (s, " int: d, double: f, str: s" , 18, 18.55, " test" ) cout < < s < < endl )