與printf, fprintf, sprintf, snprintf 只差一個開頭的「 v 」, ... if (cx>=0 && cx<100) // check returned value snprintf ( buffer+cx, 100-cx, ...
確定! 回上一頁