funcdeclear.h

来自「学生成绩管理系统。实现学生的添加 删除和各科成绩管理。」· C头文件 代码 · 共 47 行

H
47
字号
#ifndef FUNCDECLEAR_H
#define FUNCDECLEAR_H

enum FuncRunResult
{
	FRR_SUCCEED=0,
	FRR_FAIL=1,
	FRR_SKIP=2,
	FRR_STOP=3
};

void			calldos();
FuncRunResult	changecoursecoefficient(int x);
FuncRunResult	changecoursename(int x);
int				changecoursepos	(int x);
FuncRunResult	changenumbername(int x, int y);
void			choose(int showX, int showY, int chooseX, int chooseY, int& newShowX, int& newShowY);
void			choosecoursehead	(int x);
void			choosenumbername	(int x,int y);
void			choosenumbernamehead(int x);
void			choosescore	(int x, int y, int& newx, int& newy);
void			choosesave	();
void			continuouschange	(int startX, int startY, int& endX, int& endY);
FuncRunResult	filter		(int x);
FuncRunResult	delcourse	(int x);
FuncRunResult	delstudent	(int y);
FuncRunResult	esc();
int				loadlist	();
FuncRunResult	loaddata	(const char* fileName=NULL);
bool			loadthis	(const char* filename);
int				main		(int argc, char* argv[]);
char*			rtrim		(char* string);
FuncRunResult	savecsv		(bool comma);
void			savegraph	(char screen[17][70]);
bool			savethis	(const char* filename);
int				savelist	();
void			showfilelist();
void			showgraph	(int x);
void			showheader	();
void			showlist	(int x, int y, int xNarrow=-10, int yNarrow=-10, int* xMax=NULL, int* yMax=NULL);
void			sleep		(int millisecond);
void			sortstudents();
int				sortstudentsComp(const void* a, const void* b);

extern ScoreSheet s;

#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?