Skip to content

Shunting yard#4

Open
stuffacc wants to merge 3 commits intomasterfrom
shunting_yard
Open

Shunting yard#4
stuffacc wants to merge 3 commits intomasterfrom
shunting_yard

Conversation

@stuffacc
Copy link
Owner

No description provided.

@stuffacc stuffacc requested a review from chernishev October 15, 2025 14:47
@stuffacc stuffacc self-assigned this Oct 15, 2025
int getPriority(char cur);


void main() {

Choose a reason for hiding this comment

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

Нужно выделить алгоритм в отдельную функцию.



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

Choose a reason for hiding this comment

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

Зачем здесь пробел?

Comment on lines +40 to +44
do {
printf("%c ", (*current).value);
current = (*current).next;
}
while (current != NULL);

Choose a reason for hiding this comment

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

Это легко можно переписать в виде обычного цикла while.

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