From b47dfd32a15a30d06ded415cf03190f3324d9c08 Mon Sep 17 00:00:00 2001 From: "d.yarmukhin" Date: Mon, 23 Dec 2024 13:58:48 +0400 Subject: [PATCH] 123 --- Laba.1/Laba.1.sln | 61 ++++++++++ Laba.1/Laba.1/Laba.1.vcxproj | 135 +++++++++++++++++++++++ Laba.1/Laba.1/Laba.1.vcxproj.filters | 22 ++++ Laba.1/Laba.1/Source.c | 16 +++ Laba.1/Project1/Project1.vcxproj | 135 +++++++++++++++++++++++ Laba.1/Project1/Project1.vcxproj.filters | 22 ++++ Laba.1/Project1/Source.c | 16 +++ Laba.1/Project2/Project2.vcxproj | 135 +++++++++++++++++++++++ Laba.1/Project2/Project2.vcxproj.filters | 22 ++++ Laba.1/Project2/Source.c | 18 +++ Laba.1/Project3/Project3.vcxproj | 135 +++++++++++++++++++++++ Laba.1/Project3/Project3.vcxproj.filters | 22 ++++ Laba.1/Project3/Source.c | 12 ++ 13 files changed, 751 insertions(+) create mode 100644 Laba.1/Laba.1.sln create mode 100644 Laba.1/Laba.1/Laba.1.vcxproj create mode 100644 Laba.1/Laba.1/Laba.1.vcxproj.filters create mode 100644 Laba.1/Laba.1/Source.c create mode 100644 Laba.1/Project1/Project1.vcxproj create mode 100644 Laba.1/Project1/Project1.vcxproj.filters create mode 100644 Laba.1/Project1/Source.c create mode 100644 Laba.1/Project2/Project2.vcxproj create mode 100644 Laba.1/Project2/Project2.vcxproj.filters create mode 100644 Laba.1/Project2/Source.c create mode 100644 Laba.1/Project3/Project3.vcxproj create mode 100644 Laba.1/Project3/Project3.vcxproj.filters create mode 100644 Laba.1/Project3/Source.c diff --git a/Laba.1/Laba.1.sln b/Laba.1/Laba.1.sln new file mode 100644 index 0000000..0322960 --- /dev/null +++ b/Laba.1/Laba.1.sln @@ -0,0 +1,61 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.11.35327.3 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Laba.1", "Laba.1\Laba.1.vcxproj", "{440FD901-B878-4C40-AF19-9B4DCC1D3549}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Project1", "Project1\Project1.vcxproj", "{E7C546F4-16E8-4CAB-B02F-9509B3FD077A}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Project2", "Project2\Project2.vcxproj", "{77BE42A6-80F4-4FFA-A9FA-DEB3B1EBA39B}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Project3", "Project3\Project3.vcxproj", "{9F00C744-06B3-492D-AEE6-704A9E6EBF92}" +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 + {440FD901-B878-4C40-AF19-9B4DCC1D3549}.Debug|x64.ActiveCfg = Debug|x64 + {440FD901-B878-4C40-AF19-9B4DCC1D3549}.Debug|x64.Build.0 = Debug|x64 + {440FD901-B878-4C40-AF19-9B4DCC1D3549}.Debug|x86.ActiveCfg = Debug|Win32 + {440FD901-B878-4C40-AF19-9B4DCC1D3549}.Debug|x86.Build.0 = Debug|Win32 + {440FD901-B878-4C40-AF19-9B4DCC1D3549}.Release|x64.ActiveCfg = Release|x64 + {440FD901-B878-4C40-AF19-9B4DCC1D3549}.Release|x64.Build.0 = Release|x64 + {440FD901-B878-4C40-AF19-9B4DCC1D3549}.Release|x86.ActiveCfg = Release|Win32 + {440FD901-B878-4C40-AF19-9B4DCC1D3549}.Release|x86.Build.0 = Release|Win32 + {E7C546F4-16E8-4CAB-B02F-9509B3FD077A}.Debug|x64.ActiveCfg = Debug|x64 + {E7C546F4-16E8-4CAB-B02F-9509B3FD077A}.Debug|x64.Build.0 = Debug|x64 + {E7C546F4-16E8-4CAB-B02F-9509B3FD077A}.Debug|x86.ActiveCfg = Debug|Win32 + {E7C546F4-16E8-4CAB-B02F-9509B3FD077A}.Debug|x86.Build.0 = Debug|Win32 + {E7C546F4-16E8-4CAB-B02F-9509B3FD077A}.Release|x64.ActiveCfg = Release|x64 + {E7C546F4-16E8-4CAB-B02F-9509B3FD077A}.Release|x64.Build.0 = Release|x64 + {E7C546F4-16E8-4CAB-B02F-9509B3FD077A}.Release|x86.ActiveCfg = Release|Win32 + {E7C546F4-16E8-4CAB-B02F-9509B3FD077A}.Release|x86.Build.0 = Release|Win32 + {77BE42A6-80F4-4FFA-A9FA-DEB3B1EBA39B}.Debug|x64.ActiveCfg = Debug|x64 + {77BE42A6-80F4-4FFA-A9FA-DEB3B1EBA39B}.Debug|x64.Build.0 = Debug|x64 + {77BE42A6-80F4-4FFA-A9FA-DEB3B1EBA39B}.Debug|x86.ActiveCfg = Debug|Win32 + {77BE42A6-80F4-4FFA-A9FA-DEB3B1EBA39B}.Debug|x86.Build.0 = Debug|Win32 + {77BE42A6-80F4-4FFA-A9FA-DEB3B1EBA39B}.Release|x64.ActiveCfg = Release|x64 + {77BE42A6-80F4-4FFA-A9FA-DEB3B1EBA39B}.Release|x64.Build.0 = Release|x64 + {77BE42A6-80F4-4FFA-A9FA-DEB3B1EBA39B}.Release|x86.ActiveCfg = Release|Win32 + {77BE42A6-80F4-4FFA-A9FA-DEB3B1EBA39B}.Release|x86.Build.0 = Release|Win32 + {9F00C744-06B3-492D-AEE6-704A9E6EBF92}.Debug|x64.ActiveCfg = Debug|x64 + {9F00C744-06B3-492D-AEE6-704A9E6EBF92}.Debug|x64.Build.0 = Debug|x64 + {9F00C744-06B3-492D-AEE6-704A9E6EBF92}.Debug|x86.ActiveCfg = Debug|Win32 + {9F00C744-06B3-492D-AEE6-704A9E6EBF92}.Debug|x86.Build.0 = Debug|Win32 + {9F00C744-06B3-492D-AEE6-704A9E6EBF92}.Release|x64.ActiveCfg = Release|x64 + {9F00C744-06B3-492D-AEE6-704A9E6EBF92}.Release|x64.Build.0 = Release|x64 + {9F00C744-06B3-492D-AEE6-704A9E6EBF92}.Release|x86.ActiveCfg = Release|Win32 + {9F00C744-06B3-492D-AEE6-704A9E6EBF92}.Release|x86.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {FC9DD9E4-2717-4441-AB10-6F2FFFAD10A1} + EndGlobalSection +EndGlobal diff --git a/Laba.1/Laba.1/Laba.1.vcxproj b/Laba.1/Laba.1/Laba.1.vcxproj new file mode 100644 index 0000000..8061297 --- /dev/null +++ b/Laba.1/Laba.1/Laba.1.vcxproj @@ -0,0 +1,135 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + Debug + x64 + + + Release + x64 + + + + 17.0 + Win32Proj + {440fd901-b878-4c40-af19-9b4dcc1d3549} + Laba1 + 10.0 + + + + Application + true + v143 + Unicode + + + Application + false + v143 + true + Unicode + + + Application + true + v143 + Unicode + + + Application + false + v143 + true + Unicode + + + + + + + + + + + + + + + + + + + + + + Level3 + true + WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + + + + + Level3 + true + true + true + WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + true + true + + + + + Level3 + true + _DEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + + + + + Level3 + true + true + true + NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + true + true + + + + + + + + + \ No newline at end of file diff --git a/Laba.1/Laba.1/Laba.1.vcxproj.filters b/Laba.1/Laba.1/Laba.1.vcxproj.filters new file mode 100644 index 0000000..9327ccf --- /dev/null +++ b/Laba.1/Laba.1/Laba.1.vcxproj.filters @@ -0,0 +1,22 @@ + + + + + {4FC737F1-C7A5-4376-A066-2A32D752A2FF} + cpp;c;cc;cxx;c++;cppm;ixx;def;odl;idl;hpj;bat;asm;asmx + + + {93995380-89BD-4b04-88EB-625FBE52EBFB} + h;hh;hpp;hxx;h++;hm;inl;inc;ipp;xsd + + + {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} + rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms + + + + + Исходные файлы + + + \ No newline at end of file diff --git a/Laba.1/Laba.1/Source.c b/Laba.1/Laba.1/Source.c new file mode 100644 index 0000000..af07eb6 --- /dev/null +++ b/Laba.1/Laba.1/Source.c @@ -0,0 +1,16 @@ +#include +#include + +void main() { + SetConsoleCP(1252); + SetConsoleOutputCP(1251); + + printf("\n"); + printf("\n"); + printf("\n"); + printf("\n"); + printf("-11-2024\n"); + printf("27.02.2006\n"); + printf(": \n"); + printf("! 1\n"); +} \ No newline at end of file diff --git a/Laba.1/Project1/Project1.vcxproj b/Laba.1/Project1/Project1.vcxproj new file mode 100644 index 0000000..8b264d3 --- /dev/null +++ b/Laba.1/Project1/Project1.vcxproj @@ -0,0 +1,135 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + Debug + x64 + + + Release + x64 + + + + 17.0 + Win32Proj + {e7c546f4-16e8-4cab-b02f-9509b3fd077a} + Project1 + 10.0 + + + + Application + true + v143 + Unicode + + + Application + false + v143 + true + Unicode + + + Application + true + v143 + Unicode + + + Application + false + v143 + true + Unicode + + + + + + + + + + + + + + + + + + + + + + Level3 + true + WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + + + + + Level3 + true + true + true + WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + true + true + + + + + Level3 + true + _DEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + + + + + Level3 + true + true + true + NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + true + true + + + + + + + + + \ No newline at end of file diff --git a/Laba.1/Project1/Project1.vcxproj.filters b/Laba.1/Project1/Project1.vcxproj.filters new file mode 100644 index 0000000..9327ccf --- /dev/null +++ b/Laba.1/Project1/Project1.vcxproj.filters @@ -0,0 +1,22 @@ + + + + + {4FC737F1-C7A5-4376-A066-2A32D752A2FF} + cpp;c;cc;cxx;c++;cppm;ixx;def;odl;idl;hpj;bat;asm;asmx + + + {93995380-89BD-4b04-88EB-625FBE52EBFB} + h;hh;hpp;hxx;h++;hm;inl;inc;ipp;xsd + + + {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} + rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms + + + + + Исходные файлы + + + \ No newline at end of file diff --git a/Laba.1/Project1/Source.c b/Laba.1/Project1/Source.c new file mode 100644 index 0000000..6ab14a9 --- /dev/null +++ b/Laba.1/Project1/Source.c @@ -0,0 +1,16 @@ +#include +#include +#include + +void main() { + SetConsoleCP(1252); + SetConsoleOutputCP(1251); + + float h; + printf(" \n"); + scanf_s("%f", &h); + float g = 9.8; + float t = sqrt(2 * h / g); + printf(" %f \n", h); + printf(" %f \n", t); +} \ No newline at end of file diff --git a/Laba.1/Project2/Project2.vcxproj b/Laba.1/Project2/Project2.vcxproj new file mode 100644 index 0000000..d2de1dd --- /dev/null +++ b/Laba.1/Project2/Project2.vcxproj @@ -0,0 +1,135 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + Debug + x64 + + + Release + x64 + + + + 17.0 + Win32Proj + {77be42a6-80f4-4ffa-a9fa-deb3b1eba39b} + Project2 + 10.0 + + + + Application + true + v143 + Unicode + + + Application + false + v143 + true + Unicode + + + Application + true + v143 + Unicode + + + Application + false + v143 + true + Unicode + + + + + + + + + + + + + + + + + + + + + + Level3 + true + WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + + + + + Level3 + true + true + true + WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + true + true + + + + + Level3 + true + _DEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + + + + + Level3 + true + true + true + NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + true + true + + + + + + + + + \ No newline at end of file diff --git a/Laba.1/Project2/Project2.vcxproj.filters b/Laba.1/Project2/Project2.vcxproj.filters new file mode 100644 index 0000000..9327ccf --- /dev/null +++ b/Laba.1/Project2/Project2.vcxproj.filters @@ -0,0 +1,22 @@ + + + + + {4FC737F1-C7A5-4376-A066-2A32D752A2FF} + cpp;c;cc;cxx;c++;cppm;ixx;def;odl;idl;hpj;bat;asm;asmx + + + {93995380-89BD-4b04-88EB-625FBE52EBFB} + h;hh;hpp;hxx;h++;hm;inl;inc;ipp;xsd + + + {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} + rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms + + + + + Исходные файлы + + + \ No newline at end of file diff --git a/Laba.1/Project2/Source.c b/Laba.1/Project2/Source.c new file mode 100644 index 0000000..dc4ed8a --- /dev/null +++ b/Laba.1/Project2/Source.c @@ -0,0 +1,18 @@ +#include +#include +#include + +void main() { + SetConsoleCP(1252); + SetConsoleOutputCP(1251); + + float m; + float rub_m; + printf(" \n"); + scanf_s("%f", &m); + + printf(" \n"); + scanf_s("%f", &rub_m); + float p = m * rub_m; + printf(" %f \n", p); +} \ No newline at end of file diff --git a/Laba.1/Project3/Project3.vcxproj b/Laba.1/Project3/Project3.vcxproj new file mode 100644 index 0000000..d51d969 --- /dev/null +++ b/Laba.1/Project3/Project3.vcxproj @@ -0,0 +1,135 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + Debug + x64 + + + Release + x64 + + + + 17.0 + Win32Proj + {9f00c744-06b3-492d-aee6-704a9e6ebf92} + Project3 + 10.0 + + + + Application + true + v143 + Unicode + + + Application + false + v143 + true + Unicode + + + Application + true + v143 + Unicode + + + Application + false + v143 + true + Unicode + + + + + + + + + + + + + + + + + + + + + + Level3 + true + WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + + + + + Level3 + true + true + true + WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + true + true + + + + + Level3 + true + _DEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + + + + + Level3 + true + true + true + NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + true + true + + + + + + + + + \ No newline at end of file diff --git a/Laba.1/Project3/Project3.vcxproj.filters b/Laba.1/Project3/Project3.vcxproj.filters new file mode 100644 index 0000000..9327ccf --- /dev/null +++ b/Laba.1/Project3/Project3.vcxproj.filters @@ -0,0 +1,22 @@ + + + + + {4FC737F1-C7A5-4376-A066-2A32D752A2FF} + cpp;c;cc;cxx;c++;cppm;ixx;def;odl;idl;hpj;bat;asm;asmx + + + {93995380-89BD-4b04-88EB-625FBE52EBFB} + h;hh;hpp;hxx;h++;hm;inl;inc;ipp;xsd + + + {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} + rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms + + + + + Исходные файлы + + + \ No newline at end of file diff --git a/Laba.1/Project3/Source.c b/Laba.1/Project3/Source.c new file mode 100644 index 0000000..b4b71c5 --- /dev/null +++ b/Laba.1/Project3/Source.c @@ -0,0 +1,12 @@ +#include +#include + +void main() { + SetConsoleCP(1252); + SetConsoleOutputCP(1251); + + printf(" * \n"); + printf(" *** \n"); + printf(" ***** \n"); + printf(" ! \n"); +} \ No newline at end of file