Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
8d19ff3
Готово
GERONlMO Sep 16, 2021
fa6f3f8
добавлены решения на среднее значение
GERONlMO Sep 16, 2021
e7632fb
task 0 ready
AndrewStiks Sep 17, 2021
dcbbb68
Добавлена задача #2
GERONlMO Sep 23, 2021
03a24cc
Задача #1 готова
GERONlMO Sep 23, 2021
abd0dd2
Загружены задания 1(ДЗ), 2(Класс)
GERONlMO Sep 24, 2021
1e1a798
Добавлено решение ДЗ #2 + органайзинг
GERONlMO Sep 30, 2021
b3cc15e
Добавлена задача на инверсию
GERONlMO Oct 1, 2021
8a043eb
Исправлены все замечания, кроме последнего
GERONlMO Oct 7, 2021
ee85d2f
Исправлено задание 2 (дз)
GERONlMO Oct 7, 2021
f2fa748
Исправлено задание 2 (дз)/Исправлено задание Инверсия
GERONlMO Oct 7, 2021
c9874c2
Добавлен Task 3 ДЗ
GERONlMO Oct 14, 2021
dd380cf
Самостоятельяная работа на 1 балл
GERONlMO Oct 15, 2021
0eebd9c
Самостоятельяная работа на 1 балл, доделал
GERONlMO Oct 15, 2021
376d3f8
Add files via upload
GERONlMO Nov 22, 2021
c2010dd
Добавлено ДЗ 4
GERONlMO Nov 22, 2021
07e0b5c
Огранайзинг + задание с матрицами0
GERONlMO Nov 24, 2021
cc127bc
Добавлен Task 6 дз
GERONlMO Dec 6, 2021
498ee95
Задание 6 дз
GERONlMO Dec 16, 2021
09e8c0d
lab 2, matrix
GERONlMO Oct 5, 2022
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
3 changes: 3 additions & 0 deletions .vs/ProjectSettings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"CurrentProjectSetting": "Нет конфигураций"
}
7 changes: 7 additions & 0 deletions .vs/VSWorkspaceState.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"ExpandedNodes": [
""
],
"SelectedNode": "\\TASK_1_HW.sln",
"PreviewInSolutionExplorer": false
}
Binary file added .vs/slnx.sqlite
Binary file not shown.
Binary file added FinishedTasks_CW/Arrays/.vs/Arrays/v16/.suo
Binary file not shown.
Binary file not shown.
Binary file not shown.
31 changes: 31 additions & 0 deletions FinishedTasks_CW/Arrays/Arrays.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 16
VisualStudioVersion = 16.0.31702.278
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Arrays", "Arrays\Arrays.vcxproj", "{04C8313D-2525-4837-88EA-FE224822BD0D}"
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
{04C8313D-2525-4837-88EA-FE224822BD0D}.Debug|x64.ActiveCfg = Debug|x64
{04C8313D-2525-4837-88EA-FE224822BD0D}.Debug|x64.Build.0 = Debug|x64
{04C8313D-2525-4837-88EA-FE224822BD0D}.Debug|x86.ActiveCfg = Debug|Win32
{04C8313D-2525-4837-88EA-FE224822BD0D}.Debug|x86.Build.0 = Debug|Win32
{04C8313D-2525-4837-88EA-FE224822BD0D}.Release|x64.ActiveCfg = Release|x64
{04C8313D-2525-4837-88EA-FE224822BD0D}.Release|x64.Build.0 = Release|x64
{04C8313D-2525-4837-88EA-FE224822BD0D}.Release|x86.ActiveCfg = Release|Win32
{04C8313D-2525-4837-88EA-FE224822BD0D}.Release|x86.Build.0 = Release|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {AC847924-BDE7-42F5-A5BC-26CBB41EFB59}
EndGlobalSection
EndGlobal
147 changes: 147 additions & 0 deletions FinishedTasks_CW/Arrays/Arrays/Arrays.vcxproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,147 @@
<?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>16.0</VCProjectVersion>
<Keyword>Win32Proj</Keyword>
<ProjectGuid>{04c8313d-2525-4837-88ea-fe224822bd0d}</ProjectGuid>
<RootNamespace>Arrays</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>v142</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v142</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v142</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v142</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" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<LinkIncremental>true</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LinkIncremental>false</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<LinkIncremental>true</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<LinkIncremental>false</LinkIncremental>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<SDLCheck>true</SDLCheck>
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ConformanceMode>true</ConformanceMode>
</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>
</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>
</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>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="main.c" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>
22 changes: 22 additions & 0 deletions FinishedTasks_CW/Arrays/Arrays/Arrays.vcxproj.filters
Original file line number Diff line number Diff line change
@@ -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="Исходные файлы">
<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>
<ClCompile Include="main.c">
<Filter>Исходные файлы</Filter>
</ClCompile>
</ItemGroup>
</Project>
4 changes: 4 additions & 0 deletions FinishedTasks_CW/Arrays/Arrays/Arrays.vcxproj.user
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>
71 changes: 71 additions & 0 deletions FinishedTasks_CW/Arrays/Arrays/main.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
// Copyright 2021 Ivan Novostroev

