![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C++文件读写
吃我老猪一钉耙
这个作者很懒,什么都没留下…
展开
-
C++读取CSV表格(字符串型数据)
#include#include #include using namespace std;#define ROWS 15#define COLS 6FILE*fp;int main(void){ errno_t err; char path[] = "D:/AllElectronics.csv"; err = fopen_s(&fp, path, "r"); if (er原创 2018-01-29 22:49:43 · 791 阅读 · 0 评论 -
C++读取CSV表格(double型数据)
#include #include#include using namespace std;int main(){ FILE *fp = NULL; char path[260]; strcpy(path, "/home/zlf/Documents/code/Hb.csv"); fp = fopen(path, "at原创 2017-12-15 23:10:21 · 1733 阅读 · 0 评论