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
Solved

Equation reader for a numerical methods program

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

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 …
Many modern programming languages support the concept of a property -- a class member that combines characteristics of both a data member and a method.  These are sometimes called "smart fields" because you can add logic that is applied automaticall…
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 user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

840 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