/*
������� �������� ��� ���������

���������� ������:
1. ��������� ��������� ������� (������� � ��������)
2. ��������� ��������� �������
3. ����������� ��������� ������� ������� ��� ���������:
����� ������������ �������� ��������� �������;
����� ������������ ��������� ������� � ��������� ���������;
����� ������������ ��������� ������� �������� �� ��������;
�������� ������� �������� � ��������� ���������;
�������� ������� ������ � ����� �������� ������� (��);
������: 1 2 3 4 5 6 7 8 ---> 5 6 7 8 1 2 3 4;
1. C ��� ��������.
2. ��� ��� �������.
*/

#include <stdio.h>
#define SIZE 10
#include <malloc.h>

int main() {
// �������

//constant int SizeOfMassive_1 = 10;
//int massive_1[SizeOfMassive_1]; ������ ������� (�� ��������)

float massive_2[SIZE] = { 0 }; // ������ ������� (��������)

int massive_3[] = { 1, 2, 3, 4, 5 }; // ������������ ������

printf("%f", massive_2[0]);

printf("%d", massive_3[2]);

// ��������

int* mass; // ��������� �� ������ �������������� �������
int size;
printf("Vvedite pazmer massiva: \n");
scanf_s("%d", &size);

mass = (int*)malloc(size * sizeof(int));

float* massF = (float*)malloc(size * sizeof(float));

// �������������
int i;
for (i = 0; i < size; i++) {
mass[i] = 5;
}
// ��������
mass[size / 2] = 0;
// �����



/*
i = 0;
while (i < size) {
mass[i] = 5;

i++;
}
*/
free(mass); // �������� ������
free(massF);
return 0;
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
31 changes: 31 additions & 0 deletions FinishedTasks_CW/Average_of_3_numbers/Average_of_3_numbers.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 16
VisualStudioVersion = 16.0.31624.102
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "average", "average\average.vcxproj", "{11300A82-9D66-4E37-9A0F-A140764E1145}"
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
{11300A82-9D66-4E37-9A0F-A140764E1145}.Debug|x64.ActiveCfg = Debug|x64
{11300A82-9D66-4E37-9A0F-A140764E1145}.Debug|x64.Build.0 = Debug|x64
{11300A82-9D66-4E37-9A0F-A140764E1145}.Debug|x86.ActiveCfg = Debug|Win32
{11300A82-9D66-4E37-9A0F-A140764E1145}.Debug|x86.Build.0 = Debug|Win32
{11300A82-9D66-4E37-9A0F-A140764E1145}.Release|x64.ActiveCfg = Release|x64
{11300A82-9D66-4E37-9A0F-A140764E1145}.Release|x64.Build.0 = Release|x64
{11300A82-9D66-4E37-9A0F-A140764E1145}.Release|x86.ActiveCfg = Release|Win32
{11300A82-9D66-4E37-9A0F-A140764E1145}.Release|x86.Build.0 = Release|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {DC75768D-0494-4091-91A7-08FE760C1A8D}
EndGlobalSection
EndGlobal
Loading