本篇文章介紹C 標準程式庫stdio.h 的sprintf() 。 ... #include <stdio.h> int main(void) { char c1[20]; int n = 10; sprintf(c1, "He has %d books.
確定! 回上一頁