Skip to content

Advance balance#3

Open
stuffacc wants to merge 2 commits intomasterfrom
advance_balance
Open

Advance balance#3
stuffacc wants to merge 2 commits intomasterfrom
advance_balance

Conversation

@stuffacc
Copy link
Owner

No description provided.

void main() {
char string[200] = {' '};

fgets(string, sizeof(string), stdin);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

что-то не так с форматированием, во всей программе

res = 0;
break;
}
char popChar = (*pope).value;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pope->value

push(&stack, string[i]);
}

else if (string[i] == ')') {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

а можно ли каждую скобку не раскопировать?

}

void printStack(Stack* stack) {
if ((*stack).size == 0) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

починить это везде, как я написал выше

@@ -0,0 +1,18 @@
#include <stdlib.h>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

нет include guards

Copy link
Collaborator

@chernishev chernishev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

5/6 осталась косметика

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants