1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
/**************************************************************/
/* Filename: auto4.c by: Shiau Yan-Chyuan */
/* */
/* Usage: */
/**************************************************************/
#include <stdio.h>
#include "malloc.h"
#define LINE 121
#define LOW 0.5
#define MID 2.5
#define UP 4.5
typedef struct SOLUTION
{
float rise_l,rise_m,rise_h,rise_r,rise_dt1,rise_dt2;
float fall_l,fall_m,fall_h,fall_f,fall_dt1,fall_dt2;
float pre_r_dt2,pre_f_dt2;
int flag_rl,flag_rm,flag_rh;
int flag_fl,flag_fm,flag_fh;
} SX;
struct SOLUTION sol[2];
FILE *point_out,*point_abs,*fopen();
char file_out[20],file_abs[20];
float start_time=2.0e-09;
/* char *sprintf(),*strcpy(),*fprintf(); */
float fabs(),atof();
int atoi();
|