Skip to content

Comments

3 Задача из кр#24

Open
Palezehvat wants to merge 1 commit intomainfrom
firstControllWork3Task
Open

3 Задача из кр#24
Palezehvat wants to merge 1 commit intomainfrom
firstControllWork3Task

Conversation

@Palezehvat
Copy link
Owner

No description provided.

workWithFile(&errorCheck, fileName, fileName);
switch (errorCheck)
{
case(ok):

Choose a reason for hiding this comment

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

Suggested change
case(ok):
case ok:

ok,
}Error;

Stack* createStack(Error* errorCheck);

Choose a reason for hiding this comment

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

Комментариев не хватает

emptyPointer,
anotherError,
ok,
}Error;

Choose a reason for hiding this comment

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

Suggested change
}Error;
} Error;

temp->next = stack->head;

stack->head = temp;
return;

Choose a reason for hiding this comment

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

Это не нужно

Comment on lines +34 to +35
}
int deleteElementInStack(Stack* stack, Error* errorCheck) {

Choose a reason for hiding this comment

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

Suggested change
}
int deleteElementInStack(Stack* stack, Error* errorCheck) {
}
int deleteElementInStack(Stack* stack, Error* errorCheck) {

Comment on lines +1 to +2
#pragma once
#include "workWithFile.h"

Choose a reason for hiding this comment

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

Suggested change
#pragma once
#include "workWithFile.h"
#pragma once
#include "workWithFile.h"

#include <stdio.h>
#include <stdlib.h>

void workWithFile(Error* errorCheck, const char* fileName); No newline at end of file

Choose a reason for hiding this comment

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

Тоже, комментариев нет

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.

3 participants