Solved

Equation reader for a numerical methods program

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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

  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 goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
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.

747 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now