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
Ταυτότητα εργασίας: 2832124

Σχετικά με την εργασία

9 προτάσεις
Απομακρυσμένη Εργασία
Ενεργός/ή 22 χρόνια πριν

Ψάχνεις τρόπο για να κερδίσεις μερικά χρήματα;

Πλεονεκτήματα πλειοδοσίας στο Freelancer

Καθόρισε τον προϋπολογισμό σου και το χρονοδιάγραμμα
Πληρώσου για τη δουλειά σου
Περίγραψε την πρόταση σου
Η εγγραφή και η πλειοδοσία σε εργασίες είναι δωρεάν
Βραβεύτηκε στον/στην:
Avatar Χρήστη
See private message.
$29,75 USD σε 14 ημέρες
4,6 (60 αξιολογήσεις)
4,5
4,5
9 freelancers δίνουν μια μέση προσφορά $35 USD για αυτή τη δουλειά
Avatar Χρήστη
See private message.
$46,75 USD σε 14 ημέρες
4,5 (33 αξιολογήσεις)
4,2
4,2
Avatar Χρήστη
See private message.
$63,75 USD σε 14 ημέρες
5,0 (7 αξιολογήσεις)
3,4
3,4
Avatar Χρήστη
See private message.
$21,25 USD σε 14 ημέρες
4,8 (21 αξιολογήσεις)
3,2
3,2
Avatar Χρήστη
See private message.
$29,75 USD σε 14 ημέρες
5,0 (10 αξιολογήσεις)
2,9
2,9
Avatar Χρήστη
See private message.
$29,75 USD σε 14 ημέρες
5,0 (2 αξιολογήσεις)
2,5
2,5
Avatar Χρήστη
See private message.
$42,50 USD σε 14 ημέρες
5,0 (2 αξιολογήσεις)
1,9
1,9
Avatar Χρήστη
See private message.
$34 USD σε 14 ημέρες
0,0 (0 αξιολογήσεις)
0,0
0,0
Avatar Χρήστη
See private message.
$17 USD σε 14 ημέρες
0,0 (0 αξιολογήσεις)
0,0
0,0

Σχετικά με τον πελάτη

Σημαία της UNITED STATES
United States
5,0
25
Μέλος από Σεπ 16, 2001

Επαλήθευση Πελάτη

Ευχαριστούμε! Σου έχουμε στείλει ένα email με ένα σύνδεσμο για να διεκδικήσεις τη δωρεάν πίστωση σου.
Κάτι πήγε στραβά κατά την προσπάθεια αποστολής του email σου. Παρακαλούμε δοκίμασε ξανά.
Εγγεγραμμένοι Χρήστες Συνολικές Αναρτημένες Δουλειές
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Φόρτωση προεπισκόπησης
Δόθηκε πρόσβαση για Geolocation.
Η σύνδεση σου έχει λήξει και τώρα έχεις αποσυνδεθεί. Παρακαλούμε συνδέσου ξανά.