我有以下结构:
typedef struct { float battery; float other; float humidity; } rtcStore; rtcStore rtcMem;
我需要将结构中存储的数据发送到 thingspeak.com。但是,要发送数据,我需要将结构转换为字符串。谁能告诉我该怎么做?如果用C语言完成的话会更有帮助。
c++
c++ ×1