From 957758f360aab2b3035939a26e4409de5281e83e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=B4=D0=B5=D0=BB=D1=8C=20=D0=90=D0=BB=D0=B8=D0=BC?= =?UTF-8?q?=D0=BE=D0=B2?= Date: Mon, 18 Nov 2024 08:58:23 +0400 Subject: [PATCH] 123 --- 67.cpp | 295 +++++++++++++++++++++++++++++++++++++ ResTempl.rct | Bin 0 -> 488 bytes Resource.h | 30 ++++ Resource.rc | Bin 0 -> 2606 bytes framework.h | 15 ++ resource1.h | 14 ++ small.ico | Bin 0 -> 46227 bytes targetver.h | 6 + лаба 6.cpp | 269 +++++++++++++++++++++++++++++++++ лаба 6.h | 3 + лаба 6.ico | Bin 0 -> 46227 bytes лаба 6.rc | Bin 0 -> 6862 bytes лаба 6.sln | 31 ++++ лаба 6.vcxproj | 149 +++++++++++++++++++ лаба 6.vcxproj.filters | 52 +++++++ 15 files changed, 864 insertions(+) create mode 100644 67.cpp create mode 100644 ResTempl.rct create mode 100644 Resource.h create mode 100644 Resource.rc create mode 100644 framework.h create mode 100644 resource1.h create mode 100644 small.ico create mode 100644 targetver.h create mode 100644 лаба 6.cpp create mode 100644 лаба 6.h create mode 100644 лаба 6.ico create mode 100644 лаба 6.rc create mode 100644 лаба 6.sln create mode 100644 лаба 6.vcxproj create mode 100644 лаба 6.vcxproj.filters diff --git a/67.cpp b/67.cpp new file mode 100644 index 0000000..0b7ff0f --- /dev/null +++ b/67.cpp @@ -0,0 +1,295 @@ +// 6.cpp : . +// + +#include "framework.h" +#include " 6.h" + +#define MAX_LOADSTRING 100 + +// : +HINSTANCE hInst; // +WCHAR szTitle[MAX_LOADSTRING]; // +WCHAR szWindowClass[MAX_LOADSTRING]; // + +// , : +ATOM MyRegisterClass(HINSTANCE hInstance); +BOOL InitInstance(HINSTANCE, int); +LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM); +INT_PTR CALLBACK About(HWND, UINT, WPARAM, LPARAM); + +int APIENTRY wWinMain(_In_ HINSTANCE hInstance, + _In_opt_ HINSTANCE hPrevInstance, + _In_ LPWSTR lpCmdLine, + _In_ int nCmdShow) +{ + UNREFERENCED_PARAMETER(hPrevInstance); + UNREFERENCED_PARAMETER(lpCmdLine); + + // TODO: . + + // + LoadStringW(hInstance, IDS_APP_TITLE, szTitle, MAX_LOADSTRING); + LoadStringW(hInstance, IDC_MY6, szWindowClass, MAX_LOADSTRING); + MyRegisterClass(hInstance); + + // : + if (!InitInstance(hInstance, nCmdShow)) + { + return FALSE; + } + + HACCEL hAccelTable = LoadAccelerators(hInstance, MAKEINTRESOURCE(IDC_MY6)); + + MSG msg; + + // : + while (GetMessage(&msg, nullptr, 0, 0)) + { + if (!TranslateAccelerator(msg.hwnd, hAccelTable, &msg)) + { + TranslateMessage(&msg); + DispatchMessage(&msg); + } + } + + return (int)msg.wParam; +} + + + +// +// : MyRegisterClass() +// +// : . +// +ATOM MyRegisterClass(HINSTANCE hInstance) +{ + WNDCLASSEXW wcex; + + wcex.cbSize = sizeof(WNDCLASSEX); + + wcex.style = CS_HREDRAW | CS_VREDRAW; + wcex.lpfnWndProc = WndProc; + wcex.cbClsExtra = 0; + wcex.cbWndExtra = 0; + wcex.hInstance = hInstance; + wcex.hIcon = LoadIcon(hInstance, MAKEINTRESOURCE(IDI_MY6)); + wcex.hCursor = LoadCursor(nullptr, IDC_ARROW); + wcex.hbrBackground = (HBRUSH)(COLOR_WINDOW + 1); + wcex.lpszMenuName = MAKEINTRESOURCEW(IDC_MY6); + wcex.lpszClassName = szWindowClass; + wcex.hIconSm = LoadIcon(wcex.hInstance, MAKEINTRESOURCE(IDI_SMALL)); + + return RegisterClassExW(&wcex); +} + +// +// : InitInstance(HINSTANCE, int) +// +// : +// +// : +// +// , +// . +// +BOOL InitInstance(HINSTANCE hInstance, int nCmdShow) +{ + hInst = hInstance; // + + HWND hWnd = CreateWindowW(szWindowClass, szTitle, WS_OVERLAPPEDWINDOW, + CW_USEDEFAULT, 0, CW_USEDEFAULT, 0, nullptr, nullptr, hInstance, nullptr); + + if (!hWnd) + { + return FALSE; + } + + ShowWindow(hWnd, nCmdShow); + UpdateWindow(hWnd); + + return TRUE; +} + +// +// : WndProc(HWND, UINT, WPARAM, LPARAM) +// +// : . +// +// WM_COMMAND - +// WM_PAINT - +// WM_DESTROY - +// +// +LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) +{ + switch (message) + { + case WM_COMMAND: + { + int wmId = LOWORD(wParam); + // : + switch (wmId) + { + case IDM_ABOUT: + DialogBox(hInst, MAKEINTRESOURCE(IDD_ABOUTBOX), hWnd, About); + break; + case IDM_EXIT: + DestroyWindow(hWnd); + break; + default: + return DefWindowProc(hWnd, message, wParam, lParam); + } + } + break; + case WM_PAINT: + { + PAINTSTRUCT ps; + HDC hdc = BeginPaint(hWnd, &ps); + // TODO: , HDC... + int x1 = 447, y1 = 128; + int x2 = 447, y2 = 332; + do { + MoveToEx(hdc, x1, y1, NULL); + LineTo(hdc, x2, y2); + x1 -= 10; + y1 += 10; + x2 += 10; + y2 -= 10; + } while (x2 <= 600); + + x1 = 390, y1 = 570; + x2 = 550, y2 = 570; + do { + MoveToEx(hdc, x1, y1, NULL); + LineTo(hdc, x2, y2); + x1 += 10; + y2 -= 7; + } while (y2 >= 455); + + + + x1 = 750, y1 = 570; + x2 = 750, y2 = 452; + do { + MoveToEx(hdc, x1, y1, NULL); + LineTo(hdc, x2, y2); + x2 -= 5; + y1 -= 5; + y2 += 5; + } while (x2 >= 670); + + x1 = 950, y1 = 570; + x2 = 1050, y2 = 570; + do { + MoveToEx(hdc, x1, y1, NULL); + LineTo(hdc, x2, y2); + + y1 -= 5; + y2 += 10; + } while (y1 >= 500); + x1 = 950, y1 = 170; + x2 = 1000, y2 = 150; + do { + MoveToEx(hdc, x1, y1, NULL); + LineTo(hdc, x2, y2); + y2 -= 7; + x1 -= 7; + } while (y2 >= 80); + + x1 = 750, y1 = 170; + x2 = 750, y2 = 370; + do { + MoveToEx(hdc, x1, y1, NULL); + LineTo(hdc, x2, y2); + x1 += 7; + x2 -= 7; + } while (x2 >= 650); + + x1 = 150, y1 = 170; + x2 = 150, y2 = 370; + do { + MoveToEx(hdc, x1, y1, NULL); + LineTo(hdc, x2, y2); + x1 += 5; + y2 -= 5; + + } while (x1 <= 300); + + x1 = 150, y1 = 470; + x2 = 150, y2 = 670; + do { + MoveToEx(hdc, x1, y1, NULL); + LineTo(hdc, x2, y2); + x1 += 5; + x2 += 5; + y1 -= 5; + y2 += 5; + } while (x1 <= 200); + + x1 = 150, y1 = 70; + x2 = 150, y2 = 130; + do { + MoveToEx(hdc, x1, y1, NULL); + LineTo(hdc, x2, y2); + x1 += 5; + x2 += 5; + y1 += 5; + y2 -= 5; + } while (x1 <= 180); + + x1 = 220, y1 = 60; + x2 = 220, y2 = 140; + do { + MoveToEx(hdc, x1, y1, NULL); + LineTo(hdc, x2, y2); + x1 -= 5; + x2 -= 5; + y1 += 5; + y2 -= 5; + } while (x1 >= 180); + + x1 = 1220, y1 = 60; + x2 = 1340, y2 = 160; + do { + MoveToEx(hdc, x1, y1, NULL); + LineTo(hdc, x2, y2); + x1 += 10; + x2 += 3; + y2 -= 5; + y1 += 5; + } while (x1 <= 1440); + + + + EndPaint(hWnd, &ps); + } + break; + case WM_DESTROY: + PostQuitMessage(0); + break; + default: + return DefWindowProc(hWnd, message, wParam, lParam); + } + return 0; +} + +// " ". +INT_PTR CALLBACK About(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam) +{ + UNREFERENCED_PARAMETER(lParam); + switch (message) + { + case WM_INITDIALOG: + return (INT_PTR)TRUE; + + case WM_COMMAND: + if (LOWORD(wParam) == IDOK || LOWORD(wParam) == IDCANCEL) + { + EndDialog(hDlg, LOWORD(wParam)); + return (INT_PTR)TRUE; + } + break; + } + return (INT_PTR)FALSE; +} diff --git a/ResTempl.rct b/ResTempl.rct new file mode 100644 index 0000000000000000000000000000000000000000..8c57f97c0d1b4ccd437c01681b6dccbf4b514269 GIT binary patch literal 488 zcmaJ-yH3O~5F8#2R{)qkqLXuw)N#TR_gJL6@3#hD9PaII4-9xuqgmKIzdSv@Zf3wv($mbz5c;0k zhgN)t3dw1GY{_}eHfnprWvG>`tt5lfyrNaTU>9&!grnd(%!|;smL1`|sE#}?3bl;O z!lYqOxGG{vW`*m_W4-dx(nE-jJg=Rk*w$uEs6>_j_T~GoA@!Fj*#^hv(-vYHmfSS8 g9piH$%Im4qpFNF@0wc@)tAzjh&wam5c7FH$0e-$u;s5{u literal 0 HcmV?d00001 diff --git a/Resource.h b/Resource.h new file mode 100644 index 0000000..5441357 --- /dev/null +++ b/Resource.h @@ -0,0 +1,30 @@ +//{{NO_DEPENDENCIES}} +// Включаемый файл, созданный в Microsoft Visual C++. +// Используется лаба 6.rc + +#define IDS_APP_TITLE 103 + +#define IDR_MAINFRAME 128 +#define IDD_MY6_DIALOG 102 +#define IDD_ABOUTBOX 103 +#define IDM_ABOUT 104 +#define IDM_EXIT 105 +#define IDI_MY6 107 +#define IDI_SMALL 108 +#define IDC_MY6 109 +#define IDC_MYICON 2 +#ifndef IDC_STATIC +#define IDC_STATIC -1 +#endif +// Следующие стандартные значения для новых объектов +// +#ifdef APSTUDIO_INVOKED +#ifndef APSTUDIO_READONLY_SYMBOLS + +#define _APS_NO_MFC 130 +#define _APS_NEXT_RESOURCE_VALUE 129 +#define _APS_NEXT_COMMAND_VALUE 32771 +#define _APS_NEXT_CONTROL_VALUE 1000 +#define _APS_NEXT_SYMED_VALUE 110 +#endif +#endif diff --git a/Resource.rc b/Resource.rc new file mode 100644 index 0000000000000000000000000000000000000000..5b905adb0c516871d08cb8e338f3250767b2f15d GIT binary patch literal 2606 zcmdUxU29W85Qg82xf1*jX>wyx%ttN8LSs)p3?*qRO;QvBMcM`nMZq?B<8N1=+0&&b zO^(EPb7a`;o?&Kp_MLfW^Xq3-Rh6`5dv;(=duweg>A-d^u@0KVTGp@^SorF-y|S9^ zBLjPbU4wC?YhCD@zUr1S(;c>F=x#OFC*APX(R1Xbp6Ur_Rl{7t;tPH^SY7H0t1^3B zg+1o1E?C#``HbHEd{lzvEO@#{qW2nUtckih)QQe@svg=d>thY|5zUC-Bel^CS;q)G zisDI(F3z5n2h3Yw-6R8x*{Sh8=GGthJ>=FM?&)~+z^AbW=HCOFDe{YG7Z0BpQCbUg z>c=Z*ws9pyoa4U5nqzc}`5ut(63k4HJ^1P@e1@hKG)+6P?F?V813Fs^yt%|a(K{+8 z<;w_eOkhrjnmMO(hR8OU{y<8(o@4enRX^-8fm!LPL$t?eC(Ql(8r+q4kNTsi@-ydE zd`3(I{JZ}hV^?!A=F(>$br4x?Np^!po7?vTqut)ME_pq2s@i>@?15g2n)@~I+3cKE z{kg2=Zc)~hZasyIX`gvFPK z{UsZX-!(ft`?Ejx*JZr2`xR^LH}i<%{IBoo&ZBoVB3G +// Файлы заголовков среды выполнения C +#include +#include +#include +#include diff --git a/resource1.h b/resource1.h new file mode 100644 index 0000000..4997f50 --- /dev/null +++ b/resource1.h @@ -0,0 +1,14 @@ +//{{NO_DEPENDENCIES}} +// Microsoft Visual C++ generated include file. +// Used by Resource.rc + +// +// +#ifdef APSTUDIO_INVOKED +#ifndef APSTUDIO_READONLY_SYMBOLS +#define _APS_NEXT_RESOURCE_VALUE 101 +#define _APS_NEXT_COMMAND_VALUE 40001 +#define _APS_NEXT_CONTROL_VALUE 1001 +#define _APS_NEXT_SYMED_VALUE 101 +#endif +#endif diff --git a/small.ico b/small.ico new file mode 100644 index 0000000000000000000000000000000000000000..b3ec03bd617f32e58128fa977fd6ac9605124f4b GIT binary patch literal 46227 zcmeG_3s@7^(i=en%FAlCDneRC>$M_k6<<8GwYF8!R&T*-0nuNr4^Sy8A`n5bmRqT{ zK5o_G(b(u^yZQ8UkW5(>;x9{lDqk(~eD_5>eNlDqb zapUaSv*o2vfswy>543gya=eTKJ}bJsb08RyLkrbzg~EDF)&yx{%~3lMOmjI z2r>fq&!#BLn;*SDdg=``Ge%vn(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WsuhIb4Bal23BMSwUQPd=3>6gt zkl&Mem_kO+1$GfTIbpUK diff --git a/лаба 6.cpp b/лаба 6.cpp new file mode 100644 index 0000000..38e17f8 --- /dev/null +++ b/лаба 6.cpp @@ -0,0 +1,269 @@ +//// лаба 6.cpp : Определяет точку входа для приложения. +//// +// +//#include "framework.h" +//#include "лаба 6.h" +// +//#define MAX_LOADSTRING 100 +// +//// Глобальные переменные: +//HINSTANCE hInst; // текущий экземпляр +//WCHAR szTitle[MAX_LOADSTRING]; // Текст строки заголовка +//WCHAR szWindowClass[MAX_LOADSTRING]; // имя класса главного окна +// +//// Отправить объявления функций, включенных в этот модуль кода: +//ATOM MyRegisterClass(HINSTANCE hInstance); +//BOOL InitInstance(HINSTANCE, int); +//LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM); +//INT_PTR CALLBACK About(HWND, UINT, WPARAM, LPARAM); +// +//int APIENTRY wWinMain(_In_ HINSTANCE hInstance, +// _In_opt_ HINSTANCE hPrevInstance, +// _In_ LPWSTR lpCmdLine, +// _In_ int nCmdShow) +//{ +// UNREFERENCED_PARAMETER(hPrevInstance); +// UNREFERENCED_PARAMETER(lpCmdLine); +// +// // TODO: Разместите код здесь. +// +// // Инициализация глобальных строк +// LoadStringW(hInstance, IDS_APP_TITLE, szTitle, MAX_LOADSTRING); +// LoadStringW(hInstance, IDC_MY6, szWindowClass, MAX_LOADSTRING); +// MyRegisterClass(hInstance); +// +// // Выполнить инициализацию приложения: +// if (!InitInstance (hInstance, nCmdShow)) +// { +// return FALSE; +// } +// +// HACCEL hAccelTable = LoadAccelerators(hInstance, MAKEINTRESOURCE(IDC_MY6)); +// +// MSG msg; +// +// // Цикл основного сообщения: +// while (GetMessage(&msg, nullptr, 0, 0)) +// { +// if (!TranslateAccelerator(msg.hwnd, hAccelTable, &msg)) +// { +// TranslateMessage(&msg); +// DispatchMessage(&msg); +// } +// } +// +// return (int) msg.wParam; +//} +// +// +// +//// +//// ФУНКЦИЯ: MyRegisterClass() +//// +//// ЦЕЛЬ: Регистрирует класс окна. +//// +//ATOM MyRegisterClass(HINSTANCE hInstance) +//{ +// WNDCLASSEXW wcex; +// +// wcex.cbSize = sizeof(WNDCLASSEX); +// +// wcex.style = CS_HREDRAW | CS_VREDRAW; +// wcex.lpfnWndProc = WndProc; +// wcex.cbClsExtra = 0; +// wcex.cbWndExtra = 0; +// wcex.hInstance = hInstance; +// wcex.hIcon = LoadIcon(hInstance, MAKEINTRESOURCE(IDI_MY6)); +// wcex.hCursor = LoadCursor(nullptr, IDC_ARROW); +// wcex.hbrBackground = (HBRUSH)(COLOR_WINDOW+1); +// wcex.lpszMenuName = MAKEINTRESOURCEW(IDC_MY6); +// wcex.lpszClassName = szWindowClass; +// wcex.hIconSm = LoadIcon(wcex.hInstance, MAKEINTRESOURCE(IDI_SMALL)); +// +// return RegisterClassExW(&wcex); +//} +// +//// +//// ФУНКЦИЯ: InitInstance(HINSTANCE, int) +//// +//// ЦЕЛЬ: Сохраняет маркер экземпляра и создает главное окно +//// +//// КОММЕНТАРИИ: +//// +//// В этой функции маркер экземпляра сохраняется в глобальной переменной, а также +//// создается и выводится главное окно программы. +//// +//BOOL InitInstance(HINSTANCE hInstance, int nCmdShow) +//{ +// hInst = hInstance; // Сохранить маркер экземпляра в глобальной переменной +// +// HWND hWnd = CreateWindowW(szWindowClass, szTitle, WS_OVERLAPPEDWINDOW, +// CW_USEDEFAULT, 0, CW_USEDEFAULT, 0, nullptr, nullptr, hInstance, nullptr); +// +// if (!hWnd) +// { +// return FALSE; +// } +// +// ShowWindow(hWnd, nCmdShow); +// UpdateWindow(hWnd); +// +// return TRUE; +//} +// +//// +//// ФУНКЦИЯ: WndProc(HWND, UINT, WPARAM, LPARAM) +//// +//// ЦЕЛЬ: Обрабатывает сообщения в главном окне. +//// +//// WM_COMMAND - обработать меню приложения +//// WM_PAINT - Отрисовка главного окна +//// WM_DESTROY - отправить сообщение о выходе и вернуться +//// +//// +//LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) +//{ +// switch (message) +// { +// case WM_COMMAND: +// { +// int wmId = LOWORD(wParam); +// // Разобрать выбор в меню: +// switch (wmId) +// { +// case IDM_ABOUT: +// DialogBox(hInst, MAKEINTRESOURCE(IDD_ABOUTBOX), hWnd, About); +// break; +// case IDM_EXIT: +// DestroyWindow(hWnd); +// break; +// default: +// return DefWindowProc(hWnd, message, wParam, lParam); +// } +// } +// break; +// case WM_PAINT: +// { +// PAINTSTRUCT ps; +// HDC hdc = BeginPaint(hWnd, &ps); +// // TODO: Добавьте сюда любой код прорисовки, использующий HDC... +// int x1 = 500, y1 = 160; +// int x2 = 600, y2 = 260; +// do { +// MoveToEx(hdc, x1, y1, NULL); +// LineTo(hdc, x2, y2); +// x1 += 20; +// } while (x1 <= 900); +// +// x1 = 0, y1 = 250; +// x2 = 100, y2 = 250; +// do { +// MoveToEx(hdc, x1, y1, NULL); +// LineTo(hdc, x2, y2); +// x1 += 5; +// y1 -= 10; +// } while (x1 <= 100); +// +// x1 = 100, y1 = 50; +// do { +// MoveToEx(hdc, x1, y1, NULL); +// LineTo(hdc, x2, y2); +// x1 += 5; +// y1 += 10; +// } while (x1 <= 200); +// +// x1 = 150, y1 = 0; +// x2 = 150, y2 = 100; +// do { +// MoveToEx(hdc, x1, y1, NULL); +// LineTo(hdc, x2, y2); +// x1 += 5; +// x2 += 5; +// } while (x1 <= 450); +// +// HPEN hPen; +// hPen = CreatePen(PS_SOLID, 5, RGB(185, 127, 87)); +// SelectObject(hdc, hPen); +// +// x1 = 150, y1 = 500; +// x2 = 150, y2 = 600; +// do { +// MoveToEx(hdc, x1, y1, NULL); +// LineTo(hdc, x2, y2); +// x1 += 25; +// x2 += 25; +// } while (x1 <= 650); +// hPen = CreatePen(PS_SOLID, 5, RGB(0, 0, 0)); +// SelectObject(hdc, hPen); +// +// hPen = CreatePen(PS_SOLID, 5, RGB(0, 255, 0)); +// SelectObject(hdc, hPen); +// +// x1 = 150, y1 = 650; +// x2 = 150, y2 = 700; +// do { +// MoveToEx(hdc, x1, y1, NULL); +// LineTo(hdc, x2, y2); +// x1 += 15; +// x2 += 15; +// } while (x1 <= 650); +// hPen = CreatePen(PS_SOLID, 5, RGB(0, 0, 0)); +// SelectObject(hdc, hPen); +// +// +// //дом +// MoveToEx(hdc, 337, 220, NULL); +// LineTo(hdc, 465, 335); +// LineTo(hdc, 213, 335); +// LineTo(hdc, 337, 220); +// LineTo(hdc, 465, 335); +// LineTo(hdc, 465, 472); +// LineTo(hdc, 586, 473); +// LineTo(hdc, 586, 457); +// LineTo(hdc, 530, 457); +// LineTo(hdc, 530, 442); +// LineTo(hdc, 465, 441); +// LineTo(hdc, 465, 472); +// LineTo(hdc, 213, 472); +// LineTo(hdc, 213, 335); +// +// MoveToEx(hdc, 293, 378, NULL); +// LineTo(hdc, 366, 378); +// LineTo(hdc, 366, 432); +// LineTo(hdc, 293, 432); +// LineTo(hdc, 293, 378); +// LineTo(hdc, 330, 378); +// LineTo(hdc, 329, 432); +// LineTo(hdc, 329, 403); +// LineTo(hdc, 292, 403); +// EndPaint(hWnd, &ps); +// } +// break; +// case WM_DESTROY: +// PostQuitMessage(0); +// break; +// default: +// return DefWindowProc(hWnd, message, wParam, lParam); +// } +// return 0; +//} +// +//// Обработчик сообщений для окна "О программе". +//INT_PTR CALLBACK About(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam) +//{ +// UNREFERENCED_PARAMETER(lParam); +// switch (message) +// { +// case WM_INITDIALOG: +// return (INT_PTR)TRUE; +// +// case WM_COMMAND: +// if (LOWORD(wParam) == IDOK || LOWORD(wParam) == IDCANCEL) +// { +// EndDialog(hDlg, LOWORD(wParam)); +// return (INT_PTR)TRUE; +// } +// break; +// } +// return (INT_PTR)FALSE; +//} diff --git a/лаба 6.h b/лаба 6.h new file mode 100644 index 0000000..b798bf5 --- /dev/null +++ b/лаба 6.h @@ -0,0 +1,3 @@ +#pragma once + +#include "resource.h" diff --git a/лаба 6.ico b/лаба 6.ico new file mode 100644 index 0000000000000000000000000000000000000000..b3ec03bd617f32e58128fa977fd6ac9605124f4b GIT binary patch literal 46227 zcmeG_3s@7^(i=en%FAlCDneRC>$M_k6<<8GwYF8!R&T*-0nuNr4^Sy8A`n5bmRqT{ zK5o_G(b(u^yZQ8UkW5(>;x9{lDqk(~eD_5>eNlDqb zapUaSv*o2vfswy>543gya=eTKJ}bJsb08RyLkrbzg~EDF)&yx{%~3lMOmjI z2r>fq&!#BLn;*SDdg=``Ge%vn(_ zHtGJ!s?^=xQ)VolXES2J@MURR$8V^WUk}@~H&O9u;)XhDr?A*8NV1jpnGS9@R3zjJlMS^bL*v(^3?X@it_xf^eOAIF1)HHQBqYfeohaonv$Cm)jId+ zOVxIDS1y%GYM&OxMbuR%tEwZv6c&U_detcl+-(L0I+vtX6%TS(6-esN{F)w7bMOD| zOWW0^33nGuWA6=U_k~Z`_8H2%Xi~K^>vZ`oLJj;+dof+Rb*dtUE!B9(#yAE zinCMDvqwpLLl>`DVqzVqn&SNSS4zywZ(O!oQ5+P}ZqDo*iQywp2?H;6m*1FM+v(ik zKuPue2llH<lpzzQC0ZQ&fW!@2| zCA+sBFDXoZ&s`OJt!UeG*-;nSw@IqwS!bgXV{4brPy0l^ru(7V((LEr;MieH9$eol ztF#|gWOnaxM#TNAhX?ycZV#28>t6U2vUhev*6X=!y^Cyctm@*mSw&||2b89k2T12S zs5WPQGwMKAfV2p*(!)o6B2$E!rv#ZHO0PlduB^0pWIyVm*{I^DzUzC8eCW8? z=BFT&pQ;pzy=-=tzc!;ZH7GzD1dQ^-Q+y&NpT{jR`AMZnyl1oX>1)aw`%wjE%C9pb z{^#7`jy{pUx+;`bicdg?AKvS8+Eg+s!X*4ofn?BwTUi5A9Wt#IhcW`Cp;u~zX&I+$ z6~0HjCOi(CTN{<%GdDz;c&lIU&Wcl8MG?v_mEWu%n^Nd_qUfnFly0f|W~(eABVuOa zHt$DAeIrLYsMenG_dlE&X7MD9CeFz(_lc}g7e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D*8F=DIR>Hfc5td1#Jyv{97CHX$aEM}CfLt>#?1^c)>7yl z)i-*m}0vaKgS20Ck?ea2CG4Sg3kc*e9&?q5SrSN-oD z;%g0(C@EI+!?YoHU$K#Nn~v+W&_~b~-a}nhQHDP)snumuPzA=A4o45qWvr4KLKY*) zw+$VjJb505|MQeRMUKHdm^_8xl(xT&iV*n>X)!92*my_lXdE5OA!I_|PakKw4mIE> zjf2F%dzph&L0i?6t*N#<*iPfR;Eb93Ncl?pjN-)!qll-%zO~fWHl)>ql@IYAs=eAQ zTRyxS&c5hA%R30qk}-u)i6b9Zo|W*vnv5aNH&IWM-iZ{NUS&hFS;n^xB+pEhw`WwAII$??PV|*O#GdmCQZVs?j~+lN+apgM}S6+}o0T#rhTZk~ILMnX=8Q)+|;W z9wt}QqvEyXC#~7$`^bA-t4XdaBGlW*w;A-mUuus3v9Cl>)%XgA-Sq^4GX}7b}g~6~kp!p?s)|mCFFtD2}G1c zUe9?5U3v1ZJV@So+~;BWddn}K{Tf9{`{Wqzy~tc7D(mOPCbQkT?1(_hZ}@Tph&kJ945J?VHuDE|VgD&{@_ literal 0 HcmV?d00001 diff --git a/лаба 6.sln b/лаба 6.sln new file mode 100644 index 0000000..62ccc3d --- /dev/null +++ b/лаба 6.sln @@ -0,0 +1,31 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.12.35209.166 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "лаба 6", "лаба 6.vcxproj", "{183476D8-D9A8-4727-8070-5E66D26369E0}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x64 = Debug|x64 + Debug|x86 = Debug|x86 + Release|x64 = Release|x64 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {183476D8-D9A8-4727-8070-5E66D26369E0}.Debug|x64.ActiveCfg = Debug|x64 + {183476D8-D9A8-4727-8070-5E66D26369E0}.Debug|x64.Build.0 = Debug|x64 + {183476D8-D9A8-4727-8070-5E66D26369E0}.Debug|x86.ActiveCfg = Debug|Win32 + {183476D8-D9A8-4727-8070-5E66D26369E0}.Debug|x86.Build.0 = Debug|Win32 + {183476D8-D9A8-4727-8070-5E66D26369E0}.Release|x64.ActiveCfg = Release|x64 + {183476D8-D9A8-4727-8070-5E66D26369E0}.Release|x64.Build.0 = Release|x64 + {183476D8-D9A8-4727-8070-5E66D26369E0}.Release|x86.ActiveCfg = Release|Win32 + {183476D8-D9A8-4727-8070-5E66D26369E0}.Release|x86.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {8A43FB55-9C1F-45EC-8948-1DD862C09B78} + EndGlobalSection +EndGlobal diff --git a/лаба 6.vcxproj b/лаба 6.vcxproj new file mode 100644 index 0000000..363c4d4 --- /dev/null +++ b/лаба 6.vcxproj @@ -0,0 +1,149 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + Debug + x64 + + + Release + x64 + + + + 17.0 + Win32Proj + {183476d8-d9a8-4727-8070-5e66d26369e0} + лаба6 + 10.0 + + + + Application + true + v143 + Unicode + + + Application + false + v143 + true + Unicode + + + Application + true + v143 + Unicode + + + Application + false + v143 + true + Unicode + + + + + + + + + + + + + + + + + + + + + + Level3 + true + WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions) + true + + + Windows + true + + + + + Level3 + true + true + true + WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions) + true + + + Windows + true + true + true + + + + + Level3 + true + _DEBUG;_WINDOWS;%(PreprocessorDefinitions) + true + + + Windows + true + + + + + Level3 + true + true + true + NDEBUG;_WINDOWS;%(PreprocessorDefinitions) + true + + + Windows + true + true + true + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/лаба 6.vcxproj.filters b/лаба 6.vcxproj.filters new file mode 100644 index 0000000..b031eac --- /dev/null +++ b/лаба 6.vcxproj.filters @@ -0,0 +1,52 @@ + + + + + {4FC737F1-C7A5-4376-A066-2A32D752A2FF} + cpp;c;cc;cxx;c++;cppm;ixx;def;odl;idl;hpj;bat;asm;asmx + + + {93995380-89BD-4b04-88EB-625FBE52EBFB} + h;hh;hpp;hxx;h++;hm;inl;inc;ipp;xsd + + + {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} + rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms + + + + + Файлы заголовков + + + Файлы заголовков + + + Файлы заголовков + + + Файлы заголовков + + + + + Исходные файлы + + + Исходные файлы + + + + + Файлы ресурсов + + + + + Файлы ресурсов + + + Файлы ресурсов + + + \ No newline at end of file