Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{
"Version": 1,
"WorkspaceRootPath": "C:\\Users\\k0wal\\source\\repos\\Dll1\\",
"Documents": [
{
"AbsoluteMoniker": "D:0:0:{38701215-FE69-41C6-AE69-CBE990FB2BD3}|Dll1\\Dll1.vcxproj|C:\\Users\\k0wal\\source\\repos\\Dll1\\Dll1\\dllmain.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}",
"RelativeMoniker": "D:0:0:{38701215-FE69-41C6-AE69-CBE990FB2BD3}|Dll1\\Dll1.vcxproj|solutionrelative:Dll1\\dllmain.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}"
},
{
"AbsoluteMoniker": "D:0:0:{38701215-FE69-41C6-AE69-CBE990FB2BD3}|Dll1\\Dll1.vcxproj|C:\\Users\\k0wal\\source\\repos\\Dll1\\Dll1\\Header.h||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}",
"RelativeMoniker": "D:0:0:{38701215-FE69-41C6-AE69-CBE990FB2BD3}|Dll1\\Dll1.vcxproj|solutionrelative:Dll1\\Header.h||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}"
}
],
"DocumentGroupContainers": [
{
"Orientation": 0,
"VerticalTabListWidth": 256,
"DocumentGroups": [
{
"DockedWidth": 200,
"SelectedChildIndex": 1,
"Children": [
{
"$type": "Document",
"DocumentIndex": 1,
"Title": "Header.h",
"DocumentMoniker": "C:\\Users\\k0wal\\source\\repos\\Dll1\\Dll1\\Header.h",
"RelativeDocumentMoniker": "Dll1\\Header.h",
"ToolTip": "C:\\Users\\k0wal\\source\\repos\\Dll1\\Dll1\\Header.h",
"RelativeToolTip": "Dll1\\Header.h",
"ViewState": "AQIAAAAAAAAAAAAAAAAAAAwAAAAQAAAA",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000680|",
"WhenOpened": "2025-03-11T18:59:30.633Z",
"EditorCaption": ""
},
{
"$type": "Document",
"DocumentIndex": 0,
"Title": "dllmain.cpp",
"DocumentMoniker": "C:\\Users\\k0wal\\source\\repos\\Dll1\\Dll1\\dllmain.cpp",
"RelativeDocumentMoniker": "Dll1\\dllmain.cpp",
"ToolTip": "C:\\Users\\k0wal\\source\\repos\\Dll1\\Dll1\\dllmain.cpp",
"RelativeToolTip": "Dll1\\dllmain.cpp",
"ViewState": "AQIAABUAAAAAAAAAAAAAACEAAAAhAAAA",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000677|",
"WhenOpened": "2025-03-11T18:51:05.332Z",
"EditorCaption": ""
}
]
}
]
}
]
}
Binary file not shown.
Binary file not shown.
31 changes: 31 additions & 0 deletions sem1/BakaldinKirill/Sem2MiniHW№1/Dll1/Dll1.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.10.35027.167
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Dll1", "Dll1\Dll1.vcxproj", "{38701215-FE69-41C6-AE69-CBE990FB2BD3}"
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
{38701215-FE69-41C6-AE69-CBE990FB2BD3}.Debug|x64.ActiveCfg = Debug|x64
{38701215-FE69-41C6-AE69-CBE990FB2BD3}.Debug|x64.Build.0 = Debug|x64
{38701215-FE69-41C6-AE69-CBE990FB2BD3}.Debug|x86.ActiveCfg = Debug|Win32
{38701215-FE69-41C6-AE69-CBE990FB2BD3}.Debug|x86.Build.0 = Debug|Win32
{38701215-FE69-41C6-AE69-CBE990FB2BD3}.Release|x64.ActiveCfg = Release|x64
{38701215-FE69-41C6-AE69-CBE990FB2BD3}.Release|x64.Build.0 = Release|x64
{38701215-FE69-41C6-AE69-CBE990FB2BD3}.Release|x86.ActiveCfg = Release|Win32
{38701215-FE69-41C6-AE69-CBE990FB2BD3}.Release|x86.Build.0 = Release|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {799985C4-2EB8-4BAA-B7C3-93010102E256}
EndGlobalSection
EndGlobal
158 changes: 158 additions & 0 deletions sem1/BakaldinKirill/Sem2MiniHW№1/Dll1/Dll1/Dll1.vcxproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,158 @@
<?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>{38701215-fe69-41c6-ae69-cbe990fb2bd3}</ProjectGuid>
<RootNamespace>Dll1</RootNamespace>
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v143</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v143</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v143</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</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;DLL1_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ConformanceMode>true</ConformanceMode>
<PrecompiledHeader>Use</PrecompiledHeader>
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<EnableUAC>false</EnableUAC>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<SDLCheck>true</SDLCheck>
<PreprocessorDefinitions>WIN32;NDEBUG;DLL1_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ConformanceMode>true</ConformanceMode>
<PrecompiledHeader>Use</PrecompiledHeader>
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<GenerateDebugInformation>true</GenerateDebugInformation>
<EnableUAC>false</EnableUAC>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<SDLCheck>true</SDLCheck>
<PreprocessorDefinitions>_DEBUG;DLL1_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ConformanceMode>true</ConformanceMode>
<PrecompiledHeader>Use</PrecompiledHeader>
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<EnableUAC>false</EnableUAC>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<SDLCheck>true</SDLCheck>
<PreprocessorDefinitions>NDEBUG;DLL1_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ConformanceMode>true</ConformanceMode>
<PrecompiledHeader>Use</PrecompiledHeader>
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<GenerateDebugInformation>true</GenerateDebugInformation>
<EnableUAC>false</EnableUAC>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClInclude Include="framework.h" />
<ClInclude Include="Header.h" />
<ClInclude Include="pch.h" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="dllmain.cpp" />
<ClCompile Include="pch.cpp">
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Create</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Create</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Create</PrecompiledHeader>
</ClCompile>
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>
36 changes: 36 additions & 0 deletions sem1/BakaldinKirill/Sem2MiniHW№1/Dll1/Dll1/Dll1.vcxproj.filters
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<?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="pch.h">
<Filter>Файлы заголовков</Filter>
</ClInclude>
<ClInclude Include="Header.h">
<Filter>Файлы заголовков</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<ClCompile Include="dllmain.cpp">
<Filter>Исходные файлы</Filter>
</ClCompile>
<ClCompile Include="pch.cpp">
<Filter>Исходные файлы</Filter>
</ClCompile>
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup />
</Project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
c:\users\k0wal\source\repos\dll1\dll1\dll1\x64\debug\dll1.pch
c:\users\k0wal\source\repos\dll1\dll1\dll1\x64\debug\vc143.pdb
c:\users\k0wal\source\repos\dll1\dll1\dll1\x64\debug\vc143.idb
c:\users\k0wal\source\repos\dll1\dll1\dll1\x64\debug\pch.obj
c:\users\k0wal\source\repos\dll1\dll1\dll1\x64\debug\dllmain.obj
c:\users\k0wal\source\repos\dll1\dll1\x64\debug\dll1.dll
c:\users\k0wal\source\repos\dll1\dll1\x64\debug\dll1.pdb
c:\users\k0wal\source\repos\dll1\dll1\x64\debug\dll1.lib
c:\users\k0wal\source\repos\dll1\dll1\x64\debug\dll1.exp
c:\users\k0wal\source\repos\dll1\dll1\dll1\x64\debug\dll1.ilk
c:\users\k0wal\source\repos\dll1\dll1\dll1\x64\debug\dll1.tlog\cl.command.1.tlog
c:\users\k0wal\source\repos\dll1\dll1\dll1\x64\debug\dll1.tlog\cl.items.tlog
c:\users\k0wal\source\repos\dll1\dll1\dll1\x64\debug\dll1.tlog\cl.read.1.tlog
c:\users\k0wal\source\repos\dll1\dll1\dll1\x64\debug\dll1.tlog\cl.write.1.tlog
c:\users\k0wal\source\repos\dll1\dll1\dll1\x64\debug\dll1.tlog\link.command.1.tlog
c:\users\k0wal\source\repos\dll1\dll1\dll1\x64\debug\dll1.tlog\link.read.1.tlog
c:\users\k0wal\source\repos\dll1\dll1\dll1\x64\debug\dll1.tlog\link.secondary.1.tlog
c:\users\k0wal\source\repos\dll1\dll1\dll1\x64\debug\dll1.tlog\link.write.1.tlog
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<Project>
<ProjectOutputs>
<ProjectOutput>
<FullPath>C:\Users\k0wal\source\repos\Dll1\Dll1\x64\Debug\Dll1.dll</FullPath>
</ProjectOutput>
</ProjectOutputs>
<ContentFiles />
<SatelliteDlls />
<NonRecipeFileRefs />
</Project>
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
 pch.cpp
