赞
踩
====================================================================
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <dos.h>
#include <windows.h>
#define DEAL50/*设计最大交易次数*/
struct date
{
int da_year;
int da_mon;
int da_day;
};
struct time
{
int ti_hour;
int ti_min;
int ti_sec;
};
struct deal
{
struct date dt;/*每笔交易的日期*/
struct time ti;/*每笔交易的时间*/
double earning;/*每笔交易的收入额度*/
double payout;/*每笔交易的支出额度*/
};
typede
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。