整型转字符串
int marketId = 0; char marketIdArr[5] = ""; snprintf(marketIdArr, sizeof(marketIdArr), "%d", marketId); string marketIdStr = marketIdArr;本文共 206 字,大约阅读时间需要 1 分钟。
整型转字符串
int marketId = 0; char marketIdArr[5] = ""; snprintf(marketIdArr, sizeof(marketIdArr), "%d", marketId); string marketIdStr = marketIdArr;转载于:https://www.cnblogs.com/xiaodangxiansheng/p/10950528.html