帮忙!求翻译这段英语. 注:这是数据结构的内容(2).Build a new project to implement the Conversion function. The input and output should be according to the following format:Please input the decimal number: 15The corresponding binary

来源:学生作业帮助网 编辑:作业帮 时间:2024/04/27 19:20:19

帮忙!求翻译这段英语. 注:这是数据结构的内容(2).Build a new project to implement the Conversion function. The input and output should be according to the following format:Please input the decimal number: 15The corresponding binary
帮忙!求翻译这段英语. 注:这是数据结构的内容
(2).Build a new project to implement the Conversion function. The input and output should be according to the following format:
Please input the decimal number: 15
The corresponding binary version is: 1111
Please input the decimal number: -1
(2). Build a new project to implement the bracket Matching function. The input and output should be according to the following format:
Please input the expression: a*(b+c)
The bracket of the expression is matching OK!
Please input the expression: a*(b+c))
The bracket of the expression is matching ERROR!
Please input the expression: (a*(b+c)
The bracket of the expression is matching ERROR!
Note
The two implementation of Stack should be written in separated files (.cpp and .h) in the VC++ workspace. Their files should be named differently, such as linkedStack.h, linkedStack.cpp, SqStack.h, SqStack.cpp.
是数据结构的内容

帮忙!求翻译这段英语. 注:这是数据结构的内容(2).Build a new project to implement the Conversion function. The input and output should be according to the following format:Please input the decimal number: 15The corresponding binary
(2)建立一个新的项目来完成转换函数.输入和输出需要按照下面的格式:
请输入十进制数:15
相应的二进制版本应该是:1111
请输入十进制数:-1
(2)建立一个新的项目来完成匹配函数.输入和输出需要按照下面的格式:
请输入公式:a*(b+c)
括号与公式匹配!
请输入公式:a*(b+c))
括号与公式匹配有误!
请输入公式:(a*(b+c)
括号与公式匹配有误!
心得笔记:
这两个存储栈的执行应该写在VC++工作区的两个独立的文件中(一个.cpp 格式文件和一个 .h格式文件).他们的文件名要分开命名,比如:linkedStack.h,linkedStack.cpp,SqStack.h,SqStack.cpp.