资源简介
本程序可以读取电离层IONEX数据,可以运行,程序流畅简洁,清楚易懂
代码片段和文件信息
#include “Ionex_struct.h“
using namespace std;
void main()
{
//char *path=“F:\\1.txt“;
fstream file;
file.open(“1.txt“ios::in|ios::out );
if(!file.eof()) cout<<“文件打开错误!“;
while(1)
{
string str;
getline(filestr‘\n‘);
if(str.find(“END OF HEADER“) !=string::npos)
break;
}
vector ndata;
while(1)
{
string str1;
IonRec rec_tmp;
getline(filestr1‘\n‘);
if(str1.find(“END OF FILE“) !=string::npos)
break;
else
{
rec_tmp.num_of_map=atoi(str1.substr(06).c_str()); //读num_of_map
Read_Rec(filerec_tmp);
ndata.push_back(rec_tmp);
}
}
file.close();
} 属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 119296 2014-03-17 09:29 Read_Ionex\Debug\Read_Ionex.exe
文件 791564 2014-03-17 09:29 Read_Ionex\Debug\Read_Ionex.ilk
文件 1117184 2014-03-17 09:29 Read_Ionex\Debug\Read_Ionex.pdb
文件 24313856 2014-03-17 09:28 Read_Ionex\ipch\read_ionex-2953bf25\read_ionex-75505c6a.ipch
文件 34331 2014-03-17 09:01 Read_Ionex\Read_Ionex\1.txt
文件 1498 2014-03-17 09:29 Read_Ionex\Read_Ionex\Debug\cl.command.1.tlog
文件 24046 2014-03-17 09:29 Read_Ionex\Read_Ionex\Debug\CL.read.1.tlog
文件 1262 2014-03-17 09:29 Read_Ionex\Read_Ionex\Debug\CL.write.1.tlog
文件 2 2014-03-17 09:29 Read_Ionex\Read_Ionex\Debug\li
文件 2 2014-03-17 09:29 Read_Ionex\Read_Ionex\Debug\li
文件 2 2014-03-17 09:29 Read_Ionex\Read_Ionex\Debug\li
文件 2 2014-03-17 09:29 Read_Ionex\Read_Ionex\Debug\li
文件 2 2014-03-17 09:29 Read_Ionex\Read_Ionex\Debug\li
文件 2 2014-03-17 09:29 Read_Ionex\Read_Ionex\Debug\li
文件 1924 2014-03-17 09:29 Read_Ionex\Read_Ionex\Debug\li
文件 3616 2014-03-17 09:29 Read_Ionex\Read_Ionex\Debug\li
文件 1194 2014-03-17 09:29 Read_Ionex\Read_Ionex\Debug\li
文件 354926 2014-03-17 09:29 Read_Ionex\Read_Ionex\Debug\main.obj
文件 446 2014-03-17 09:29 Read_Ionex\Read_Ionex\Debug\mt.command.1.tlog
文件 418 2014-03-17 09:29 Read_Ionex\Read_Ionex\Debug\mt.read.1.tlog
文件 418 2014-03-17 09:29 Read_Ionex\Read_Ionex\Debug\mt.write.1.tlog
文件 646 2014-03-17 09:13 Read_Ionex\Read_Ionex\Debug\rc.command.1.tlog
文件 390 2014-03-17 09:13 Read_Ionex\Read_Ionex\Debug\rc.read.1.tlog
文件 398 2014-03-17 09:13 Read_Ionex\Read_Ionex\Debug\rc.write.1.tlog
文件 2565 2014-03-17 09:13 Read_Ionex\Read_Ionex\Debug\Read_Ionex.Build.CppClean.log
文件 406 2014-03-17 09:13 Read_Ionex\Read_Ionex\Debug\Read_Ionex.exe.em
文件 472 2014-03-17 09:13 Read_Ionex\Read_Ionex\Debug\Read_Ionex.exe.em
文件 381 2014-03-17 09:29 Read_Ionex\Read_Ionex\Debug\Read_Ionex.exe.intermediate.manifest
文件 79 2014-03-17 09:29 Read_Ionex\Read_Ionex\Debug\Read_Ionex.lastbuildstate
文件 2450 2014-03-17 09:29 Read_Ionex\Read_Ionex\Debug\Read_Ionex.log
............此处省略23个文件信息
相关资源
- VisualStudioUninstaller vs卸载工具
- 组态王驱动开发包3.0.0.7(中文)
- 多窗口后台鼠标连点器
- 使用选择性重传协议实现UDP可靠通信
- VC 获得文件属性 获取文件的创建时
- 读者写者问题(读者优先,写者优先
- 用VC 编写的仿QQ聊天室程序源代码
- ado数据库MFC图书管理系统vs2010
- 外点法程序
- 外罚函数程序
- qt-电子点菜系统
- 推箱子及人工智能寻路C 源代码
- 自己写的航空订票系统c 版--数据结构
- 数据结构实验魔王语言
- MUSIC算法c 实现
- C 餐厅叫号系统(QT平)
- 国际象棋c 完整版
-
ob
jectARX给Auto CAD加工具条 - 画图程序MFC/VC/VC CRectTracker 串行化
- MFC网络编程实例
- c 课程设计 职工信息管理系统
- VC 游戏编程—附源代码
- IpHlpApi.h&IpHlpApi.lib
- 清华大学 c 郑莉 ppt课件
- c 程序判断离散数学中命题公式
- 多项式求和(数据结构C 版)
- vc 6.0开发的流程图编辑器
- VC 天空盒(skyBox)实现(附源代码)
- c MFC 画多边形
- 用C 实现的对网络上的ARP数据包进行
川公网安备 51152502000135号
评论
共有 条评论