C++ STL库函数

 

 

1. sprintf_s:格式化输出字符串

 

char path_temp[512];
const char object_mask_path[512] = "%04d.png";
int track_index = 1;
sprintf_s(path_temp, object_mask_path, track_index);

 

posted @ 2021-07-14 11:01  小小灰迪  阅读(54)  评论(0编辑  收藏  举报