MathGroup Archive 1998

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Drawing curves with equation.



> From ogilloire@sysenhance.com Sat Mar  7 11:23:17 1998
> Date: Sat, 7 Mar 1998 02:06:42 -0500
> From: "Olivier Gilloire" <ogilloire@sysenhance.com>
To: mathgroup@smc.vnet.net
> To: mathgroup@smc.vnet.net
> Subject: [mg11428] [mg11371] Drawing curves with equation.
> X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3
> 
> Hi,
> 
> I'm a c++ programmer, and I would like to learn how to draw a curve
> corresponding to an equation, given in a string format like "x^2".
> 
> My problem is not how to draw the curve, but rather how to analyze the
> string and interpret it as a mathematic equation.
> 
> code samples are welcome !!
> 
> Olivier Gilloire
> 
> 
Hi,

You are in the false news group. Some thing like comp.compilers.* may
help You. There are some excelent books about lex and yacc for creating
syntax parsers.

Hope that helps
  Jens



  • Prev by Date: Plotting points in 3D
  • Next by Date: Copying to Winword
  • Prev by thread: RE: Drawing curves with equation.
  • Next by thread: prograMing: trees and indexes, 1/2