Skip to content

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

Open
Palezehvat wants to merge 1 commit into
mainfrom
firstControllWork3Task
Open

Palezehvat wants to merge 1 commit into
mainfrom
firstControllWork3Task

Conversation

@Palezehvat

Copy link
Copy Markdown
Owner

No description provided.

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

Copy link
Copy Markdown

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);

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

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

emptyPointer,
anotherError,
ok,
}Error;

Copy link
Copy Markdown

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;

Copy link
Copy Markdown

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) {

Copy link
Copy Markdown

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"

Copy link
Copy Markdown

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

Copy link
Copy Markdown

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