c语言中int类型赋值给字符串怎么弄啊?

2024-11-22 06:47:59
推荐回答(1个)
回答(1):

①sprintf ( s, "%d", i );
②strcpy ( s2, "shutdown -s -t" );
system ( s2 );