代码拉取完成,页面将自动刷新
#include "C:\Users\Programmer\Desktop\source code\error.h"
#include "C:\Users\Programmer\Desktop\source code\typedef.h"
#include "C:\Users\Programmer\Desktop\source code\defin.h"
#include "C:\Users\Programmer\Desktop\source code\inline.h"
static struct strat_and_time {
unsigned int counter;
double time;
};
static struct log_data {
double time;
char time_date[80];
};
#define MAX_BUFFER 100
#define MAX_USER_INPUT 100
#define NUMBER '0'
#define MAX_INPUT 100
#define MAX_TIME 80
//* 计算函数声明 */
int getop (char s[restrict]);
inline void buffer (const int c);
inline void push (const double number);
inline int getch (void);
inline double pop (void);
void message (const unsigned int number, const bool usre_input_error);
void input_accuracy (int *restrict const prt, bool *restrict const input_switch);
//* 文件函数声明 */
char * output_log_file_name (char *restrict const argv_func[], const int max, const char *restrict const string);
int input_start_log (char *restrict const , struct strat_and_time *);
int output_start_log (const char *restrict const , const struct strat_and_time * , const double time);
int use_log (char *restrict const);
int use_end_log (char *restrict const log_file_name, const double);
/* 时间函数*/
double program_time (void);
void time_data (char *restrict const string[], int max);
double user_number[MAX_INPUT];
double buf[MAX_BUFFER];
double user_input[MAX_USER_INPUT];
counter_t index = 0;
void key_esc (void)
{
int esc_number = 0;
while (1)
{
esc_number = GetAsyncKeyState(VK_ESCAPE);
Sleep(100);
if (esc_number == (-32768) || esc_number == (-32767))
{
puts("您即将退出!");
puts("1...");
Sleep(1000);
puts("0...");
exit(EXIT_SUCCESS);
}
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。