write 2d array to a file in C

前端 未结 2 1819
清歌不尽
清歌不尽 2021-02-04 15:52

I used to use the code below to Write an 1D array to a File:

FILE *fp;
float floatValue[5] = { 1.1F, 2.2F, 3.3F, 4.4F, 5.5F };
int i;

if((fp=fopen(\"test\", \"w         


        
2条回答
提交回复
热议问题