Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!pt.cs.cmu.edu!o.gp.cs.cmu.edu!andrew.cmu.edu!rg20+ From: rg20+@andrew.cmu.edu (Rick Francis Golembiewski) Newsgroups: comp.sys.amiga Subject: Re: Mathematical Equation Code.... Message-ID: Date: 25 Dec 90 02:24:32 GMT References: <39919@nigel.ee.udel.edu> Organization: Class of '92, Carnegie Mellon, Pittsburgh, PA Lines: 14 In-Reply-To: <39919@nigel.ee.udel.edu> > If anyone has any code in c that will give you a solution to a >Problem like the following PLEASE Mail it to Me!!! > 3(8*3(cos(4)*7-9)/43+3)+32) I assume you want code that will take a string with the above equation and parse it out to a numerical answer? If so I have some code that will do it, but be warned it is UGLY, but it does work (at least the last time I compiled it [a year or so ago]). Let me know if you haven't found anything and still need it... // Rick Golembiewski rg20+@andrew.cmu.edu \\ \\ #include stddisclaimer.h // \\ "I never respected a man who could spell" // \\ -M. Twain //