Skip to content

Lesson 2#3

Merged
nedav347 merged 5 commits intomainfrom
lesson_2
Feb 25, 2021
Merged

Lesson 2#3
nedav347 merged 5 commits intomainfrom
lesson_2

Conversation

@nedav347
Copy link
Copy Markdown
Owner

  • Домашнее задание к уроку 2 на проверку
  • курса "Основы языка С++"
  • автор Недокунев А.В.
  • среда разработки Notepad++ /компилятор MinGW/
  • codepage UTF-8

U_1.f = 2147483647.0;//инициализируем

//Задание 3
char field[5][5];//создаем массив
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

3 насколько я вижу, это массив из символов и никто не мешает мне положить в него что-то, что не является частью перечисления

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Если я правильно понял, надо было:
enum SYMBOL [5][5]

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

нет, SYMBOL field_s [5][5]

@nedav347 nedav347 merged commit 65ce363 into main Feb 25, 2021
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