一些c++ 函数以及例子
摘要:
1.snprintf int main() { char buf[100]={0} ; int cx; cx = snprintf(buf,sizeof(buf),"the half of %d is %d",60,60/2); snprintf(buf+cx,100-cx,",and a half 阅读全文
posted @ 2022-06-16 18:31 对我不好 阅读(90) 评论(0) 推荐(0) 编辑
posted @ 2022-06-16 18:31 对我不好 阅读(90) 评论(0) 推荐(0) 编辑