Find Jobs
Hire Freelancers

Assignment5

$30-5000 USD

已完成
已发布超过 22 年前

$30-5000 USD

货到付款
Programming I Assignment #5 Stacks and Expression Evaluation (write in C++ using Visual c++ 6.0 compiler) Implement a Stack ADT (abstract data type) as discussed in class; this involves writing a stack.h header file and a [login to view URL] implementation file. Then, write [login to view URL] which should include stack.h and will be linked with the object code from [login to view URL]; what your program 5 should do is to allow for integer expression evalutation. Open the file [login to view URL] (I will send it to u once i accept yr bid) and read in each line of text as a string which represents an integer arithmetic expression, such as ((2+3)*4)/9 -- integer constants, parentheses, and the four basic arithmetic operators. For each line of text, print it out and on the same line, lined up on the right, print the integer evaluation of the expression. Thus your output might appear as Expression Evaluation ((2+3)*4)/9 2 5+4*8 37 (and so on) You basically need two functions -- one for converting infix strings to postfix strings, and one for evaluating postfix strings into integer results. These will be discussed in class. Both functions involve the use of a stack. Get postfix.c (as seen in class) here. This code basically shows the routine for converting infix strings to postfix -- but you need to do a couple of things first: 1. Write a C++ class for a stack type rather than just using an array directly. 2. Write an evaluate function that will take a postfix string and "evaluate" it. This will be discussed in class. ## Deliverables Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. Complete copyrights to all work purchased. ## Deadline information Fri 11/23/01
项目 ID: 2832124

关于此项目

9提案
远程项目
活跃22 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
颁发给:
用户头像
See private message.
$29.75 USD 在14天之内
4.6 (60条评论)
4.5
4.5
9威客以平均价$35 USD来参与此工作竞价
用户头像
See private message.
$46.75 USD 在14天之内
4.5 (33条评论)
4.2
4.2
用户头像
See private message.
$63.75 USD 在14天之内
5.0 (7条评论)
3.4
3.4
用户头像
See private message.
$21.25 USD 在14天之内
4.8 (21条评论)
3.2
3.2
用户头像
See private message.
$29.75 USD 在14天之内
5.0 (10条评论)
2.9
2.9
用户头像
See private message.
$29.75 USD 在14天之内
5.0 (2条评论)
2.5
2.5
用户头像
See private message.
$42.50 USD 在14天之内
5.0 (2条评论)
1.9
1.9
用户头像
See private message.
$34 USD 在14天之内
0.0 (0条评论)
0.0
0.0
用户头像
See private message.
$17 USD 在14天之内
0.0 (0条评论)
0.0
0.0

关于客户

UNITED STATES的国旗
United States
5.0
25
会员自9月 16, 2001起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。