From 65d16032685f05363772bbc7c54b4da22bdb3da0 Mon Sep 17 00:00:00 2001 From: irotov Date: Wed, 20 Nov 2024 09:35:02 +0400 Subject: [PATCH] first --- Lab1/Lab1.sln | 31 +++++++ Lab1/Lab1/1.cpp | 64 ++++++++++++++ Lab1/Lab1/Lab1.vcxproj | 147 +++++++++++++++++++++++++++++++++ Lab1/Lab1/Lab1.vcxproj.filters | 22 +++++ 4 files changed, 264 insertions(+) create mode 100644 Lab1/Lab1.sln create mode 100644 Lab1/Lab1/1.cpp create mode 100644 Lab1/Lab1/Lab1.vcxproj create mode 100644 Lab1/Lab1/Lab1.vcxproj.filters diff --git a/Lab1/Lab1.sln b/Lab1/Lab1.sln new file mode 100644 index 0000000..59a87b1 --- /dev/null +++ b/Lab1/Lab1.sln @@ -0,0 +1,31 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.31515.178 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Lab1", "Lab1\Lab1.vcxproj", "{8F6885A2-0064-477E-B21A-15DC2D6AABF4}" +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 + {8F6885A2-0064-477E-B21A-15DC2D6AABF4}.Debug|x64.ActiveCfg = Debug|x64 + {8F6885A2-0064-477E-B21A-15DC2D6AABF4}.Debug|x64.Build.0 = Debug|x64 + {8F6885A2-0064-477E-B21A-15DC2D6AABF4}.Debug|x86.ActiveCfg = Debug|Win32 + {8F6885A2-0064-477E-B21A-15DC2D6AABF4}.Debug|x86.Build.0 = Debug|Win32 + {8F6885A2-0064-477E-B21A-15DC2D6AABF4}.Release|x64.ActiveCfg = Release|x64 + {8F6885A2-0064-477E-B21A-15DC2D6AABF4}.Release|x64.Build.0 = Release|x64 + {8F6885A2-0064-477E-B21A-15DC2D6AABF4}.Release|x86.ActiveCfg = Release|Win32 + {8F6885A2-0064-477E-B21A-15DC2D6AABF4}.Release|x86.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {7306E03B-D6DF-4F01-8292-B8627958A0EC} + EndGlobalSection +EndGlobal diff --git a/Lab1/Lab1/1.cpp b/Lab1/Lab1/1.cpp new file mode 100644 index 0000000..575e15a --- /dev/null +++ b/Lab1/Lab1/1.cpp @@ -0,0 +1,64 @@ +#include +#include + +void main() { + printf("Hello World!"); +} + + + + +void main2() { + + SetConsoleCP(1251); + SetConsoleOutputCP(1251); + + printf(" 1\n"); + printf(": \n"); + printf(": 05.09.24\n"); + printf(": -12-2024\n"); + printf("\n"); + printf("\n"); + printf("\n"); + printf("\n"); +} + +void main3(){ + + SetConsoleCP(1251); + SetConsoleOutputCP(1251); + + printf("\n"); + printf("\n"); + printf("\n"); + printf("\n"); + printf(": -12-2024\n"); + printf(": 05.09.24\n"); + printf(": \n"); + printf(" 1\n"); + printf("\n"); + printf("\n"); + printf(" 1\n"); + printf(": \n"); + printf(": 05.09.24\n"); + printf(": -12-2024\n"); + printf("\n"); + printf("\n"); + printf("\n"); + printf("\n"); +} + +void main4(){ + + SetConsoleCP(1251); + SetConsoleOutputCP(1251); + + 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/Lab1/Lab1/Lab1.vcxproj b/Lab1/Lab1/Lab1.vcxproj new file mode 100644 index 0000000..96c4486 --- /dev/null +++ b/Lab1/Lab1/Lab1.vcxproj @@ -0,0 +1,147 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + Debug + x64 + + + Release + x64 + + + + 16.0 + Win32Proj + {8f6885a2-0064-477e-b21a-15dc2d6aabf4} + Lab1 + 10.0 + + + + Application + true + v143 + Unicode + + + Application + false + v143 + true + Unicode + + + Application + true + v143 + Unicode + + + Application + false + v143 + true + Unicode + + + + + + + + + + + + + + + + + + + + + true + + + false + + + true + + + false + + + + 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/Lab1/Lab1/Lab1.vcxproj.filters b/Lab1/Lab1/Lab1.vcxproj.filters new file mode 100644 index 0000000..5666370 --- /dev/null +++ b/Lab1/Lab1/Lab1.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