<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<STYLE>.hmmessage P {
PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px
}
BODY.hmmessage {
FONT-SIZE: 10pt; FONT-FAMILY: Tahoma
}
</STYLE>
<META content="MSHTML 6.00.2800.1607" name=GENERATOR></HEAD>
<BODY class=hmmessage>
<DIV dir=ltr align=left>
<DIV><FONT face=Arial color=#0000ff></FONT> </DIV>
<DIV><SPAN class=828364116-16072008><FONT face=Arial
color=#0000ff>Hola:</FONT></SPAN></DIV>
<DIV><SPAN class=828364116-16072008><FONT face=Arial color=#0000ff>Quizas estos
links te puedanservir.</FONT></SPAN></DIV>
<DIV><SPAN class=828364116-16072008><FONT face=Arial
color=#0000ff></FONT></SPAN> </DIV>
<DIV><SPAN class=828364116-16072008><FONT face=Arial
color=#0000ff>José</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff></FONT> </DIV>
<DIV><A
href="BLOCKED::http://www.eleves.ens.fr/home/ollivier/mathlib/mathexpr.html"
target=_blank><FONT
face=Arial>http://www.eleves.ens.fr/home/ollivi.../mathexpr.html</FONT></A><BR><A
href="BLOCKED::http://www.bestcode.com/html/tbcparser.html" target=_blank><FONT
face=Arial>http://www.bestcode.com/html/tbcparser.html</FONT></A><BR><A
href="BLOCKED::http://delphi.icm.edu.pl/newl/c30/s049_001.htm"
target=_blank><FONT
face=Arial>http://delphi.icm.edu.pl/newl/c30/s049_001.htm</FONT></A><BR><A
href="BLOCKED::http://www.freedownloadscenter.com/Programming/Components_and_Libraries/bcParser_NET___Mathematical_Expression_Parser.html"
target=_blank><FONT
face=Arial>http://www.freedownloadscenter.com/P...on_Parser.html</FONT></A></DIV></DIV><BR>
<DIV class=OutlookMessageHeader lang=es dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma><B>De:</B> cconclase-bounces@listas.conclase.net
[mailto:cconclase-bounces@listas.conclase.net] <B>En nombre de </B>rodolfo rosso
paz<BR><B>Enviado el:</B> Martes, 15 de Julio de 2008 03:49 p.m.<BR><B>Para:</B>
Lista de correo sobre C y C++<BR><B>Asunto:</B> Re: [C con Clase] interprete de
expresiones matematicas<BR></FONT><BR></DIV>
<DIV></DIV>Pero las macros se evaluan en tiempo de compilación, yo necesito que
se evaluen en tiempo de ejecución, esto es, que el usuario pueda ingresar
la fórmula y el programa la evalue y ejecute.<BR> <BR>Gracias de todos
modos por el aporte<BR> <BR>Rodolfo<BR><BR>> Date: Tue, 15 Jul 2008
13:16:27 -0400<BR>> From: hugo.gutierrez.s@gmail.com<BR>> To:
cconclase@listas.conclase.net<BR>> Subject: Re: [C con Clase] interprete de
expresiones matematicas<BR>> <BR>> Rodolfo<BR>> <BR>> Mediante el
uso de sustitución de macros se puede realizar algo parecido<BR>> Pero no sé
si te sirve...<BR>> <BR>> #include <stdio.h><BR>> #define v
x+5<BR>> <BR>> main()<BR>> {<BR>> int x=2, y;<BR>> y= v;<BR>>
printf("v= %d\n",v);<BR>> getchar();<BR>> }<BR>> <BR>> Hugo
Gutierrez S.<BR>> <BR>> 2008/7/14, rodolfo rosso paz
<rodolforossopaz@hotmail.com>:<BR>> > Hola a todos nuevamente, de
nuevo por aqui molestando:<BR>> ><BR>> > queria saber si hay una
forma de evaluar una expresion matamatica contenida<BR>> > en una cadena y
obtener el resultado :<BR>> ><BR>> ><BR>> > Ejemplo.<BR>>
><BR>> > int x = 3<BR>> > var = "x + 5"<BR>> > int
resultado = evaluar(var)<BR>> ><BR>> > y que resultado contenga 8.
me dicen que en java hay una funcion EVAL()<BR>> > y yo recuerdo que en
clipper tambien habia lo que se le llamaba macros y<BR>> > solo era
necesario colocar & delante de var, y con eso obtenia el resultado<BR>>
> de la formula contenida en la cadena.<BR>> ><BR>> > ¿hay forma
de hacerlo en c++?<BR>> ><BR>> ><BR>> > Gracias de
antemano<BR>> ><BR>> > Rodolfo<BR>> ><BR>> ><BR>>
><BR>> > ________________________________<BR>> > Discover the new
Windows Vista Learn more!<BR>> >
_______________________________________________<BR>> > Lista de correo
Cconclase Cconclase@listas.conclase.net<BR>> >
http://listas.conclase.net/mailman/listinfo/cconclase_listas.conclase.net<BR>>
> Bajas: http://listas.conclase.net/index.php?gid=2&mnu=FAQ<BR>>
><BR>> <BR>> _______________________________________________<BR>>
Lista de correo Cconclase Cconclase@listas.conclase.net<BR>>
http://listas.conclase.net/mailman/listinfo/cconclase_listas.conclase.net<BR>>
Bajas: http://listas.conclase.net/index.php?gid=2&mnu=FAQ<BR><BR><BR>
<HR>
Connect to the next generation of MSN Messenger <A
href="http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&source=wlmailtagline"
target=_new>Get it now! </A>
<P><FONT face=Arial>No virus found in this incoming message.<BR>Checked by AVG -
http://www.avg.com<BR>Version: 8.0.138 / Virus Database: 270.5.0/1555 - Release
Date: 16/07/2008 6:43<BR></FONT></P>
<P><FONT face=Arial></FONT></P></BODY></HTML>