(接上)将txt中的一组时间转换为简化儒略日的小工具
将txt中的一组时间转换为儒略日的小工具,输入年月日时分秒转换天文地理中常用的简化儒略日(MJD)
(只适用于1901年至2099年)
#include <iostream>
#include <stdio.h>
using namespace std;
int main()
{
freopen("D:\\input.txt", "r", stdin);
freopen("D:\\output.txt", "w", stdout);
float A[127][5];//共有n行6列数据,这里n=127
for(int i=0;i<127;i++