From 5564fd4603a62aeadc19c50b456646c541dc38ac Mon Sep 17 00:00:00 2001 From: "radhwan.hassine" <radhwan.hassine@etu.hesge.ch> Date: Thu, 21 Dec 2023 14:52:02 +0100 Subject: [PATCH] Update cours_10.md --- slides/cours_10.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slides/cours_10.md b/slides/cours_10.md index dd1ea96..d925286 100644 --- a/slides/cours_10.md +++ b/slides/cours_10.md @@ -320,7 +320,7 @@ Caractère lu Pile opérandes . . . ```C -bool evaluate(char *postfix, double *val) { // init stack +double evaluate(char *postfix, double *val) { // init stack for (size_t i = 0; i < strlen(postfix); ++i) { if (is_operand(postfix[i])) { stack_push(&s, postfix[i]); -- GitLab