Skip to content
Snippets Groups Projects
Verified Commit f492338e authored by orestis.malaspin's avatar orestis.malaspin
Browse files

fix typo

parent d5b5905b
No related branches found
No related tags found
Loading
...@@ -88,7 +88,7 @@ Caractère lu Pile opérandes ...@@ -88,7 +88,7 @@ Caractère lu Pile opérandes
. . . . . .
```C ```C
bool evaluate(char *postfix, double *val) { // init stack double evaluate(char *postfix) { // init stack
for (size_t i = 0; i < strlen(postfix); ++i) { for (size_t i = 0; i < strlen(postfix); ++i) {
if (is_operand(postfix[i])) { if (is_operand(postfix[i])) {
stack_push(&s, postfix[i]); stack_push(&s, postfix[i]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment