摘要: #include #include #include <stdio.h> #include <stdlib.h> #include <string.h> int stringsub(std::string & in, std::string & pattern, std::vectorstd::st 阅读全文
posted @ 2022-09-14 16:43 xiaomaixiaomai 阅读(226) 评论(0) 推荐(0)
摘要: /******************************************************************************************************** * * 函 数 名:int seaHeightPath * 函数说明: * 根据日期范围 阅读全文
posted @ 2022-09-14 16:41 xiaomaixiaomai 阅读(592) 评论(0) 推荐(0)
摘要: ###控制台应用 来源https://blog.csdn.net/qq_27661837/article/details/126001020 ####1.安装数据库 MySQL Server 8.0(自行安装一下) ####2.打开数据库目录检查是否有这两个文件 ####3.编译器内改成X64 ## 阅读全文
posted @ 2022-09-14 16:24 xiaomaixiaomai 阅读(786) 评论(0) 推荐(0)
摘要: c++读取netcdf 一维数据 读取维度例子 #include <Eigen/Dense> #include "netcdfcpp.h" #include "hdf5.h" #include "H5Cpp.h" NcFile dataFile(path, NcFile::read); NcVar 阅读全文
posted @ 2022-09-14 15:56 xiaomaixiaomai 阅读(355) 评论(1) 推荐(0)
摘要: 适用于存在组的情况 Eigen::VectorXd &vd为Eigen中的数据类型,需要另行配置 #include <Eigen/Dense> #include "netcdfcpp.h" #include "hdf5.h" #include "H5Cpp.h" int read(Eigen::Ve 阅读全文
posted @ 2022-09-14 15:33 xiaomaixiaomai 阅读(541) 评论(0) 推荐(0)