Добавлен проект лабораторной работы
This commit is contained in:
commit
b1038de5e2
BIN
lab5/.vs/lab5/v17/.suo
Normal file
BIN
lab5/.vs/lab5/v17/.suo
Normal file
Binary file not shown.
BIN
lab5/.vs/lab5/v17/Browse.VC.db
Normal file
BIN
lab5/.vs/lab5/v17/Browse.VC.db
Normal file
Binary file not shown.
BIN
lab5/.vs/lab5/v17/Browse.VC.db-shm
Normal file
BIN
lab5/.vs/lab5/v17/Browse.VC.db-shm
Normal file
Binary file not shown.
BIN
lab5/.vs/lab5/v17/Browse.VC.db-wal
Normal file
BIN
lab5/.vs/lab5/v17/Browse.VC.db-wal
Normal file
Binary file not shown.
BIN
lab5/.vs/lab5/v17/Browse.VC.opendb
Normal file
BIN
lab5/.vs/lab5/v17/Browse.VC.opendb
Normal file
Binary file not shown.
37
lab5/.vs/lab5/v17/DocumentLayout.backup.json
Normal file
37
lab5/.vs/lab5/v17/DocumentLayout.backup.json
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
{
|
||||||
|
"Version": 1,
|
||||||
|
"WorkspaceRootPath": "C:\\Users\\vadim\\source\\repos\\lab5\\",
|
||||||
|
"Documents": [
|
||||||
|
{
|
||||||
|
"AbsoluteMoniker": "D:0:0:{089D192E-5052-4522-8A86-53304A33EA6E}|lab5\\lab5.vcxproj|C:\\Users\\vadim\\source\\repos\\lab5\\lab5\\lab5.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}",
|
||||||
|
"RelativeMoniker": "D:0:0:{089D192E-5052-4522-8A86-53304A33EA6E}|lab5\\lab5.vcxproj|solutionrelative:lab5\\lab5.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"DocumentGroupContainers": [
|
||||||
|
{
|
||||||
|
"Orientation": 0,
|
||||||
|
"VerticalTabListWidth": 256,
|
||||||
|
"DocumentGroups": [
|
||||||
|
{
|
||||||
|
"DockedWidth": 200,
|
||||||
|
"SelectedChildIndex": 0,
|
||||||
|
"Children": [
|
||||||
|
{
|
||||||
|
"$type": "Document",
|
||||||
|
"DocumentIndex": 0,
|
||||||
|
"Title": "lab5.cpp",
|
||||||
|
"DocumentMoniker": "C:\\Users\\vadim\\source\\repos\\lab5\\lab5\\lab5.cpp",
|
||||||
|
"RelativeDocumentMoniker": "lab5\\lab5.cpp",
|
||||||
|
"ToolTip": "C:\\Users\\vadim\\source\\repos\\lab5\\lab5\\lab5.cpp",
|
||||||
|
"RelativeToolTip": "lab5\\lab5.cpp",
|
||||||
|
"ViewState": "AgIAAA0BAAAAAAAAAAAAwBEBAAAdAAAAAAAAAA==",
|
||||||
|
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000677|",
|
||||||
|
"WhenOpened": "2024-10-22T14:36:48.398Z",
|
||||||
|
"EditorCaption": ""
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
37
lab5/.vs/lab5/v17/DocumentLayout.json
Normal file
37
lab5/.vs/lab5/v17/DocumentLayout.json
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
{
|
||||||
|
"Version": 1,
|
||||||
|
"WorkspaceRootPath": "C:\\Users\\vadim\\source\\repos\\lab5\\",
|
||||||
|
"Documents": [
|
||||||
|
{
|
||||||
|
"AbsoluteMoniker": "D:0:0:{089D192E-5052-4522-8A86-53304A33EA6E}|lab5\\lab5.vcxproj|C:\\Users\\vadim\\source\\repos\\lab5\\lab5\\lab5.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}",
|
||||||
|
"RelativeMoniker": "D:0:0:{089D192E-5052-4522-8A86-53304A33EA6E}|lab5\\lab5.vcxproj|solutionrelative:lab5\\lab5.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"DocumentGroupContainers": [
|
||||||
|
{
|
||||||
|
"Orientation": 0,
|
||||||
|
"VerticalTabListWidth": 256,
|
||||||
|
"DocumentGroups": [
|
||||||
|
{
|
||||||
|
"DockedWidth": 200,
|
||||||
|
"SelectedChildIndex": 0,
|
||||||
|
"Children": [
|
||||||
|
{
|
||||||
|
"$type": "Document",
|
||||||
|
"DocumentIndex": 0,
|
||||||
|
"Title": "lab5.cpp",
|
||||||
|
"DocumentMoniker": "C:\\Users\\vadim\\source\\repos\\lab5\\lab5\\lab5.cpp",
|
||||||
|
"RelativeDocumentMoniker": "lab5\\lab5.cpp",
|
||||||
|
"ToolTip": "C:\\Users\\vadim\\source\\repos\\lab5\\lab5\\lab5.cpp",
|
||||||
|
"RelativeToolTip": "lab5\\lab5.cpp",
|
||||||
|
"ViewState": "AgIAAMkAAAAAAAAAAAAAwBMBAAAAAAAAAAAAAA==",
|
||||||
|
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000677|",
|
||||||
|
"WhenOpened": "2024-10-22T14:36:48.398Z",
|
||||||
|
"EditorCaption": ""
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
BIN
lab5/.vs/lab5/v17/Solution.VC.db
Normal file
BIN
lab5/.vs/lab5/v17/Solution.VC.db
Normal file
Binary file not shown.
BIN
lab5/.vs/lab5/v17/Solution.VC.db-shm
Normal file
BIN
lab5/.vs/lab5/v17/Solution.VC.db-shm
Normal file
Binary file not shown.
0
lab5/.vs/lab5/v17/Solution.VC.db-wal
Normal file
0
lab5/.vs/lab5/v17/Solution.VC.db-wal
Normal file
BIN
lab5/.vs/lab5/v17/ipch/AutoPCH/551bbfae93ea3f85/LAB5.ipch
Normal file
BIN
lab5/.vs/lab5/v17/ipch/AutoPCH/551bbfae93ea3f85/LAB5.ipch
Normal file
Binary file not shown.
31
lab5/lab5.sln
Normal file
31
lab5/lab5.sln
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
|
||||||
|
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||||
|
# Visual Studio Version 17
|
||||||
|
VisualStudioVersion = 17.11.35312.102
|
||||||
|
MinimumVisualStudioVersion = 10.0.40219.1
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "lab5", "lab5\lab5.vcxproj", "{089D192E-5052-4522-8A86-53304A33EA6E}"
|
||||||
|
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
|
||||||
|
{089D192E-5052-4522-8A86-53304A33EA6E}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{089D192E-5052-4522-8A86-53304A33EA6E}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{089D192E-5052-4522-8A86-53304A33EA6E}.Debug|x86.ActiveCfg = Debug|Win32
|
||||||
|
{089D192E-5052-4522-8A86-53304A33EA6E}.Debug|x86.Build.0 = Debug|Win32
|
||||||
|
{089D192E-5052-4522-8A86-53304A33EA6E}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{089D192E-5052-4522-8A86-53304A33EA6E}.Release|x64.Build.0 = Release|x64
|
||||||
|
{089D192E-5052-4522-8A86-53304A33EA6E}.Release|x86.ActiveCfg = Release|Win32
|
||||||
|
{089D192E-5052-4522-8A86-53304A33EA6E}.Release|x86.Build.0 = Release|Win32
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
|
HideSolutionNode = FALSE
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||||
|
SolutionGuid = {D2EEB1D9-B373-4026-AC6D-F3436B84392C}
|
||||||
|
EndGlobalSection
|
||||||
|
EndGlobal
|
30
lab5/lab5/Resource.h
Normal file
30
lab5/lab5/Resource.h
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
//{{NO_DEPENDENCIES}}
|
||||||
|
// Включаемый файл, созданный в Microsoft Visual C++.
|
||||||
|
// Используется lab5.rc
|
||||||
|
|
||||||
|
#define IDS_APP_TITLE 103
|
||||||
|
|
||||||
|
#define IDR_MAINFRAME 128
|
||||||
|
#define IDD_LAB5_DIALOG 102
|
||||||
|
#define IDD_ABOUTBOX 103
|
||||||
|
#define IDM_ABOUT 104
|
||||||
|
#define IDM_EXIT 105
|
||||||
|
#define IDI_LAB5 107
|
||||||
|
#define IDI_SMALL 108
|
||||||
|
#define IDC_LAB5 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
|
15
lab5/lab5/framework.h
Normal file
15
lab5/lab5/framework.h
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
// header.h: включаемый файл для стандартных системных включаемых файлов
|
||||||
|
// или включаемые файлы для конкретного проекта
|
||||||
|
//
|
||||||
|
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
#include "targetver.h"
|
||||||
|
#define WIN32_LEAN_AND_MEAN // Исключите редко используемые компоненты из заголовков Windows
|
||||||
|
// Файлы заголовков Windows
|
||||||
|
#include <windows.h>
|
||||||
|
// Файлы заголовков среды выполнения C
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <malloc.h>
|
||||||
|
#include <memory.h>
|
||||||
|
#include <tchar.h>
|
358
lab5/lab5/lab5.cpp
Normal file
358
lab5/lab5/lab5.cpp
Normal file
@ -0,0 +1,358 @@
|
|||||||
|
// lab5.cpp : Определяет точку входа для приложения.
|
||||||
|
//
|
||||||
|
|
||||||
|
#include "framework.h"
|
||||||
|
#include "lab5.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_LAB5, szWindowClass, MAX_LOADSTRING);
|
||||||
|
MyRegisterClass(hInstance);
|
||||||
|
|
||||||
|
// Выполнить инициализацию приложения:
|
||||||
|
if (!InitInstance (hInstance, nCmdShow))
|
||||||
|
{
|
||||||
|
return FALSE;
|
||||||
|
}
|
||||||
|
|
||||||
|
HACCEL hAccelTable = LoadAccelerators(hInstance, MAKEINTRESOURCE(IDC_LAB5));
|
||||||
|
|
||||||
|
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_LAB5));
|
||||||
|
wcex.hCursor = LoadCursor(nullptr, IDC_ARROW);
|
||||||
|
wcex.hbrBackground = (HBRUSH)(COLOR_WINDOW+1);
|
||||||
|
wcex.lpszMenuName = MAKEINTRESOURCEW(IDC_LAB5);
|
||||||
|
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 - отправить сообщение о выходе и вернуться
|
||||||
|
//
|
||||||
|
//
|
||||||
|
int numImage = 0;
|
||||||
|
int maxImage = 3;
|
||||||
|
HPEN hpenBrown = CreatePen(PS_SOLID, 1, RGB(102, 50, 0));
|
||||||
|
HPEN hpenGreen = CreatePen(PS_SOLID, 1, RGB(0, 150, 0));
|
||||||
|
HPEN hpenBlack = CreatePen(PS_SOLID, 1, RGB(0, 0, 0));
|
||||||
|
HBRUSH rush1 = CreateSolidBrush(RGB(190, 80, 190));
|
||||||
|
HBRUSH rush2 = CreateSolidBrush(RGB(0, 0, 0));
|
||||||
|
HPEN hpenPurple = CreatePen(PS_SOLID, 1, RGB(25, 11, 25));
|
||||||
|
HPEN hpenGrey = CreatePen(PS_SOLID, 1, RGB(224, 224, 224));
|
||||||
|
HPEN hpenPink = CreatePen(PS_SOLID, 1, RGB(0, 35, 245));
|
||||||
|
void size_chart(HDC hdc, HPEN hpen) {
|
||||||
|
|
||||||
|
SelectObject(hdc, hpen);
|
||||||
|
for (int xp = 0; xp <= 600; xp = xp + 50) {
|
||||||
|
MoveToEx(hdc, xp, 0, NULL);
|
||||||
|
LineTo(hdc, xp, 600);
|
||||||
|
};
|
||||||
|
for (int yp = 0; yp <= 600; yp = yp + 50) {
|
||||||
|
MoveToEx(hdc, 0, yp, NULL);
|
||||||
|
LineTo(hdc, 600, yp);
|
||||||
|
};
|
||||||
|
}
|
||||||
|
void car_1(HDC hdc, HPEN hpen1, HPEN hpen2, HBRUSH rush1, HBRUSH rush2) {
|
||||||
|
SelectObject(hdc, rush1);
|
||||||
|
SelectObject(hdc, hpen1);
|
||||||
|
Rectangle(hdc, 100, 300, 450, 350);
|
||||||
|
MoveToEx(hdc, 100, 350, NULL);
|
||||||
|
LineTo(hdc, 450, 350);
|
||||||
|
LineTo(hdc, 450, 300);
|
||||||
|
LineTo(hdc, 100, 300);
|
||||||
|
LineTo(hdc, 100, 350);
|
||||||
|
SelectObject(hdc, hpen2);
|
||||||
|
MoveToEx(hdc, 150, 300, NULL);
|
||||||
|
LineTo(hdc, 200, 250);
|
||||||
|
SelectObject(hdc, hpen1);
|
||||||
|
LineTo(hdc, 425, 250);
|
||||||
|
LineTo(hdc, 450, 300);
|
||||||
|
|
||||||
|
|
||||||
|
SelectObject(hdc, rush2);
|
||||||
|
Ellipse(hdc, 150, 325, 200, 375);
|
||||||
|
Ellipse(hdc, 350, 325, 400, 375);
|
||||||
|
}
|
||||||
|
void home(HDC hdc, HPEN hpen) {
|
||||||
|
|
||||||
|
SelectObject(hdc, hpen);
|
||||||
|
//Крыша
|
||||||
|
MoveToEx(hdc, 250, 200, NULL);
|
||||||
|
LineTo(hdc, 150, 300);
|
||||||
|
LineTo(hdc, 350, 300);
|
||||||
|
LineTo(hdc, 250, 200);
|
||||||
|
//основание
|
||||||
|
MoveToEx(hdc, 150, 450, NULL);
|
||||||
|
LineTo(hdc, 350, 450);
|
||||||
|
LineTo(hdc, 350, 300);
|
||||||
|
MoveToEx(hdc, 150, 300, NULL);
|
||||||
|
LineTo(hdc, 150, 450);
|
||||||
|
//окно
|
||||||
|
MoveToEx(hdc, 200, 350, NULL);
|
||||||
|
LineTo(hdc, 250, 350);
|
||||||
|
LineTo(hdc, 250, 400);
|
||||||
|
LineTo(hdc, 200, 400);
|
||||||
|
LineTo(hdc, 200, 350);
|
||||||
|
}
|
||||||
|
void tree1(HDC hdc, HPEN hpen) {
|
||||||
|
|
||||||
|
SelectObject(hdc, hpen);
|
||||||
|
MoveToEx(hdc, 500, 300, NULL);
|
||||||
|
LineTo(hdc, 500, 450);
|
||||||
|
|
||||||
|
MoveToEx(hdc, 500, 300, NULL);
|
||||||
|
LineTo(hdc, 550, 350);
|
||||||
|
LineTo(hdc, 450, 350);
|
||||||
|
LineTo(hdc, 500, 300);
|
||||||
|
|
||||||
|
MoveToEx(hdc, 500, 350, NULL);
|
||||||
|
LineTo(hdc, 550, 400);
|
||||||
|
LineTo(hdc, 450, 400);
|
||||||
|
LineTo(hdc, 500, 350);
|
||||||
|
}
|
||||||
|
void tree2(HDC hdc, HPEN hpen) {
|
||||||
|
SelectObject(hdc, hpen);
|
||||||
|
MoveToEx(hdc, 50, 300, NULL);
|
||||||
|
LineTo(hdc, 50, 450);
|
||||||
|
|
||||||
|
MoveToEx(hdc, 50, 350, NULL);
|
||||||
|
LineTo(hdc, 100, 300);
|
||||||
|
MoveToEx(hdc, 50, 350, NULL);
|
||||||
|
LineTo(hdc, 0, 300);
|
||||||
|
|
||||||
|
MoveToEx(hdc, 50, 400, NULL);
|
||||||
|
LineTo(hdc, 100, 350);
|
||||||
|
MoveToEx(hdc, 50, 400, NULL);
|
||||||
|
LineTo(hdc, 0, 350);
|
||||||
|
}
|
||||||
|
void fence(HDC hdc, HPEN hpen) {
|
||||||
|
|
||||||
|
SelectObject(hdc, hpen);
|
||||||
|
MoveToEx(hdc, 0, 50, NULL);
|
||||||
|
LineTo(hdc, 600, 50);
|
||||||
|
|
||||||
|
for (int px = 0; px <= 600; px = px + 50) {
|
||||||
|
MoveToEx(hdc, px, 0, NULL);
|
||||||
|
LineTo(hdc, px, 100);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
void bush1(HDC hdc,HPEN hpen) {
|
||||||
|
SelectObject(hdc, hpen);
|
||||||
|
MoveToEx(hdc, 100, 150, NULL);
|
||||||
|
LineTo(hdc, 100, 250);
|
||||||
|
int point_c = 50;
|
||||||
|
|
||||||
|
do {
|
||||||
|
MoveToEx(hdc, 100, 250, NULL);
|
||||||
|
LineTo(hdc, point_c, 150);
|
||||||
|
point_c += 25;
|
||||||
|
} while (point_c <= 150);
|
||||||
|
}
|
||||||
|
void grass(HDC hdc, HPEN hpen) {
|
||||||
|
SelectObject(hdc, hpen);
|
||||||
|
int point_x = 0;
|
||||||
|
int point_y = 450;
|
||||||
|
do {
|
||||||
|
MoveToEx(hdc, point_x, point_y, NULL);
|
||||||
|
LineTo(hdc, point_x, point_y+20);
|
||||||
|
point_x += 20;
|
||||||
|
} while (point_x<=600);
|
||||||
|
|
||||||
|
}
|
||||||
|
void bush2(HDC hdc, HPEN hpen,int line) {
|
||||||
|
SelectObject(hdc, hpen);
|
||||||
|
int point_x = 450;
|
||||||
|
int point_y = 250;
|
||||||
|
int del_x = 50 / line;
|
||||||
|
int del_y = 100 / line;
|
||||||
|
do {
|
||||||
|
MoveToEx(hdc, 500, 250, NULL);
|
||||||
|
LineTo(hdc, point_x, point_y);
|
||||||
|
point_x += del_x;
|
||||||
|
point_y = point_y- del_y;
|
||||||
|
} while (point_x <=500 );
|
||||||
|
point_x = 500;
|
||||||
|
point_y=150;
|
||||||
|
do {
|
||||||
|
MoveToEx(hdc, 500, 250, NULL);
|
||||||
|
LineTo(hdc, point_x, point_y);
|
||||||
|
point_x += del_x;
|
||||||
|
point_y += del_y;
|
||||||
|
} while (point_x <= 550);
|
||||||
|
}
|
||||||
|
|
||||||
|
void drawImage1(HDC hdc) {
|
||||||
|
home(hdc, hpenBlack);
|
||||||
|
tree1(hdc, hpenGreen);
|
||||||
|
tree2(hdc, hpenGreen);
|
||||||
|
fence(hdc, hpenBrown);
|
||||||
|
bush1(hdc, hpenGreen);
|
||||||
|
bush2(hdc, hpenGreen,10);
|
||||||
|
grass(hdc, hpenGreen);
|
||||||
|
}
|
||||||
|
void drawImage2(HDC hdc) {
|
||||||
|
car_1(hdc, hpenBrown, hpenGreen, rush1, rush2);
|
||||||
|
}
|
||||||
|
void drawImage3(HDC hdc) {
|
||||||
|
car_1(hdc, hpenPurple, hpenPink, rush1, rush2);
|
||||||
|
}
|
||||||
|
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);
|
||||||
|
size_chart(hdc, hpenGrey);
|
||||||
|
if (numImage == 0) drawImage1(hdc);
|
||||||
|
if (numImage == 1) drawImage2(hdc);
|
||||||
|
if (numImage == 2) drawImage2(hdc);
|
||||||
|
EndPaint(hWnd, &ps);
|
||||||
|
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
case WM_KEYDOWN:
|
||||||
|
numImage++;
|
||||||
|
if (numImage >= maxImage) numImage = 0;
|
||||||
|
InvalidateRect(hWnd, NULL, TRUE);
|
||||||
|
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;
|
||||||
|
}
|
3
lab5/lab5/lab5.h
Normal file
3
lab5/lab5/lab5.h
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
#pragma once
|
||||||
|
|
||||||
|
#include "resource.h"
|
BIN
lab5/lab5/lab5.ico
Normal file
BIN
lab5/lab5/lab5.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 45 KiB |
BIN
lab5/lab5/lab5.rc
Normal file
BIN
lab5/lab5/lab5.rc
Normal file
Binary file not shown.
148
lab5/lab5/lab5.vcxproj
Normal file
148
lab5/lab5/lab5.vcxproj
Normal file
@ -0,0 +1,148 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup Label="ProjectConfigurations">
|
||||||
|
<ProjectConfiguration Include="Debug|Win32">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|Win32">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Debug|x64">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|x64">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
</ItemGroup>
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<VCProjectVersion>17.0</VCProjectVersion>
|
||||||
|
<Keyword>Win32Proj</Keyword>
|
||||||
|
<ProjectGuid>{089d192e-5052-4522-8a86-53304a33ea6e}</ProjectGuid>
|
||||||
|
<RootNamespace>lab5</RootNamespace>
|
||||||
|
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
|
<PlatformToolset>v143</PlatformToolset>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
|
<PlatformToolset>v143</PlatformToolset>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
|
<PlatformToolset>v143</PlatformToolset>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
|
<PlatformToolset>v143</PlatformToolset>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ImportGroup Label="ExtensionSettings">
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="Shared">
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<PropertyGroup Label="UserMacros" />
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<SDLCheck>true</SDLCheck>
|
||||||
|
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<ConformanceMode>true</ConformanceMode>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Windows</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<SDLCheck>true</SDLCheck>
|
||||||
|
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<ConformanceMode>true</ConformanceMode>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Windows</SubSystem>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<SDLCheck>true</SDLCheck>
|
||||||
|
<PreprocessorDefinitions>_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<ConformanceMode>true</ConformanceMode>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Windows</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<SDLCheck>true</SDLCheck>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<ConformanceMode>true</ConformanceMode>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Windows</SubSystem>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClInclude Include="framework.h" />
|
||||||
|
<ClInclude Include="lab5.h" />
|
||||||
|
<ClInclude Include="Resource.h" />
|
||||||
|
<ClInclude Include="targetver.h" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClCompile Include="lab5.cpp" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ResourceCompile Include="lab5.rc" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Image Include="lab5.ico" />
|
||||||
|
<Image Include="small.ico" />
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
<ImportGroup Label="ExtensionTargets">
|
||||||
|
</ImportGroup>
|
||||||
|
</Project>
|
49
lab5/lab5/lab5.vcxproj.filters
Normal file
49
lab5/lab5/lab5.vcxproj.filters
Normal file
@ -0,0 +1,49 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup>
|
||||||
|
<Filter Include="Исходные файлы">
|
||||||
|
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
|
||||||
|
<Extensions>cpp;c;cc;cxx;c++;cppm;ixx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
|
||||||
|
</Filter>
|
||||||
|
<Filter Include="Файлы заголовков">
|
||||||
|
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
|
||||||
|
<Extensions>h;hh;hpp;hxx;h++;hm;inl;inc;ipp;xsd</Extensions>
|
||||||
|
</Filter>
|
||||||
|
<Filter Include="Файлы ресурсов">
|
||||||
|
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
|
||||||
|
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
|
||||||
|
</Filter>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClInclude Include="framework.h">
|
||||||
|
<Filter>Файлы заголовков</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="targetver.h">
|
||||||
|
<Filter>Файлы заголовков</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="Resource.h">
|
||||||
|
<Filter>Файлы заголовков</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="lab5.h">
|
||||||
|
<Filter>Файлы заголовков</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClCompile Include="lab5.cpp">
|
||||||
|
<Filter>Исходные файлы</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ResourceCompile Include="lab5.rc">
|
||||||
|
<Filter>Файлы ресурсов</Filter>
|
||||||
|
</ResourceCompile>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Image Include="small.ico">
|
||||||
|
<Filter>Файлы ресурсов</Filter>
|
||||||
|
</Image>
|
||||||
|
<Image Include="lab5.ico">
|
||||||
|
<Filter>Файлы ресурсов</Filter>
|
||||||
|
</Image>
|
||||||
|
</ItemGroup>
|
||||||
|
</Project>
|
4
lab5/lab5/lab5.vcxproj.user
Normal file
4
lab5/lab5/lab5.vcxproj.user
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup />
|
||||||
|
</Project>
|
11
lab5/lab5/lab5/x64/Debug/lab5.exe.recipe
Normal file
11
lab5/lab5/lab5/x64/Debug/lab5.exe.recipe
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project>
|
||||||
|
<ProjectOutputs>
|
||||||
|
<ProjectOutput>
|
||||||
|
<FullPath>C:\Users\vadim\source\repos\lab5\lab5\x64\Debug\lab5.exe</FullPath>
|
||||||
|
</ProjectOutput>
|
||||||
|
</ProjectOutputs>
|
||||||
|
<ContentFiles />
|
||||||
|
<SatelliteDlls />
|
||||||
|
<NonRecipeFileRefs />
|
||||||
|
</Project>
|
BIN
lab5/lab5/lab5/x64/Debug/lab5.ilk
Normal file
BIN
lab5/lab5/lab5/x64/Debug/lab5.ilk
Normal file
Binary file not shown.
2
lab5/lab5/lab5/x64/Debug/lab5.log
Normal file
2
lab5/lab5/lab5/x64/Debug/lab5.log
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
lab5.cpp
|
||||||
|
lab5.vcxproj -> C:\Users\vadim\source\repos\lab5\lab5\x64\Debug\lab5.exe
|
BIN
lab5/lab5/lab5/x64/Debug/lab5.obj
Normal file
BIN
lab5/lab5/lab5/x64/Debug/lab5.obj
Normal file
Binary file not shown.
BIN
lab5/lab5/lab5/x64/Debug/lab5.res
Normal file
BIN
lab5/lab5/lab5/x64/Debug/lab5.res
Normal file
Binary file not shown.
BIN
lab5/lab5/lab5/x64/Debug/lab5.tlog/CL.command.1.tlog
Normal file
BIN
lab5/lab5/lab5/x64/Debug/lab5.tlog/CL.command.1.tlog
Normal file
Binary file not shown.
BIN
lab5/lab5/lab5/x64/Debug/lab5.tlog/CL.read.1.tlog
Normal file
BIN
lab5/lab5/lab5/x64/Debug/lab5.tlog/CL.read.1.tlog
Normal file
Binary file not shown.
BIN
lab5/lab5/lab5/x64/Debug/lab5.tlog/CL.write.1.tlog
Normal file
BIN
lab5/lab5/lab5/x64/Debug/lab5.tlog/CL.write.1.tlog
Normal file
Binary file not shown.
1
lab5/lab5/lab5/x64/Debug/lab5.tlog/Cl.items.tlog
Normal file
1
lab5/lab5/lab5/x64/Debug/lab5.tlog/Cl.items.tlog
Normal file
@ -0,0 +1 @@
|
|||||||
|
C:\Users\vadim\source\repos\lab5\lab5\lab5.cpp;C:\Users\vadim\source\repos\lab5\lab5\lab5\x64\Debug\lab5.obj
|
2
lab5/lab5/lab5/x64/Debug/lab5.tlog/lab5.lastbuildstate
Normal file
2
lab5/lab5/lab5/x64/Debug/lab5.tlog/lab5.lastbuildstate
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
PlatformToolSet=v143:VCToolArchitecture=Native64Bit:VCToolsVersion=14.41.34120:TargetPlatformVersion=10.0.22621.0:
|
||||||
|
Debug|x64|C:\Users\vadim\source\repos\lab5\lab5\|
|
BIN
lab5/lab5/lab5/x64/Debug/lab5.tlog/link.command.1.tlog
Normal file
BIN
lab5/lab5/lab5/x64/Debug/lab5.tlog/link.command.1.tlog
Normal file
Binary file not shown.
BIN
lab5/lab5/lab5/x64/Debug/lab5.tlog/link.read.1.tlog
Normal file
BIN
lab5/lab5/lab5/x64/Debug/lab5.tlog/link.read.1.tlog
Normal file
Binary file not shown.
2
lab5/lab5/lab5/x64/Debug/lab5.tlog/link.secondary.1.tlog
Normal file
2
lab5/lab5/lab5/x64/Debug/lab5.tlog/link.secondary.1.tlog
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
^C:\USERS\VADIM\SOURCE\REPOS\LAB5\LAB5\LAB5\X64\DEBUG\LAB5.OBJ|C:\USERS\VADIM\SOURCE\REPOS\LAB5\LAB5\LAB5\X64\DEBUG\LAB5.RES
|
||||||
|
C:\Users\vadim\source\repos\lab5\lab5\lab5\x64\Debug\lab5.ilk
|
BIN
lab5/lab5/lab5/x64/Debug/lab5.tlog/link.write.1.tlog
Normal file
BIN
lab5/lab5/lab5/x64/Debug/lab5.tlog/link.write.1.tlog
Normal file
Binary file not shown.
BIN
lab5/lab5/lab5/x64/Debug/lab5.tlog/rc.command.1.tlog
Normal file
BIN
lab5/lab5/lab5/x64/Debug/lab5.tlog/rc.command.1.tlog
Normal file
Binary file not shown.
BIN
lab5/lab5/lab5/x64/Debug/lab5.tlog/rc.read.1.tlog
Normal file
BIN
lab5/lab5/lab5/x64/Debug/lab5.tlog/rc.read.1.tlog
Normal file
Binary file not shown.
BIN
lab5/lab5/lab5/x64/Debug/lab5.tlog/rc.write.1.tlog
Normal file
BIN
lab5/lab5/lab5/x64/Debug/lab5.tlog/rc.write.1.tlog
Normal file
Binary file not shown.
BIN
lab5/lab5/lab5/x64/Debug/vc143.idb
Normal file
BIN
lab5/lab5/lab5/x64/Debug/vc143.idb
Normal file
Binary file not shown.
BIN
lab5/lab5/lab5/x64/Debug/vc143.pdb
Normal file
BIN
lab5/lab5/lab5/x64/Debug/vc143.pdb
Normal file
Binary file not shown.
BIN
lab5/lab5/small.ico
Normal file
BIN
lab5/lab5/small.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 45 KiB |
6
lab5/lab5/targetver.h
Normal file
6
lab5/lab5/targetver.h
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
#pragma once
|
||||||
|
|
||||||
|
// // При включении SDKDDKVer.h будет задана самая новая из доступных платформ Windows.
|
||||||
|
// Если вы планируете сборку приложения для предыдущей версии платформы Windows, включите WinSDKVer.h и
|
||||||
|
// задайте желаемую платформу в макросе _WIN32_WINNT, прежде чем включать SDKDDKVer.h.
|
||||||
|
#include <SDKDDKVer.h>
|
BIN
lab5/lab5/x64/Debug/lab5.exe
Normal file
BIN
lab5/lab5/x64/Debug/lab5.exe
Normal file
Binary file not shown.
11
lab5/lab5/x64/Debug/lab5.exe.recipe
Normal file
11
lab5/lab5/x64/Debug/lab5.exe.recipe
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project>
|
||||||
|
<ProjectOutputs>
|
||||||
|
<ProjectOutput>
|
||||||
|
<FullPath>C:\Users\vadim\source\repos\lab5\x64\Debug\lab5.exe</FullPath>
|
||||||
|
</ProjectOutput>
|
||||||
|
</ProjectOutputs>
|
||||||
|
<ContentFiles />
|
||||||
|
<SatelliteDlls />
|
||||||
|
<NonRecipeFileRefs />
|
||||||
|
</Project>
|
BIN
lab5/lab5/x64/Debug/lab5.ilk
Normal file
BIN
lab5/lab5/x64/Debug/lab5.ilk
Normal file
Binary file not shown.
1
lab5/lab5/x64/Debug/lab5.log
Normal file
1
lab5/lab5/x64/Debug/lab5.log
Normal file
@ -0,0 +1 @@
|
|||||||
|
lab5.vcxproj -> C:\Users\vadim\source\repos\lab5\x64\Debug\lab5.exe
|
BIN
lab5/lab5/x64/Debug/lab5.obj
Normal file
BIN
lab5/lab5/x64/Debug/lab5.obj
Normal file
Binary file not shown.
BIN
lab5/lab5/x64/Debug/lab5.pdb
Normal file
BIN
lab5/lab5/x64/Debug/lab5.pdb
Normal file
Binary file not shown.
BIN
lab5/lab5/x64/Debug/lab5.res
Normal file
BIN
lab5/lab5/x64/Debug/lab5.res
Normal file
Binary file not shown.
BIN
lab5/lab5/x64/Debug/lab5.tlog/CL.command.1.tlog
Normal file
BIN
lab5/lab5/x64/Debug/lab5.tlog/CL.command.1.tlog
Normal file
Binary file not shown.
BIN
lab5/lab5/x64/Debug/lab5.tlog/CL.read.1.tlog
Normal file
BIN
lab5/lab5/x64/Debug/lab5.tlog/CL.read.1.tlog
Normal file
Binary file not shown.
BIN
lab5/lab5/x64/Debug/lab5.tlog/CL.write.1.tlog
Normal file
BIN
lab5/lab5/x64/Debug/lab5.tlog/CL.write.1.tlog
Normal file
Binary file not shown.
1
lab5/lab5/x64/Debug/lab5.tlog/Cl.items.tlog
Normal file
1
lab5/lab5/x64/Debug/lab5.tlog/Cl.items.tlog
Normal file
@ -0,0 +1 @@
|
|||||||
|
C:\Users\vadim\source\repos\lab5\lab5\lab5.cpp;C:\Users\vadim\source\repos\lab5\lab5\x64\Debug\lab5.obj
|
2
lab5/lab5/x64/Debug/lab5.tlog/lab5.lastbuildstate
Normal file
2
lab5/lab5/x64/Debug/lab5.tlog/lab5.lastbuildstate
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
PlatformToolSet=v143:VCToolArchitecture=Native64Bit:VCToolsVersion=14.41.34120:TargetPlatformVersion=10.0.22621.0:
|
||||||
|
Debug|x64|C:\Users\vadim\source\repos\lab5\|
|
BIN
lab5/lab5/x64/Debug/lab5.tlog/link.command.1.tlog
Normal file
BIN
lab5/lab5/x64/Debug/lab5.tlog/link.command.1.tlog
Normal file
Binary file not shown.
BIN
lab5/lab5/x64/Debug/lab5.tlog/link.read.1.tlog
Normal file
BIN
lab5/lab5/x64/Debug/lab5.tlog/link.read.1.tlog
Normal file
Binary file not shown.
2
lab5/lab5/x64/Debug/lab5.tlog/link.secondary.1.tlog
Normal file
2
lab5/lab5/x64/Debug/lab5.tlog/link.secondary.1.tlog
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
^C:\USERS\VADIM\SOURCE\REPOS\LAB5\LAB5\X64\DEBUG\LAB5.OBJ|C:\USERS\VADIM\SOURCE\REPOS\LAB5\LAB5\X64\DEBUG\LAB5.RES
|
||||||
|
C:\Users\vadim\source\repos\lab5\lab5\x64\Debug\lab5.ilk
|
BIN
lab5/lab5/x64/Debug/lab5.tlog/link.write.1.tlog
Normal file
BIN
lab5/lab5/x64/Debug/lab5.tlog/link.write.1.tlog
Normal file
Binary file not shown.
BIN
lab5/lab5/x64/Debug/lab5.tlog/rc.command.1.tlog
Normal file
BIN
lab5/lab5/x64/Debug/lab5.tlog/rc.command.1.tlog
Normal file
Binary file not shown.
BIN
lab5/lab5/x64/Debug/lab5.tlog/rc.read.1.tlog
Normal file
BIN
lab5/lab5/x64/Debug/lab5.tlog/rc.read.1.tlog
Normal file
Binary file not shown.
BIN
lab5/lab5/x64/Debug/lab5.tlog/rc.write.1.tlog
Normal file
BIN
lab5/lab5/x64/Debug/lab5.tlog/rc.write.1.tlog
Normal file
Binary file not shown.
1
lab5/lab5/x64/Debug/lab5.vcxproj.FileListAbsolute.txt
Normal file
1
lab5/lab5/x64/Debug/lab5.vcxproj.FileListAbsolute.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
C:\Users\vadim\source\repos\lab5\lab5\x64\Debug\lab5.exe
|
BIN
lab5/lab5/x64/Debug/vc143.idb
Normal file
BIN
lab5/lab5/x64/Debug/vc143.idb
Normal file
Binary file not shown.
BIN
lab5/lab5/x64/Debug/vc143.pdb
Normal file
BIN
lab5/lab5/x64/Debug/vc143.pdb
Normal file
Binary file not shown.
BIN
lab5/x64/Debug/lab5.exe
Normal file
BIN
lab5/x64/Debug/lab5.exe
Normal file
Binary file not shown.
BIN
lab5/x64/Debug/lab5.pdb
Normal file
BIN
lab5/x64/Debug/lab5.pdb
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user