Re: Drawing curves with equation.
- To: mathgroup@smc.vnet.net
- Subject: [mg11428] Re: [mg11371] Drawing curves with equation.
- From: jpk@max.mpae.gwdg.de
- Date: Thu, 12 Mar 1998 01:33:05 -0500
> 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