diff --git a/лаб12/Project1/Project1.sln b/лаб12/Project1/Project1.sln new file mode 100644 index 0000000..d959ff1 --- /dev/null +++ b/лаб12/Project1/Project1.sln @@ -0,0 +1,41 @@ + +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}") = "Project1", "Project1\Project1.vcxproj", "{5F0E74FA-E8AE-4076-B6E6-F39C27506570}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Project2", "..\Project2\Project2\Project2.vcxproj", "{00734F93-FC89-4DD5-942A-96048A86E93F}" +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 + {5F0E74FA-E8AE-4076-B6E6-F39C27506570}.Debug|x64.ActiveCfg = Debug|x64 + {5F0E74FA-E8AE-4076-B6E6-F39C27506570}.Debug|x64.Build.0 = Debug|x64 + {5F0E74FA-E8AE-4076-B6E6-F39C27506570}.Debug|x86.ActiveCfg = Debug|Win32 + {5F0E74FA-E8AE-4076-B6E6-F39C27506570}.Debug|x86.Build.0 = Debug|Win32 + {5F0E74FA-E8AE-4076-B6E6-F39C27506570}.Release|x64.ActiveCfg = Release|x64 + {5F0E74FA-E8AE-4076-B6E6-F39C27506570}.Release|x64.Build.0 = Release|x64 + {5F0E74FA-E8AE-4076-B6E6-F39C27506570}.Release|x86.ActiveCfg = Release|Win32 + {5F0E74FA-E8AE-4076-B6E6-F39C27506570}.Release|x86.Build.0 = Release|Win32 + {00734F93-FC89-4DD5-942A-96048A86E93F}.Debug|x64.ActiveCfg = Debug|x64 + {00734F93-FC89-4DD5-942A-96048A86E93F}.Debug|x64.Build.0 = Debug|x64 + {00734F93-FC89-4DD5-942A-96048A86E93F}.Debug|x86.ActiveCfg = Debug|Win32 + {00734F93-FC89-4DD5-942A-96048A86E93F}.Debug|x86.Build.0 = Debug|Win32 + {00734F93-FC89-4DD5-942A-96048A86E93F}.Release|x64.ActiveCfg = Release|x64 + {00734F93-FC89-4DD5-942A-96048A86E93F}.Release|x64.Build.0 = Release|x64 + {00734F93-FC89-4DD5-942A-96048A86E93F}.Release|x86.ActiveCfg = Release|Win32 + {00734F93-FC89-4DD5-942A-96048A86E93F}.Release|x86.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {F00745AC-2F97-47A1-9272-EA4B1D2D4DB5} + EndGlobalSection +EndGlobal diff --git a/лаб12/Project1/Project1/1.cpp b/лаб12/Project1/Project1/1.cpp new file mode 100644 index 0000000..fc85920 --- /dev/null +++ b/лаб12/Project1/Project1/1.cpp @@ -0,0 +1,12 @@ +#include +#include + +void main() +{ + SetConsoleCP(1251); + SetConsoleOutputCP(1251); + + printf("Hello World!\n"); + printf(" !"); + +} \ No newline at end of file diff --git a/лаб12/Project1/Project1/2.cpp b/лаб12/Project1/Project1/2.cpp new file mode 100644 index 0000000..81f3ce9 --- /dev/null +++ b/лаб12/Project1/Project1/2.cpp @@ -0,0 +1,17 @@ +#include +#include + +void main() +{ + SetConsoleCP(1251); + SetConsoleOutputCP(1251); + + printf("\n"); + printf("\n"); + printf("\n"); + printf("\n"); + printf(": -13-2024\n"); + printf(": 05.09.2024\n"); + printf(": \n"); + printf(" 1\n"); +} \ No newline at end of file diff --git a/лаб12/Project1/Project1/3.cpp b/лаб12/Project1/Project1/3.cpp new file mode 100644 index 0000000..e69de29 diff --git a/лаб12/Project1/Project1/4.cpp b/лаб12/Project1/Project1/4.cpp new file mode 100644 index 0000000..e69de29 diff --git a/лаб12/Project1/Project1/5.cpp b/лаб12/Project1/Project1/5.cpp new file mode 100644 index 0000000..a28a609 --- /dev/null +++ b/лаб12/Project1/Project1/5.cpp @@ -0,0 +1,23 @@ +#include +#include + +void main() +{ + printf(" * \n"); + printf(" *** \n"); + printf(" ***** \n"); + printf(" ******* \n"); + printf(" ********* \n"); + printf("***************************** \n"); + printf(" *************************\n"); + printf(" ********************* \n"); + printf(" ***************** \n"); + printf(" ******** ******** \n"); + printf(" ******** ******** \n"); + printf(" ****** ****** \n"); + printf(" *** *** \n"); + printf(" * * \n"); + printf(" \n"); + printf(" \n"); + +} \ No newline at end of file diff --git a/лаб12/Project1/Project1/Project1.vcxproj b/лаб12/Project1/Project1/Project1.vcxproj new file mode 100644 index 0000000..2e446a2 --- /dev/null +++ b/лаб12/Project1/Project1/Project1.vcxproj @@ -0,0 +1,135 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + Debug + x64 + + + Release + x64 + + + + + + + 17.0 + Win32Proj + {5f0e74fa-e8ae-4076-b6e6-f39c27506570} + 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/лаб12/Project1/Project1/Project1.vcxproj.filters b/лаб12/Project1/Project1/Project1.vcxproj.filters new file mode 100644 index 0000000..5666370 --- /dev/null +++ b/лаб12/Project1/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/лаб12/Project2/Project2.sln b/лаб12/Project2/Project2.sln new file mode 100644 index 0000000..26e6f4f --- /dev/null +++ b/лаб12/Project2/Project2.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}") = "Project2", "Project2\Project2.vcxproj", "{00734F93-FC89-4DD5-942A-96048A86E93F}" +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 + {00734F93-FC89-4DD5-942A-96048A86E93F}.Debug|x64.ActiveCfg = Debug|x64 + {00734F93-FC89-4DD5-942A-96048A86E93F}.Debug|x64.Build.0 = Debug|x64 + {00734F93-FC89-4DD5-942A-96048A86E93F}.Debug|x86.ActiveCfg = Debug|Win32 + {00734F93-FC89-4DD5-942A-96048A86E93F}.Debug|x86.Build.0 = Debug|Win32 + {00734F93-FC89-4DD5-942A-96048A86E93F}.Release|x64.ActiveCfg = Release|x64 + {00734F93-FC89-4DD5-942A-96048A86E93F}.Release|x64.Build.0 = Release|x64 + {00734F93-FC89-4DD5-942A-96048A86E93F}.Release|x86.ActiveCfg = Release|Win32 + {00734F93-FC89-4DD5-942A-96048A86E93F}.Release|x86.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {55ACC4E4-2089-4A09-8299-54B5B18C67FA} + EndGlobalSection +EndGlobal diff --git a/лаб12/Project2/Project2/Project2.vcxproj b/лаб12/Project2/Project2/Project2.vcxproj new file mode 100644 index 0000000..8a40cf2 --- /dev/null +++ b/лаб12/Project2/Project2/Project2.vcxproj @@ -0,0 +1,135 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + Debug + x64 + + + Release + x64 + + + + + + + 17.0 + Win32Proj + {00734f93-fc89-4dd5-942a-96048a86e93f} + 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/лаб12/Project2/Project2/Project2.vcxproj.filters b/лаб12/Project2/Project2/Project2.vcxproj.filters new file mode 100644 index 0000000..87ac1a0 --- /dev/null +++ b/лаб12/Project2/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/лаб12/Project3/Project3.vcxproj b/лаб12/Project3/Project3.vcxproj new file mode 100644 index 0000000..2933e9f --- /dev/null +++ b/лаб12/Project3/Project3.vcxproj @@ -0,0 +1,135 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + Debug + x64 + + + Release + x64 + + + + 17.0 + Win32Proj + {ec70fa2f-5b52-4786-80d4-690413525e94} + 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/лаб12/Project3/Project3.vcxproj.filters b/лаб12/Project3/Project3.vcxproj.filters new file mode 100644 index 0000000..7696b18 --- /dev/null +++ b/лаб12/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/лаб12/Project4/Project4.vcxproj b/лаб12/Project4/Project4.vcxproj new file mode 100644 index 0000000..62ffcf1 --- /dev/null +++ b/лаб12/Project4/Project4.vcxproj @@ -0,0 +1,138 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + Debug + x64 + + + Release + x64 + + + + + 17.0 + Win32Proj + {e593026c-31b2-44ce-85d9-7fd7d22f609a} + Project4 + 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 + + + + + + + + diff --git a/лаб12/Project4/Project4.vcxproj.filters b/лаб12/Project4/Project4.vcxproj.filters new file mode 100644 index 0000000..153170c --- /dev/null +++ b/лаб12/Project4/Project4.vcxproj.filters @@ -0,0 +1,17 @@ + + + + + {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/лаб12/Project44/Project44.vcxproj b/лаб12/Project44/Project44.vcxproj new file mode 100644 index 0000000..936b03c --- /dev/null +++ b/лаб12/Project44/Project44.vcxproj @@ -0,0 +1,135 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + Debug + x64 + + + Release + x64 + + + + 17.0 + Win32Proj + {8655911c-1e9a-4587-9419-3249267fb8fa} + Project44 + 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/лаб12/Project44/Project44.vcxproj.filters b/лаб12/Project44/Project44.vcxproj.filters new file mode 100644 index 0000000..81d2f93 --- /dev/null +++ b/лаб12/Project44/Project44.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/лаб12/Project5/Project5.vcxproj b/лаб12/Project5/Project5.vcxproj new file mode 100644 index 0000000..aafdab0 --- /dev/null +++ b/лаб12/Project5/Project5.vcxproj @@ -0,0 +1,135 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + Debug + x64 + + + Release + x64 + + + + 17.0 + Win32Proj + {d73664d5-3676-4038-b336-b553869343db} + Project5 + 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/лаб12/Project5/Project5.vcxproj.filters b/лаб12/Project5/Project5.vcxproj.filters new file mode 100644 index 0000000..54fad21 --- /dev/null +++ b/лаб12/Project5/Project5.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/лаб12/Project6/6.cpp b/лаб12/Project6/6.cpp new file mode 100644 index 0000000..e4cf03d --- /dev/null +++ b/лаб12/Project6/6.cpp @@ -0,0 +1,17 @@ +#include +#include +#include + +void main() +{ + SetConsoleCP(1251); + SetConsoleOutputCP(1251); + + float a, b; + printf(" :"); + scanf_s("%f", &a); + printf(" :"); + scanf_s("%f", &b); + float count = a / b; + printf(" %2f %2f %2f", a, count, b); +} \ No newline at end of file diff --git a/лаб12/Project6/Project6.vcxproj b/лаб12/Project6/Project6.vcxproj new file mode 100644 index 0000000..4c90f53 --- /dev/null +++ b/лаб12/Project6/Project6.vcxproj @@ -0,0 +1,135 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + Debug + x64 + + + Release + x64 + + + + 17.0 + Win32Proj + {ca22c8b2-d31f-4803-9b34-3ab2c55a42dc} + 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/лаб12/Project6/Project6.vcxproj.filters b/лаб12/Project6/Project6.vcxproj.filters new file mode 100644 index 0000000..59afb29 --- /dev/null +++ b/лаб12/Project6/Project6.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/лаб12/Project7/7.cpp b/лаб12/Project7/7.cpp new file mode 100644 index 0000000..dabcf87 --- /dev/null +++ b/лаб12/Project7/7.cpp @@ -0,0 +1,19 @@ +#include +#include +#include + +void main() +{ + SetConsoleCP(1251); + SetConsoleOutputCP(1251); + + float t, s, a; + printf(" :"); + scanf_s("%f", &s); + + printf(" :"); + scanf_s("%f", &t); + + a = (2 * s) / (t * t); + printf(" %f %f , %f /^2 ", s, t, a); +} \ No newline at end of file diff --git a/лаб12/Project7/Project7.vcxproj b/лаб12/Project7/Project7.vcxproj new file mode 100644 index 0000000..95e91c4 --- /dev/null +++ b/лаб12/Project7/Project7.vcxproj @@ -0,0 +1,135 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + Debug + x64 + + + Release + x64 + + + + 17.0 + Win32Proj + {7306a36a-c43d-4ec4-bb04-63448d298d3a} + Project7 + 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/лаб12/Project7/Project7.vcxproj.filters b/лаб12/Project7/Project7.vcxproj.filters new file mode 100644 index 0000000..add05c2 --- /dev/null +++ b/лаб12/Project7/Project7.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/лаб12/Project8/8.cpp b/лаб12/Project8/8.cpp new file mode 100644 index 0000000..b261ee9 --- /dev/null +++ b/лаб12/Project8/8.cpp @@ -0,0 +1,19 @@ +#include +#include + +void main() +{ + SetConsoleCP(1251); + SetConsoleOutputCP(1251); + + float c, z, p, i; + + printf(" :"); + scanf_s("%f", &c); + printf(" :"); + scanf_s("%f", &z); + printf(" :"); + scanf_s("%f", &p); + i = (p - z) * c; + printf(" %f %f %f , : %f ", c, z, p, i); +} \ No newline at end of file diff --git a/лаб12/Project8/Project8.vcxproj b/лаб12/Project8/Project8.vcxproj new file mode 100644 index 0000000..2441447 --- /dev/null +++ b/лаб12/Project8/Project8.vcxproj @@ -0,0 +1,135 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + Debug + x64 + + + Release + x64 + + + + 17.0 + Win32Proj + {a817d965-2397-426d-9acd-13efbb67b69e} + Project8 + 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/лаб12/Project8/Project8.vcxproj.filters b/лаб12/Project8/Project8.vcxproj.filters new file mode 100644 index 0000000..193afa3 --- /dev/null +++ b/лаб12/Project8/Project8.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/лаб12/решение.sln b/лаб12/решение.sln new file mode 100644 index 0000000..34b50ef --- /dev/null +++ b/лаб12/решение.sln @@ -0,0 +1,110 @@ + +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}") = "Project3", "Project3\Project3.vcxproj", "{EC70FA2F-5B52-4786-80D4-690413525E94}" + ProjectSection(ProjectDependencies) = postProject + {00734F93-FC89-4DD5-942A-96048A86E93F} = {00734F93-FC89-4DD5-942A-96048A86E93F} + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Project44", "Project44\Project44.vcxproj", "{8655911C-1E9A-4587-9419-3249267FB8FA}" + ProjectSection(ProjectDependencies) = postProject + {EC70FA2F-5B52-4786-80D4-690413525E94} = {EC70FA2F-5B52-4786-80D4-690413525E94} + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Project5", "Project5\Project5.vcxproj", "{D73664D5-3676-4038-B336-B553869343DB}" + ProjectSection(ProjectDependencies) = postProject + {8655911C-1E9A-4587-9419-3249267FB8FA} = {8655911C-1E9A-4587-9419-3249267FB8FA} + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Project1", "Project1\Project1\Project1.vcxproj", "{5F0E74FA-E8AE-4076-B6E6-F39C27506570}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Project2", "Project2\Project2\Project2.vcxproj", "{00734F93-FC89-4DD5-942A-96048A86E93F}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Project6", "Project6\Project6.vcxproj", "{CA22C8B2-D31F-4803-9B34-3AB2C55A42DC}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Project7", "Project7\Project7.vcxproj", "{7306A36A-C43D-4EC4-BB04-63448D298D3A}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Project8", "Project8\Project8.vcxproj", "{A817D965-2397-426D-9ACD-13EFBB67B69E}" +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 + {EC70FA2F-5B52-4786-80D4-690413525E94}.Debug|x64.ActiveCfg = Debug|x64 + {EC70FA2F-5B52-4786-80D4-690413525E94}.Debug|x64.Build.0 = Debug|x64 + {EC70FA2F-5B52-4786-80D4-690413525E94}.Debug|x86.ActiveCfg = Debug|Win32 + {EC70FA2F-5B52-4786-80D4-690413525E94}.Debug|x86.Build.0 = Debug|Win32 + {EC70FA2F-5B52-4786-80D4-690413525E94}.Release|x64.ActiveCfg = Release|x64 + {EC70FA2F-5B52-4786-80D4-690413525E94}.Release|x64.Build.0 = Release|x64 + {EC70FA2F-5B52-4786-80D4-690413525E94}.Release|x86.ActiveCfg = Release|Win32 + {EC70FA2F-5B52-4786-80D4-690413525E94}.Release|x86.Build.0 = Release|Win32 + {8655911C-1E9A-4587-9419-3249267FB8FA}.Debug|x64.ActiveCfg = Debug|x64 + {8655911C-1E9A-4587-9419-3249267FB8FA}.Debug|x64.Build.0 = Debug|x64 + {8655911C-1E9A-4587-9419-3249267FB8FA}.Debug|x86.ActiveCfg = Debug|Win32 + {8655911C-1E9A-4587-9419-3249267FB8FA}.Debug|x86.Build.0 = Debug|Win32 + {8655911C-1E9A-4587-9419-3249267FB8FA}.Release|x64.ActiveCfg = Release|x64 + {8655911C-1E9A-4587-9419-3249267FB8FA}.Release|x64.Build.0 = Release|x64 + {8655911C-1E9A-4587-9419-3249267FB8FA}.Release|x86.ActiveCfg = Release|Win32 + {8655911C-1E9A-4587-9419-3249267FB8FA}.Release|x86.Build.0 = Release|Win32 + {D73664D5-3676-4038-B336-B553869343DB}.Debug|x64.ActiveCfg = Debug|x64 + {D73664D5-3676-4038-B336-B553869343DB}.Debug|x64.Build.0 = Debug|x64 + {D73664D5-3676-4038-B336-B553869343DB}.Debug|x86.ActiveCfg = Debug|Win32 + {D73664D5-3676-4038-B336-B553869343DB}.Debug|x86.Build.0 = Debug|Win32 + {D73664D5-3676-4038-B336-B553869343DB}.Release|x64.ActiveCfg = Release|x64 + {D73664D5-3676-4038-B336-B553869343DB}.Release|x64.Build.0 = Release|x64 + {D73664D5-3676-4038-B336-B553869343DB}.Release|x86.ActiveCfg = Release|Win32 + {D73664D5-3676-4038-B336-B553869343DB}.Release|x86.Build.0 = Release|Win32 + {5F0E74FA-E8AE-4076-B6E6-F39C27506570}.Debug|x64.ActiveCfg = Debug|x64 + {5F0E74FA-E8AE-4076-B6E6-F39C27506570}.Debug|x64.Build.0 = Debug|x64 + {5F0E74FA-E8AE-4076-B6E6-F39C27506570}.Debug|x86.ActiveCfg = Debug|Win32 + {5F0E74FA-E8AE-4076-B6E6-F39C27506570}.Debug|x86.Build.0 = Debug|Win32 + {5F0E74FA-E8AE-4076-B6E6-F39C27506570}.Release|x64.ActiveCfg = Release|x64 + {5F0E74FA-E8AE-4076-B6E6-F39C27506570}.Release|x64.Build.0 = Release|x64 + {5F0E74FA-E8AE-4076-B6E6-F39C27506570}.Release|x86.ActiveCfg = Release|Win32 + {5F0E74FA-E8AE-4076-B6E6-F39C27506570}.Release|x86.Build.0 = Release|Win32 + {00734F93-FC89-4DD5-942A-96048A86E93F}.Debug|x64.ActiveCfg = Debug|x64 + {00734F93-FC89-4DD5-942A-96048A86E93F}.Debug|x64.Build.0 = Debug|x64 + {00734F93-FC89-4DD5-942A-96048A86E93F}.Debug|x86.ActiveCfg = Debug|Win32 + {00734F93-FC89-4DD5-942A-96048A86E93F}.Debug|x86.Build.0 = Debug|Win32 + {00734F93-FC89-4DD5-942A-96048A86E93F}.Release|x64.ActiveCfg = Release|x64 + {00734F93-FC89-4DD5-942A-96048A86E93F}.Release|x64.Build.0 = Release|x64 + {00734F93-FC89-4DD5-942A-96048A86E93F}.Release|x86.ActiveCfg = Release|Win32 + {00734F93-FC89-4DD5-942A-96048A86E93F}.Release|x86.Build.0 = Release|Win32 + {CA22C8B2-D31F-4803-9B34-3AB2C55A42DC}.Debug|x64.ActiveCfg = Debug|x64 + {CA22C8B2-D31F-4803-9B34-3AB2C55A42DC}.Debug|x64.Build.0 = Debug|x64 + {CA22C8B2-D31F-4803-9B34-3AB2C55A42DC}.Debug|x86.ActiveCfg = Debug|Win32 + {CA22C8B2-D31F-4803-9B34-3AB2C55A42DC}.Debug|x86.Build.0 = Debug|Win32 + {CA22C8B2-D31F-4803-9B34-3AB2C55A42DC}.Release|x64.ActiveCfg = Release|x64 + {CA22C8B2-D31F-4803-9B34-3AB2C55A42DC}.Release|x64.Build.0 = Release|x64 + {CA22C8B2-D31F-4803-9B34-3AB2C55A42DC}.Release|x86.ActiveCfg = Release|Win32 + {CA22C8B2-D31F-4803-9B34-3AB2C55A42DC}.Release|x86.Build.0 = Release|Win32 + {7306A36A-C43D-4EC4-BB04-63448D298D3A}.Debug|x64.ActiveCfg = Debug|x64 + {7306A36A-C43D-4EC4-BB04-63448D298D3A}.Debug|x64.Build.0 = Debug|x64 + {7306A36A-C43D-4EC4-BB04-63448D298D3A}.Debug|x86.ActiveCfg = Debug|Win32 + {7306A36A-C43D-4EC4-BB04-63448D298D3A}.Debug|x86.Build.0 = Debug|Win32 + {7306A36A-C43D-4EC4-BB04-63448D298D3A}.Release|x64.ActiveCfg = Release|x64 + {7306A36A-C43D-4EC4-BB04-63448D298D3A}.Release|x64.Build.0 = Release|x64 + {7306A36A-C43D-4EC4-BB04-63448D298D3A}.Release|x86.ActiveCfg = Release|Win32 + {7306A36A-C43D-4EC4-BB04-63448D298D3A}.Release|x86.Build.0 = Release|Win32 + {A817D965-2397-426D-9ACD-13EFBB67B69E}.Debug|x64.ActiveCfg = Debug|x64 + {A817D965-2397-426D-9ACD-13EFBB67B69E}.Debug|x64.Build.0 = Debug|x64 + {A817D965-2397-426D-9ACD-13EFBB67B69E}.Debug|x86.ActiveCfg = Debug|Win32 + {A817D965-2397-426D-9ACD-13EFBB67B69E}.Debug|x86.Build.0 = Debug|Win32 + {A817D965-2397-426D-9ACD-13EFBB67B69E}.Release|x64.ActiveCfg = Release|x64 + {A817D965-2397-426D-9ACD-13EFBB67B69E}.Release|x64.Build.0 = Release|x64 + {A817D965-2397-426D-9ACD-13EFBB67B69E}.Release|x86.ActiveCfg = Release|Win32 + {A817D965-2397-426D-9ACD-13EFBB67B69E}.Release|x86.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {3464895F-2C39-4752-A8A2-40451787C384} + EndGlobalSection +EndGlobal