![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C++
文章平均质量分 65
李某人_1
这个作者很懒,什么都没留下…
展开
-
指针无法传递问题
指针无法传递问题 char *Spiffs::wifi_read_account(void) { File file; file = SPIFFS.open("/account.txt", FILE_READ); if (file) { char account2[]="1234"; char account[]=""; int index=0; while (file.available()) { account[index原创 2021-11-24 15:13:29 · 584 阅读 · 0 评论 -
C++学习笔记① 类和对象
C++学习笔记①类public 公有成员private 私有成员protected 受保护成员 类 类:是防止函数直接访问类类型的内部成员。 class Box { public: double length; private://可省略,成员默认为私有。 double width; }; public 公有成员 box.length = 10.0; // OK: 因为 length 是公有的 private 私有成员 box.width = 10.0原创 2021-09-08 01:15:48 · 120 阅读 · 0 评论