Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我尝试使用 CAPL 中的 filePutString() 函数将整数变量写入文件。有没有办法将整数转换为字符,因为 filePutString() 只使用字符作为参数。
我想最好的方法是使用 snprintf。
char buffer[100]; int number = 10; snprintf(buffer, elcount(buffer), "Text: %d", number);