Skip to content
Snippets Groups Projects
Commit 47a7cec8 authored by paul.albuquer's avatar paul.albuquer
Browse files

updated comment in function "evaluate"

parent ac05b369
No related branches found
No related tags found
No related merge requests found
Pipeline #36542 passed
......@@ -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]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment