Solved

Equation reader for a numerical methods program

Posted on 2000-04-18
1
306 Views
Last Modified: 2012-06-21
Hi I was just wondering if someone can put me out of my misery ...
I have written a c++ program that does numerical methods however it has no element of interactivity :( What I mean is I have no clue how to get a user's equation. At the moment what the user has to do is edit the function within the program itself. Aye you guessed it I am new to C++ heh heh . The only way I can think of doing it is reading the user's input as a string and scanning through it ... BUT I have no clue on how to do that .... Hopefully one of you programming guru's can help me heh heh .... Taa
0
Comment
Question by:Forsaken_Aginor
1 Comment
 
LVL 86

Accepted Solution

by:
jkr earned 100 total points
ID: 2726632
That's quite a complex task - take a look at http://www.codeguru.com/misc/Parser.html, this should put you on the right track...
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Templates For Beginners Or How To Encourage The Compiler To Work For You Introduction This tutorial is targeted at the reader who is, perhaps, familiar with the basics of C++ but would prefer a little slower introduction to the more ad…
Introduction This article is a continuation of the C/C++ Visual Studio Express debugger series. Part 1 provided a quick start guide in using the debugger. Part 2 focused on additional topics in breakpoints. As your assignments become a little more …
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

685 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