Skip to content

Comments

Сортировочная станция#4

Open
Andrew-Kochanov wants to merge 17 commits intomainfrom
hw5sortStation
Open

Сортировочная станция#4
Andrew-Kochanov wants to merge 17 commits intomainfrom
hw5sortStation

Conversation

@Andrew-Kochanov
Copy link
Owner

No description provided.

Comment on lines +10 to +11
char peek(struct Stack* stack);
void deleteStack(struct Stack* stack);

Choose a reason for hiding this comment

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

До этого были просто Stack, теперь struct Stack, хотелось бы чтобы было консистентно

#include <stdlib.h>
// #include<stdbool.h>

struct StackNode {

Choose a reason for hiding this comment

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

Можно сделать typedef, будет проще

};

// создаем пустую структуру с пустой ссылкой на нулевую голову
struct Stack* new(void)

Choose a reason for hiding this comment

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

На Stack больше не нужно ссылаться как stack Struct

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