diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Polynom.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/Polynom.c b/src/Polynom.c index dd2fc8c..6a46d4a 100644 --- a/src/Polynom.c +++ b/src/Polynom.c @@ -19,6 +19,7 @@ _TableauVariable variables; char *mute; +char valid; int main(void) { @@ -30,7 +31,13 @@ int main(void) mute = Estrdup("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(2);"); + 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()); return 0; |