From 98abf12b6a9f7443dda7d34e199261cba0257750 Mon Sep 17 00:00:00 2001 From: "abasev360@gmail.com" Date: Tue, 5 Nov 2024 16:07:51 +0400 Subject: [PATCH] 2 --- Project6/Project6.sln | 31 +++++++ Project6/Project6.vcxproj | 137 ++++++++++++++++++++++++++++++ Project6/Project6.vcxproj.filters | 28 ++++++ Project6/л2 н1.cpp | 16 ++++ Project6/л2нн2.cpp | 16 ++++ 5 files changed, 228 insertions(+) create mode 100644 Project6/Project6.sln create mode 100644 Project6/Project6.vcxproj create mode 100644 Project6/Project6.vcxproj.filters create mode 100644 Project6/л2 н1.cpp create mode 100644 Project6/л2нн2.cpp diff --git a/Project6/Project6.sln b/Project6/Project6.sln new file mode 100644 index 0000000..a97b50d --- /dev/null +++ b/Project6/Project6.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}") = "Project6", "Project6.vcxproj", "{70A94959-FA44-4481-87A7-6401F14410F2}" +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 + {70A94959-FA44-4481-87A7-6401F14410F2}.Debug|x64.ActiveCfg = Debug|x64 + {70A94959-FA44-4481-87A7-6401F14410F2}.Debug|x64.Build.0 = Debug|x64 + {70A94959-FA44-4481-87A7-6401F14410F2}.Debug|x86.ActiveCfg = Debug|Win32 + {70A94959-FA44-4481-87A7-6401F14410F2}.Debug|x86.Build.0 = Debug|Win32 + {70A94959-FA44-4481-87A7-6401F14410F2}.Release|x64.ActiveCfg = Release|x64 + {70A94959-FA44-4481-87A7-6401F14410F2}.Release|x64.Build.0 = Release|x64 + {70A94959-FA44-4481-87A7-6401F14410F2}.Release|x86.ActiveCfg = Release|Win32 + {70A94959-FA44-4481-87A7-6401F14410F2}.Release|x86.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {65538A1E-E4F2-4234-AC02-4ADA79FE1DFC} + EndGlobalSection +EndGlobal diff --git a/Project6/Project6.vcxproj b/Project6/Project6.vcxproj new file mode 100644 index 0000000..7bc9d22 --- /dev/null +++ b/Project6/Project6.vcxproj @@ -0,0 +1,137 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + Debug + x64 + + + Release + x64 + + + + 17.0 + Win32Proj + {70a94959-fa44-4481-87a7-6401f14410f2} + Project6 + 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/Project6/Project6.vcxproj.filters b/Project6/Project6.vcxproj.filters new file mode 100644 index 0000000..0ac32f3 --- /dev/null +++ b/Project6/Project6.vcxproj.filters @@ -0,0 +1,28 @@ + + + + + {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/Project6/л2 н1.cpp b/Project6/л2 н1.cpp new file mode 100644 index 0000000..e899ce6 --- /dev/null +++ b/Project6/л2 н1.cpp @@ -0,0 +1,16 @@ +#include +#include +#include +void main() +{ + SetConsoleCP(1251); + SetConsoleOutputCP(1251); + float h = 12.0; + 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/Project6/л2нн2.cpp b/Project6/л2нн2.cpp new file mode 100644 index 0000000..0724ced --- /dev/null +++ b/Project6/л2нн2.cpp @@ -0,0 +1,16 @@ +#include +#include +#include +void main() +{ + SetConsoleCP(1251); + SetConsoleOutputCP(1251); + float h = 13.0; + float g = 9.8; + float t = sqrt(2 * h / g); + printf(" %f \n", h); + printf(" %f \n", t); + + + +} \ No newline at end of file