From 47a7cec88638775dd49012090c581366ada96045 Mon Sep 17 00:00:00 2001
From: "paul.albuquer" <paul.albuquerque@hesge.ch>
Date: Sun, 8 Dec 2024 21:36:21 +0100
Subject: [PATCH] updated comment in function "evaluate"

---
 slides/cours_11.md | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/slides/cours_11.md b/slides/cours_11.md
index 1f627fa..40403b5 100644
--- a/slides/cours_11.md
+++ b/slides/cours_11.md
@@ -255,7 +255,8 @@ Caractère lu        Pile opérandes
 . . .
 
 ```C
-double evaluate(char* postfix) { // init stack
+double evaluate(char* postfix) { 
+    // declare and initialize stack s
     for (size_t i = 0; i < strlen(postfix); ++i) {
         if (is_operand(postfix[i])) {
             stack_push(&s, postfix[i]);
-- 
GitLab