создано из Nikita_Mikhailov/lab01
Initial commit
Этот коммит содержится в:
14
project_files/lab01/lab01/ARM64/Debug/lab01.Build.CppClean.log
Обычный файл
14
project_files/lab01/lab01/ARM64/Debug/lab01.Build.CppClean.log
Обычный файл
@@ -0,0 +1,14 @@
|
||||
c:\users\mikhailov\source\repos\lab01\lab01\arm64\debug\vc143.pdb
|
||||
c:\users\mikhailov\source\repos\lab01\lab01\arm64\debug\vc143.idb
|
||||
c:\users\mikhailov\source\repos\lab01\lab01\arm64\debug\lab01.obj
|
||||
c:\users\mikhailov\source\repos\lab01\arm64\debug\lab01.exe
|
||||
c:\users\mikhailov\source\repos\lab01\arm64\debug\lab01.pdb
|
||||
c:\users\mikhailov\source\repos\lab01\lab01\arm64\debug\lab01.ilk
|
||||
c:\users\mikhailov\source\repos\lab01\lab01\arm64\debug\lab01.tlog\cl.command.1.tlog
|
||||
c:\users\mikhailov\source\repos\lab01\lab01\arm64\debug\lab01.tlog\cl.items.tlog
|
||||
c:\users\mikhailov\source\repos\lab01\lab01\arm64\debug\lab01.tlog\cl.read.1.tlog
|
||||
c:\users\mikhailov\source\repos\lab01\lab01\arm64\debug\lab01.tlog\cl.write.1.tlog
|
||||
c:\users\mikhailov\source\repos\lab01\lab01\arm64\debug\lab01.tlog\link.command.1.tlog
|
||||
c:\users\mikhailov\source\repos\lab01\lab01\arm64\debug\lab01.tlog\link.read.1.tlog
|
||||
c:\users\mikhailov\source\repos\lab01\lab01\arm64\debug\lab01.tlog\link.secondary.1.tlog
|
||||
c:\users\mikhailov\source\repos\lab01\lab01\arm64\debug\lab01.tlog\link.write.1.tlog
|
||||
11
project_files/lab01/lab01/ARM64/Debug/lab01.exe.recipe
Обычный файл
11
project_files/lab01/lab01/ARM64/Debug/lab01.exe.recipe
Обычный файл
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project>
|
||||
<ProjectOutputs>
|
||||
<ProjectOutput>
|
||||
<FullPath>C:\Users\mikhailov\source\repos\lab01\ARM64\Debug\lab01.exe</FullPath>
|
||||
</ProjectOutput>
|
||||
</ProjectOutputs>
|
||||
<ContentFiles />
|
||||
<SatelliteDlls />
|
||||
<NonRecipeFileRefs />
|
||||
</Project>
|
||||
43
project_files/lab01/lab01/ARM64/Debug/lab01.log
Обычный файл
43
project_files/lab01/lab01/ARM64/Debug/lab01.log
Обычный файл
@@ -0,0 +1,43 @@
|
||||
lab01.cpp
|
||||
C:\Users\mikhailov\source\repos\lab01\lab01\lab01.cpp(54,23): warning C4244: 'initializing': conversion from 'double' to 'size_t', possible loss of data
|
||||
libcpmtd.lib(xlocale.obj) : error LNK2001: unresolved external symbol _calloc_dbg
|
||||
lab01.obj : error LNK2001: unresolved external symbol _calloc_dbg
|
||||
libcpmtd.lib(_tolower.obj) : error LNK2001: unresolved external symbol _calloc_dbg
|
||||
libcpmtd.lib(locale.obj) : error LNK2001: unresolved external symbol _calloc_dbg
|
||||
libcpmtd.lib(wlocale.obj) : error LNK2001: unresolved external symbol _calloc_dbg
|
||||
libcpmtd.lib(xlocale.obj) : error LNK2001: unresolved external symbol _free_dbg
|
||||
libcpmtd.lib(xwcsxfrm.obj) : error LNK2001: unresolved external symbol _free_dbg
|
||||
libcpmtd.lib(StlCompareStringA.obj) : error LNK2001: unresolved external symbol _free_dbg
|
||||
libcpmtd.lib(cerr.obj) : error LNK2001: unresolved external symbol _free_dbg
|
||||
libcpmtd.lib(locale.obj) : error LNK2001: unresolved external symbol _free_dbg
|
||||
libcpmtd.lib(StlLCMapStringA.obj) : error LNK2001: unresolved external symbol _free_dbg
|
||||
libcpmtd.lib(wlocale.obj) : error LNK2001: unresolved external symbol _free_dbg
|
||||
lab01.obj : error LNK2001: unresolved external symbol _free_dbg
|
||||
libcpmtd.lib(locale0.obj) : error LNK2001: unresolved external symbol _free_dbg
|
||||
libcpmtd.lib(cin.obj) : error LNK2001: unresolved external symbol _free_dbg
|
||||
libcpmtd.lib(cout.obj) : error LNK2001: unresolved external symbol _free_dbg
|
||||
libcpmtd.lib(xlocale.obj) : error LNK2001: unresolved external symbol _malloc_dbg
|
||||
libcpmtd.lib(xwcsxfrm.obj) : error LNK2001: unresolved external symbol _malloc_dbg
|
||||
libcpmtd.lib(StlCompareStringA.obj) : error LNK2001: unresolved external symbol _malloc_dbg
|
||||
libcpmtd.lib(cerr.obj) : error LNK2001: unresolved external symbol _malloc_dbg
|
||||
libcpmtd.lib(locale.obj) : error LNK2001: unresolved external symbol _malloc_dbg
|
||||
libcpmtd.lib(StlLCMapStringA.obj) : error LNK2001: unresolved external symbol _malloc_dbg
|
||||
libcpmtd.lib(wlocale.obj) : error LNK2001: unresolved external symbol _malloc_dbg
|
||||
lab01.obj : error LNK2001: unresolved external symbol _malloc_dbg
|
||||
libcpmtd.lib(locale0.obj) : error LNK2001: unresolved external symbol _malloc_dbg
|
||||
libcpmtd.lib(cin.obj) : error LNK2001: unresolved external symbol _malloc_dbg
|
||||
libcpmtd.lib(cout.obj) : error LNK2001: unresolved external symbol _malloc_dbg
|
||||
libcpmtd.lib(locale.obj) : error LNK2001: unresolved external symbol _CrtDbgReport
|
||||
libcpmtd.lib(wlocale.obj) : error LNK2001: unresolved external symbol _CrtDbgReport
|
||||
libcpmtd.lib(xlocale.obj) : error LNK2001: unresolved external symbol _CrtDbgReport
|
||||
lab01.obj : error LNK2001: unresolved external symbol _CrtDbgReport
|
||||
libcpmtd.lib(cin.obj) : error LNK2001: unresolved external symbol _CrtDbgReport
|
||||
libcpmtd.lib(cout.obj) : error LNK2001: unresolved external symbol _CrtDbgReport
|
||||
libcpmtd.lib(cerr.obj) : error LNK2001: unresolved external symbol _CrtDbgReport
|
||||
libcpmtd.lib(_tolower.obj) : error LNK2019: unresolved external symbol _wcsdup_dbg referenced in function _Getctype
|
||||
libcpmtd.lib(xstrcoll.obj) : error LNK2001: unresolved external symbol _wcsdup_dbg
|
||||
libcpmtd.lib(locale.obj) : error LNK2019: unresolved external symbol _realloc_dbg referenced in function "private: static void __cdecl std::locale::_Locimp::_Locimp_Addfac(class std::locale::_Locimp *,class std::locale::facet *,unsigned __int64)" (?_Locimp_Addfac@_Locimp@locale@std@@CAXPEAV123@PEAVfacet@23@_K@Z)
|
||||
libcpmtd.lib(StlLCMapStringA.obj) : error LNK2019: unresolved external symbol _CrtDbgReportW referenced in function _freea_crt
|
||||
libcpmtd.lib(xmbtowc.obj) : error LNK2001: unresolved external symbol _CrtDbgReportW
|
||||
libcpmtd.lib(StlCompareStringA.obj) : error LNK2001: unresolved external symbol _CrtDbgReportW
|
||||
C:\Users\mikhailov\source\repos\lab01\ARM64\Debug\lab01.exe : fatal error LNK1120: 7 unresolved externals
|
||||
Двоичные данные
project_files/lab01/lab01/ARM64/Debug/lab01.tlog/CL.command.1.tlog
Обычный файл
Двоичные данные
project_files/lab01/lab01/ARM64/Debug/lab01.tlog/CL.command.1.tlog
Обычный файл
Двоичный файл не отображается.
Двоичные данные
project_files/lab01/lab01/ARM64/Debug/lab01.tlog/CL.read.1.tlog
Обычный файл
Двоичные данные
project_files/lab01/lab01/ARM64/Debug/lab01.tlog/CL.read.1.tlog
Обычный файл
Двоичный файл не отображается.
Двоичные данные
project_files/lab01/lab01/ARM64/Debug/lab01.tlog/CL.write.1.tlog
Обычный файл
Двоичные данные
project_files/lab01/lab01/ARM64/Debug/lab01.tlog/CL.write.1.tlog
Обычный файл
Двоичный файл не отображается.
@@ -0,0 +1,2 @@
|
||||
PlatformToolSet=v143:VCToolArchitecture=NativeARM64:VCToolsVersion=14.40.33807:TargetPlatformVersion=10.0.22621.0:
|
||||
Debug|ARM64|C:\Users\mikhailov\source\repos\lab01\|
|
||||
@@ -0,0 +1 @@
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
|
||||
Двоичные данные
project_files/lab01/lab01/ARM64/Debug/vc143.idb
Обычный файл
Двоичные данные
project_files/lab01/lab01/ARM64/Debug/vc143.idb
Обычный файл
Двоичный файл не отображается.
Двоичные данные
project_files/lab01/lab01/ARM64/Debug/vc143.pdb
Обычный файл
Двоичные данные
project_files/lab01/lab01/ARM64/Debug/vc143.pdb
Обычный файл
Двоичный файл не отображается.
13
project_files/lab01/lab01/ARM64/Release/lab01.Build.CppClean.log
Обычный файл
13
project_files/lab01/lab01/ARM64/Release/lab01.Build.CppClean.log
Обычный файл
@@ -0,0 +1,13 @@
|
||||
c:\users\mikhailov\source\repos\lab01\lab01\arm64\release\vc143.pdb
|
||||
c:\users\mikhailov\source\repos\lab01\lab01\arm64\release\lab01.obj
|
||||
c:\users\mikhailov\source\repos\lab01\arm64\release\lab01.exe
|
||||
c:\users\mikhailov\source\repos\lab01\arm64\release\lab01.pdb
|
||||
c:\users\mikhailov\source\repos\lab01\lab01\arm64\release\lab01.iobj
|
||||
c:\users\mikhailov\source\repos\lab01\lab01\arm64\release\lab01.tlog\cl.command.1.tlog
|
||||
c:\users\mikhailov\source\repos\lab01\lab01\arm64\release\lab01.tlog\cl.items.tlog
|
||||
c:\users\mikhailov\source\repos\lab01\lab01\arm64\release\lab01.tlog\cl.read.1.tlog
|
||||
c:\users\mikhailov\source\repos\lab01\lab01\arm64\release\lab01.tlog\cl.write.1.tlog
|
||||
c:\users\mikhailov\source\repos\lab01\lab01\arm64\release\lab01.tlog\link.command.1.tlog
|
||||
c:\users\mikhailov\source\repos\lab01\lab01\arm64\release\lab01.tlog\link.read.1.tlog
|
||||
c:\users\mikhailov\source\repos\lab01\lab01\arm64\release\lab01.tlog\link.secondary.1.tlog
|
||||
c:\users\mikhailov\source\repos\lab01\lab01\arm64\release\lab01.tlog\link.write.1.tlog
|
||||
11
project_files/lab01/lab01/ARM64/Release/lab01.exe.recipe
Обычный файл
11
project_files/lab01/lab01/ARM64/Release/lab01.exe.recipe
Обычный файл
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project>
|
||||
<ProjectOutputs>
|
||||
<ProjectOutput>
|
||||
<FullPath>C:\Users\mikhailov\source\repos\lab01\ARM64\Release\lab01.exe</FullPath>
|
||||
</ProjectOutput>
|
||||
</ProjectOutputs>
|
||||
<ContentFiles />
|
||||
<SatelliteDlls />
|
||||
<NonRecipeFileRefs />
|
||||
</Project>
|
||||
Двоичные данные
project_files/lab01/lab01/ARM64/Release/lab01.iobj
Обычный файл
Двоичные данные
project_files/lab01/lab01/ARM64/Release/lab01.iobj
Обычный файл
Двоичный файл не отображается.
4
project_files/lab01/lab01/ARM64/Release/lab01.log
Обычный файл
4
project_files/lab01/lab01/ARM64/Release/lab01.log
Обычный файл
@@ -0,0 +1,4 @@
|
||||
lab01.cpp
|
||||
Generating code
|
||||
Finished generating code
|
||||
lab01.vcxproj -> C:\Users\mikhailov\source\repos\lab01\ARM64\Release\lab01.exe
|
||||
Двоичные данные
project_files/lab01/lab01/ARM64/Release/lab01.tlog/CL.command.1.tlog
Обычный файл
Двоичные данные
project_files/lab01/lab01/ARM64/Release/lab01.tlog/CL.command.1.tlog
Обычный файл
Двоичный файл не отображается.
Двоичные данные
project_files/lab01/lab01/ARM64/Release/lab01.tlog/CL.read.1.tlog
Обычный файл
Двоичные данные
project_files/lab01/lab01/ARM64/Release/lab01.tlog/CL.read.1.tlog
Обычный файл
Двоичный файл не отображается.
Двоичные данные
project_files/lab01/lab01/ARM64/Release/lab01.tlog/CL.write.1.tlog
Обычный файл
Двоичные данные
project_files/lab01/lab01/ARM64/Release/lab01.tlog/CL.write.1.tlog
Обычный файл
Двоичный файл не отображается.
@@ -0,0 +1 @@
|
||||
C:\Users\mikhailov\source\repos\lab01\lab01\lab01.cpp;C:\Users\mikhailov\source\repos\lab01\lab01\ARM64\Release\lab01.obj
|
||||
@@ -0,0 +1,2 @@
|
||||
PlatformToolSet=v143:VCToolArchitecture=NativeARM64:VCToolsVersion=14.40.33807:TargetPlatformVersion=10.0.22621.0:
|
||||
Release|ARM64|C:\Users\mikhailov\source\repos\lab01\|
|
||||
Двоичные данные
project_files/lab01/lab01/ARM64/Release/lab01.tlog/link.command.1.tlog
Обычный файл
Двоичные данные
project_files/lab01/lab01/ARM64/Release/lab01.tlog/link.command.1.tlog
Обычный файл
Двоичный файл не отображается.
Двоичные данные
project_files/lab01/lab01/ARM64/Release/lab01.tlog/link.read.1.tlog
Обычный файл
Двоичные данные
project_files/lab01/lab01/ARM64/Release/lab01.tlog/link.read.1.tlog
Обычный файл
Двоичный файл не отображается.
@@ -0,0 +1,2 @@
|
||||
^C:\USERS\MIKHAILOV\SOURCE\REPOS\LAB01\LAB01\ARM64\RELEASE\LAB01.OBJ
|
||||
C:\Users\mikhailov\source\repos\lab01\lab01\ARM64\Release\lab01.iobj
|
||||
Двоичные данные
project_files/lab01/lab01/ARM64/Release/lab01.tlog/link.write.1.tlog
Обычный файл
Двоичные данные
project_files/lab01/lab01/ARM64/Release/lab01.tlog/link.write.1.tlog
Обычный файл
Двоичный файл не отображается.
Двоичные данные
project_files/lab01/lab01/ARM64/Release/vc143.pdb
Обычный файл
Двоичные данные
project_files/lab01/lab01/ARM64/Release/vc143.pdb
Обычный файл
Двоичный файл не отображается.
76
project_files/lab01/lab01/lab01.cpp
Обычный файл
76
project_files/lab01/lab01/lab01.cpp
Обычный файл
@@ -0,0 +1,76 @@
|
||||
#include <iostream>
|
||||
#include <vector>
|
||||
#include <iomanip>
|
||||
#include <algorithm>
|
||||
|
||||
const size_t SCREEN_WIDTH = 80; // Максимальная ширина экрана
|
||||
const size_t MAX_ASTERISK = SCREEN_WIDTH - 4; // Ограничение на длину столбца
|
||||
|
||||
// Функция для ввода данных: количество чисел и сами числа
|
||||
void input_data(std::vector<double>& numbers, size_t& bin_count) {
|
||||
size_t number_count;
|
||||
std::cerr << "Enter number count: ";
|
||||
std::cin >> number_count;
|
||||
|
||||
numbers.resize(number_count);
|
||||
std::cerr << "Enter numbers: ";
|
||||
for (size_t i = 0; i < number_count; ++i) {
|
||||
std::cin >> numbers[i];
|
||||
}
|
||||
|
||||
std::cerr << "Enter bin count: ";
|
||||
std::cin >> bin_count;
|
||||
}
|
||||
|
||||
// Функция для расчета количества чисел в каждой корзине
|
||||
void calculate_bins(const std::vector<double>& numbers, std::vector<size_t>& bins, double& min, double& max) {
|
||||
// Определяем минимальное и максимальное значение для диапазона
|
||||
min = *std::min_element(numbers.begin(), numbers.end());
|
||||
max = *std::max_element(numbers.begin(), numbers.end());
|
||||
|
||||
// Вычисляем размер каждой корзины
|
||||
double bin_size = (max - min) / bins.size();
|
||||
|
||||
// Заполняем корзины, увеличивая счётчик для каждого числа, попадающего в интервал
|
||||
for (const double& number : numbers) {
|
||||
size_t bin_index = static_cast<size_t>((number - min) / bin_size);
|
||||
if (bin_index >= bins.size()) bin_index = bins.size() - 1;
|
||||
bins[bin_index]++;
|
||||
}
|
||||
}
|
||||
|
||||
// Функция для вывода гистограммы
|
||||
void print_histogram(const std::vector<size_t>& bins) {
|
||||
// Находим максимальное количество чисел в одной корзине для масштабирования
|
||||
size_t max_count = *std::max_element(bins.begin(), bins.end());
|
||||
|
||||
// Проверка необходимости масштабирования
|
||||
bool needs_scaling = max_count > MAX_ASTERISK;
|
||||
|
||||
for (size_t i = 0; i < bins.size(); ++i) {
|
||||
std::cout << std::setw(3) << std::right << bins[i] << "|";
|
||||
|
||||
// Рассчитываем высоту столбца с учётом ограничения MAX_ASTERISK
|
||||
size_t height = needs_scaling ? static_cast<size_t>(MAX_ASTERISK * static_cast<double>(bins[i]) / max_count) : bins[i];
|
||||
|
||||
// Выводим звёздочки для визуализации количества элементов
|
||||
for (size_t j = 0; j < height; ++j) {
|
||||
std::cout << "*";
|
||||
}
|
||||
std::cout << "\n";
|
||||
}
|
||||
}
|
||||
|
||||
int main() {
|
||||
std::vector<double> numbers; // Массив чисел
|
||||
size_t bin_count; // Количество корзин
|
||||
|
||||
input_data(numbers, bin_count); // Ввод данных
|
||||
|
||||
std::vector<size_t> bins(bin_count, 0); // Инициализируем корзины с нулями
|
||||
double min, max;
|
||||
calculate_bins(numbers, bins, min, max); // Подсчёт чисел в корзинах
|
||||
print_histogram(bins); // Вывод гистограммы
|
||||
|
||||
return 0;
|
||||
}
|
||||
196
project_files/lab01/lab01/lab01.vcxproj
Обычный файл
196
project_files/lab01/lab01/lab01.vcxproj
Обычный файл
@@ -0,0 +1,196 @@
|
||||
<?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>
|
||||
<ProjectConfiguration Include="Debug|ARM64">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>ARM64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|ARM64">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>ARM64</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<VCProjectVersion>17.0</VCProjectVersion>
|
||||
<Keyword>Win32Proj</Keyword>
|
||||
<ProjectGuid>{071943df-3332-437e-bbfd-985e2d83873f}</ProjectGuid>
|
||||
<RootNamespace>lab01</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>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<PlatformToolset>v143</PlatformToolset>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'" 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>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'">
|
||||
<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|ARM64'">
|
||||
<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;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Console</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;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Console</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;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Console</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;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Console</SubSystem>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'">
|
||||
<ClCompile>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<PreprocessorDefinitions>_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Console</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'">
|
||||
<ClCompile>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<PreprocessorDefinitions>NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Console</SubSystem>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="lab01.cpp" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
</Project>
|
||||
22
project_files/lab01/lab01/lab01.vcxproj.filters
Обычный файл
22
project_files/lab01/lab01/lab01.vcxproj.filters
Обычный файл
@@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup>
|
||||
<Filter Include="Source Files">
|
||||
<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="Header Files">
|
||||
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
|
||||
<Extensions>h;hh;hpp;hxx;h++;hm;inl;inc;ipp;xsd</Extensions>
|
||||
</Filter>
|
||||
<Filter Include="Resource Files">
|
||||
<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>
|
||||
<ClCompile Include="lab01.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
4
project_files/lab01/lab01/lab01.vcxproj.user
Обычный файл
4
project_files/lab01/lab01/lab01.vcxproj.user
Обычный файл
@@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup />
|
||||
</Project>
|
||||
Ссылка в новой задаче
Block a user