Solved

Equation reader for a numerical methods program

Posted on 2000-04-18
1
307 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
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 learn how to clear a vector as well as how to detect empty vectors in C++.

710 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