dllmain.cpp
C:\Users\k0wal\source\repos\Dll1\Dll1\dllmain.cpp(6,8): warning C4273: arithmeticMean: несовместимое связывание dll
C:\Users\k0wal\source\repos\Dll1\Dll1\dllmain.cpp(12,8): warning C4273: median: несовместимое связывание dll
C:\Users\k0wal\source\repos\Dll1\Dll1\dllmain.cpp(24,8): warning C4273: meanSquare: несовместимое связывание dll
C:\Users\k0wal\source\repos\Dll1\Dll1\dllmain.cpp(33,8): warning C4273: variance: несовместимое связывание dll
Создается библиотека C:\Users\k0wal\source\repos\Dll1\Dll1\x64\Debug\Dll1.lib и объект C:\Users\k0wal\source\repos\Dll1\Dll1\x64\Debug\Dll1.exp
Dll1.vcxproj -> C:\Users\k0wal\source\repos\Dll1\Dll1\x64\Debug\Dll1.dll
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
C:\Users\k0wal\source\repos\Dll1\Dll1\dllmain.cpp;C:\Users\k0wal\source\repos\Dll1\Dll1\Dll1\x64\Debug\dllmain.obj
C:\Users\k0wal\source\repos\Dll1\Dll1\pch.cpp;C:\Users\k0wal\source\repos\Dll1\Dll1\Dll1\x64\Debug\pch.obj
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
PlatformToolSet=v143:VCToolArchitecture=Native64Bit:VCToolsVersion=14.40.33807:TargetPlatformVersion=10.0.22621.0:
Debug|x64|C:\Users\k0wal\source\repos\Dll1\Dll1\|
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
^C:\USERS\K0WAL\SOURCE\REPOS\DLL1\DLL1\DLL1\X64\DEBUG\DLLMAIN.OBJ|C:\USERS\K0WAL\SOURCE\REPOS\DLL1\DLL1\DLL1\X64\DEBUG\PCH.OBJ
C:\Users\k0wal\source\repos\Dll1\Dll1\x64\Debug\Dll1.lib
C:\Users\k0wal\source\repos\Dll1\Dll1\x64\Debug\Dll1.EXP
C:\Users\k0wal\source\repos\Dll1\Dll1\Dll1\x64\Debug\Dll1.ilk
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
18 changes: 18 additions & 0 deletions sem1/BakaldinKirill/Sem2MiniHW№1/Dll1/Dll1/Header.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#pragma once

#ifdef dllmain_EXPORTS
#define dllmain_API __declspec(dllexport)
#else
#define dllmain_API __declspec(dllimport)
#endif

#include "iostream"
#include <vector>
#include <algorithm>
#include <numeric>
#include <cmath>

dllmain_API double arithmeticMean(const std::vector<double>& data);
dllmain_API double median(std::vector<double> data);
dllmain_API double meanSquare(const std::vector<double>& data);
dllmain_API double variance(const std::vector<double>& data);
Loading