Ask a question

Please support our C++ advertiser: Intel Parallel Studio Home
Reply

Join Date: May 2005
Posts: 4
Reputation: Wenshere is an unknown quantity at this point 
Solved Threads: 0
Wenshere Wenshere is offline Offline
Newbie Poster

Ask a question

 
0
  #1
May 16th, 2005
I would like to design a program to implement a string of operation, such as:

1+3/4+5*5-(454*23-34)

Then, it returns a correct answer.

And what's the exact algorithms?
Reply With Quote Quick reply to this message  
Join Date: Oct 2004
Posts: 4,109
Reputation: vegaseat is just really nice vegaseat is just really nice vegaseat is just really nice vegaseat is just really nice vegaseat is just really nice 
Solved Threads: 943
Moderator
vegaseat's Avatar
vegaseat vegaseat is offline Offline
DaniWeb's Hypocrite

Re: Ask a question

 
0
  #2
May 16th, 2005
Always an interesting project. This sort of thing is called a "Function Parser" and there is a good C++ discussion at:
http://www.students.tut.fi/~warp/FunctionParser/
May 'the Google' be with you!
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the C++ Forum
Thread Tools Search this Thread



Tag cloud for C++
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC