📄 nepcmain.c
字号:
#include <stdio.h>#include "y.tab.c"extern int yyparse();extern FILE * yyin;void motd(){ printf("--------------------------------------------------------------\n"); printf(">> nepc-0.2-r2 - A mini limited precision interpreting calculator.\n"); printf(">> Copyright (C) 2005 neplusultra@linuxsir.org\n"); printf(">> nepc is open software; you can redistribute it and/or modify\n\ it under the terms of the version 2.1 of the GNU Lesser \n\ General Public License as published by the Free Software\n\ Foundation.\n>> Type 'exit' to quit, type 'help' to get help.\n"); printf("--------------------------------------------------------------\n");}int main(void) { motd(); yyin=stdin; /* set parse stream to standard input */ yyparse(); /* begin parse */ fclose(yyin); return 0;}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -