随笔分类 - C++编程
摘要:一、char* 字符串格式化 根据输入的int型参数,与字符串拼接。 char*可以替换为char[] int num = 1; char tmpStr[5]; sprintf(tmpStr, "Test%d", num); //tmpStr = Test1 二、获取char*的长度 void ge
阅读全文
摘要:1、https://blog.csdn.net/xionglifei2014/article/details/80665636 2、https://blog.csdn.net/starelegant/article/details/72822308
阅读全文
摘要:https://www.runoob.com/cplusplus/cpp-numbers.html
阅读全文