main.cpp

来自「数据结构与程序设计教材源码 数据结构与程序设计教材源码」· C++ 代码 · 共 26 行

CPP
26
字号
#include "../../C/UTILITY.H"
#include "../../C/UTILITY.CPP"
 
typedef double Stack_entry;
#include "../STACK/STACK.H"
 
#include "../STACK/STACK.CPP"
#include "COMMANDS.CPP"
 
int main()
/* 
Post:
The program has executed simple arithmetic
commands entered by the user.
Uses:
The class Stack and the functions
introduction, instructions, do_command, and
get_command.
*/
{
   Stack stored_numbers;
   introduction();
   instructions();
   while (do_command(get_command(), stored_numbers));
}

⌨️ 快捷键说明

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