有沒有一種方法可以指定要輸出的字符串中多少個字符(類似于ints中的小數(shù)位)?printf ("Here are the first 8 chars: %s\n", "A string that is more than 8 chars");想要打?。?Here are the first 8 chars: A string
- 3 回答
- 0 關(guān)注
- 1494 瀏覽
添加回答
舉報
0/150
提交
取消