Solved

C++ calculator program-using classes and linked lists  source code.

Posted on 1998-07-31
7
500 Views
Last Modified: 2008-02-01
i would like to get access to a source code for a calculator program using classes, and linked lists, it should be a recursive adt, it must be able to (+,-,*,/), and read in any number of expressions, and evaluate them, example "6*8/5-2*3", if i could get access to this it would greatly be apreciated, i have been working on the program for some weeks now, it is really difficult to learn this stuff on your own, and have finally give up, but if i could see the code anytime within the next two, three days it would help alot, thanks alot,
0
Comment
Question by:punnu
7 Comments
 
LVL 5

Expert Comment

by:yonat
Comment Utility
There is an example for this in Stroustrup's "The C++ Programming Language".

It will be easier for us to help you if you post what you did, and ask specific questions about it.
0
 
LVL 22

Expert Comment

by:nietod
Comment Utility
If this is for a class we cannot provide a complete solution.  That is in violation of our customer service agreement with EE.  But we can answer specific questions.  we can look over your work and make suggestions.
0
 
LVL 6

Expert Comment

by:thresher_shark
Comment Utility
I wrote a calculator program once, back in the days of DOS, it does what you ask for plus some.  However, the way you state your question really does make it sound like a homework assignment (I truly wouldn't know what kind of homework you'd get because I'm only a freshmen in high school, but...)
0
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 
LVL 6

Expert Comment

by:thresher_shark
Comment Utility
Are you still there?  We can help.
0
 
LVL 8

Accepted Solution

by:
Answers2000 earned 180 total points
Comment Utility
Have you died?  Or maybe nietod's Jul 31 comment put you off ?  This is a wake up call ?
0
 
LVL 6

Expert Comment

by:thresher_shark
Comment Utility
Answers2k - Are you hoping for an autograde or something?  If you want to try to wake the tired person up, you should just post a comment.
0
 
LVL 22

Expert Comment

by:nietod
Comment Utility
Agreed.
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Unlike C#, C++ doesn't have native support for sealing classes (so they cannot be sub-classed). At the cost of a virtual base class pointer it is possible to implement a pseudo sealing mechanism The trick is to virtually inherit from a base class…
IntroductionThis article is the second in a three part article series on the Visual Studio 2008 Debugger.  It provides tips in setting and using breakpoints. If not familiar with this debugger, you can find a basic introduction in the EE article loc…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now