Solved

Equation reader for a numerical methods program

Posted on 2000-04-18
1
304 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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Article by: SunnyDark
This article's goal is to present you with an easy to use XML wrapper for C++ and also present some interesting techniques that you might use with MS C++. The reason I built this class is to ease the pain of using XML files with C++, since there is…
What is C++ STL?: STL stands for Standard Template Library and is a part of standard C++ libraries. It contains many useful data structures (containers) and algorithms, which can spare you a lot of the time. Today we will look at the STL Vector. …
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…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

773 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