Solved

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

Posted on 1998-07-31
7
501 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
ID: 1169131
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
ID: 1169132
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
ID: 1169133
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
Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

 
LVL 6

Expert Comment

by:thresher_shark
ID: 1169134
Are you still there?  We can help.
0
 
LVL 8

Accepted Solution

by:
Answers2000 earned 180 total points
ID: 1169135
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
ID: 1169136
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
ID: 1169137
Agreed.
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

  Included as part of the C++ Standard Template Library (STL) is a collection of generic containers. Each of these containers serves a different purpose and has different pros and cons. It is often difficult to decide which container to use and …
This article will show you some of the more useful Standard Template Library (STL) algorithms through the use of working examples.  You will learn about how these algorithms fit into the STL architecture, how they work with STL containers, and why t…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

776 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