Skip to content

Practise 18.11.20#1

Open
YaroslavKomarov wants to merge 7 commits intomasterfrom
practise_18.11.20
Open

Practise 18.11.20#1
YaroslavKomarov wants to merge 7 commits intomasterfrom
practise_18.11.20

Conversation

@YaroslavKomarov
Copy link
Owner

No description provided.

Copy link

@solodyankina solodyankina left a comment

Choose a reason for hiding this comment

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

исключить лишние файлы, оставить только cpp h

#include "Maze.h"
using namespace std;

void ChangeMaze(Maze& maze, const int& width, const int& height) {

Choose a reason for hiding this comment

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

без доп методов

Fixed the .gitignore file.
Deleted .sln file;
Deleted .vcxproj.filters file.
Improved the hasConnection method in Maze.cpp;
A program has been written to display a new maze and tree.
#include "Maze.h"
using namespace std;

void BuildWebStepMaze(Maze& maze, const int& maze_size) {

Choose a reason for hiding this comment

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

нужно ли выделять этот метод?

Copy link
Owner Author

Choose a reason for hiding this comment

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

Я могу поместить этот метод внутри main, если это необходимо, но ведь ТЗ не запрещает вынести заполнение лабиринта в отдельный метод

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.

2 participants

Comments