From 68557f43d4460abe61f6bce8388fe70a3b32a257 Mon Sep 17 00:00:00 2001 From: Yourdax Date: Thu, 7 Nov 2024 09:30:59 +0400 Subject: [PATCH] 3434 --- .../лаб 2 задача 1.sln | 31 ++++ .../лаб 2 задача 1/Source.cpp | 18 +++ .../лаб 2 задача 1.vcxproj | 135 ++++++++++++++++++ .../лаб 2 задача 1.vcxproj.filters | 22 +++ 4 files changed, 206 insertions(+) create mode 100644 лаб 2 задача 1/лаб 2 задача 1.sln create mode 100644 лаб 2 задача 1/лаб 2 задача 1/Source.cpp create mode 100644 лаб 2 задача 1/лаб 2 задача 1/лаб 2 задача 1.vcxproj create mode 100644 лаб 2 задача 1/лаб 2 задача 1/лаб 2 задача 1.vcxproj.filters diff --git a/лаб 2 задача 1/лаб 2 задача 1.sln b/лаб 2 задача 1/лаб 2 задача 1.sln new file mode 100644 index 0000000..8e7cb22 --- /dev/null +++ b/лаб 2 задача 1/лаб 2 задача 1.sln @@ -0,0 +1,31 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.11.35222.181 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "лаб 2 задача 1", "лаб 2 задача 1\лаб 2 задача 1.vcxproj", "{41C41A3F-C4AA-40F0-A492-0693795A4D01}" +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 + {41C41A3F-C4AA-40F0-A492-0693795A4D01}.Debug|x64.ActiveCfg = Debug|x64 + {41C41A3F-C4AA-40F0-A492-0693795A4D01}.Debug|x64.Build.0 = Debug|x64 + {41C41A3F-C4AA-40F0-A492-0693795A4D01}.Debug|x86.ActiveCfg = Debug|Win32 + {41C41A3F-C4AA-40F0-A492-0693795A4D01}.Debug|x86.Build.0 = Debug|Win32 + {41C41A3F-C4AA-40F0-A492-0693795A4D01}.Release|x64.ActiveCfg = Release|x64 + {41C41A3F-C4AA-40F0-A492-0693795A4D01}.Release|x64.Build.0 = Release|x64 + {41C41A3F-C4AA-40F0-A492-0693795A4D01}.Release|x86.ActiveCfg = Release|Win32 + {41C41A3F-C4AA-40F0-A492-0693795A4D01}.Release|x86.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {9E27CF65-82BB-426D-8C28-87861A7FA3F8} + EndGlobalSection +EndGlobal diff --git a/лаб 2 задача 1/лаб 2 задача 1/Source.cpp b/лаб 2 задача 1/лаб 2 задача 1/Source.cpp new file mode 100644 index 0000000..2fa8bad --- /dev/null +++ b/лаб 2 задача 1/лаб 2 задача 1/Source.cpp @@ -0,0 +1,18 @@ +#include +#include +#include + +void main() +{ + SetConsoleCP(1251); + SetConsoleOutputCP(1251); + float R, p, S; + S = 0; + p = 3, 14; + printf(" S=p*R^2\n"); + printf(" \n"); + scanf_s("%f", &R); + printf(" = %f\n", S = p * R * R); +} +//re3343434 + diff --git a/лаб 2 задача 1/лаб 2 задача 1/лаб 2 задача 1.vcxproj b/лаб 2 задача 1/лаб 2 задача 1/лаб 2 задача 1.vcxproj new file mode 100644 index 0000000..12dc838 --- /dev/null +++ b/лаб 2 задача 1/лаб 2 задача 1/лаб 2 задача 1.vcxproj @@ -0,0 +1,135 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + Debug + x64 + + + Release + x64 + + + + 17.0 + Win32Proj + {41c41a3f-c4aa-40f0-a492-0693795a4d01} + лаб2задача1 + 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/лаб 2 задача 1/лаб 2 задача 1/лаб 2 задача 1.vcxproj.filters b/лаб 2 задача 1/лаб 2 задача 1/лаб 2 задача 1.vcxproj.filters new file mode 100644 index 0000000..ef66db6 --- /dev/null +++ b/лаб 2 задача 1/лаб 2 задача 1/лаб 2 задача 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