From 084057754afdb911349d05aedf7b1c00c7b73f96 Mon Sep 17 00:00:00 2001 From: biouman Date: Sun, 29 Apr 2001 13:48:35 +0000 Subject: *** empty log message *** --- src/Polynom.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/Polynom.c') diff --git a/src/Polynom.c b/src/Polynom.c index 6a46d4a..5878e41 100644 --- a/src/Polynom.c +++ b/src/Polynom.c @@ -28,17 +28,17 @@ int main(void) textdomain(PACKAGE); Initialise(&variables); - mute = Estrdup("x"); + mute = "x"; /* nom de la variable utilisee pour la saisie des polynomes, a recuperer en argv eventuellt */ - parse_line("P=(x^2) + x + 1;"); + parse_line("P=3*x^2+2*x +4.5;"); //parse_line("P(2);"); - AfficheTableau(variables); - printf("%p\n",(polynome)NomVarToVar("P",variables,&valid)); - printf("-- affichage:%s\n",ply_affichage((polynome)NomVarToVar("P",variables,&valid))); + //AfficheTableau(variables); + //printf("%p\n",(polynome)NomVarToVar("P",variables,&valid)); + //printf("-- affichage:%s\n",ply_affichage((polynome)NomVarToVar("P",variables,&valid))); parse_line("P(2);"); //fprintf(stderr, "soja"); - //printf("%s\n", affichage_level_1()); + printf("Resultat: %s\n", affichage_level_1()); return 0; -- cgit v1.2.3