// SysY 运行库头文件: // - 声明运行库函数原型(供编译器生成 call 或链接阶段引用) // - 与 sylib.c 配套,按规范逐步补齐声明 #ifndef __SYLIB_H_ #define __SYLIB_H_ #include #include #include /* Input & output functions */ int getint(),getch(),getarray(int a[]); void putint(int a),putch(int a),putarray(int n,int a[]); float getfloat(); void putfloat(float a); int getfarray(float a[]); void putfarray(int n,float a[]); /* Timing functions */ void starttime(); void stoptime(); #endif