如何将int(整数)转换为字符串?我正在尝试创建一个函数,将a的数据struct转换为字符串以将其保存在文件中.
int
struct
c string integer
c ×1
integer ×1
string ×1