C++读取txt文档到数组

用C++从txt文件中读取 x 行 y 列的数据到数组中。 //读取数据到 double数组 #include <iostream> #include <fstream>   using   namespace   std;   int   main() {      double   array[27][30]={0.0};//如果数据量过大 则需要把 array 定义成static类型,   
相关文章
相关标签/搜索