Subj : Re: Math Equations To : borland.public.cpp.borlandcpp From : Dparker Date : Fri Jul 30 2004 09:28 am "George Tamero" wrote in message news:4109ff58$1@newsgroups.borland.com... > > Does anyone know of a function (or member function) for DOS apps, that can take a string or char array that contains a math equation with numbers an any and/or all operators and parenthesis and return the simplified answer. If not is there ANYTHING that I'm not thinking of, that can do pretty much the same. I have Borland 5.02 compiler. > > George > It would be an interesting, and I think relatively simple function to write yourself. As a basis for parsing the string I would suggest learning the functions strtok() and strstr(). .