From 5affbbac47a8e1cfd6cc8dfbf34b270e5162eed2 Mon Sep 17 00:00:00 2001 From: RavilGismatullin Date: Wed, 6 Nov 2024 09:37:46 +0400 Subject: [PATCH 1/3] first commit --- Lab1/Lab1/Lab1.sln | 31 ++++++ Lab1/Lab1/Lab1/1.cpp | 24 +++++ Lab1/Lab1/Lab1/Lab1.vcxproj | 147 ++++++++++++++++++++++++++++ Lab1/Lab1/Lab1/Lab1.vcxproj.filters | 22 +++++ 4 files changed, 224 insertions(+) create mode 100644 Lab1/Lab1/Lab1.sln create mode 100644 Lab1/Lab1/Lab1/1.cpp create mode 100644 Lab1/Lab1/Lab1/Lab1.vcxproj create mode 100644 Lab1/Lab1/Lab1/Lab1.vcxproj.filters diff --git a/Lab1/Lab1/Lab1.sln b/Lab1/Lab1/Lab1.sln new file mode 100644 index 0000000..59a87b1 --- /dev/null +++ b/Lab1/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/Lab1/1.cpp b/Lab1/Lab1/Lab1/1.cpp new file mode 100644 index 0000000..1412524 --- /dev/null +++ b/Lab1/Lab1/Lab1/1.cpp @@ -0,0 +1,24 @@ +#include +#include + +void main() { + printf("Hello World!"); +} + + + + +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/Lab1.vcxproj b/Lab1/Lab1/Lab1/Lab1.vcxproj new file mode 100644 index 0000000..c570310 --- /dev/null +++ b/Lab1/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 + v142 + Unicode + + + Application + false + v142 + true + Unicode + + + Application + true + v142 + Unicode + + + Application + false + v142 + 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/Lab1.vcxproj.filters b/Lab1/Lab1/Lab1/Lab1.vcxproj.filters new file mode 100644 index 0000000..5666370 --- /dev/null +++ b/Lab1/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 From df7e8fa19564b9d5d06ece12ea2a25c41e57ac1e Mon Sep 17 00:00:00 2001 From: RavilGismatullin Date: Wed, 6 Nov 2024 09:40:49 +0400 Subject: [PATCH 2/3] second commit --- Lab1/Lab1/Lab1/1.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Lab1/Lab1/Lab1/1.cpp b/Lab1/Lab1/Lab1/1.cpp index 1412524..893d762 100644 --- a/Lab1/Lab1/Lab1/1.cpp +++ b/Lab1/Lab1/Lab1/1.cpp @@ -17,8 +17,3 @@ void main4(){ printf(" *** \n"); printf(" ***** \n"); printf(" ******* \n"); - printf(" ********* \n"); - printf(" *********** \n"); - printf(" | | \n"); - printf(" | | \n"); -} \ No newline at end of file From 804a70de4254a459e41a777a2477f6ed23176d48 Mon Sep 17 00:00:00 2001 From: RavilGismatullin Date: Wed, 6 Nov 2024 09:41:21 +0400 Subject: [PATCH 3/3] third commit --- Lab1/Lab1/Lab1/1.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/Lab1/Lab1/Lab1/1.cpp b/Lab1/Lab1/Lab1/1.cpp index 893d762..de01bdf 100644 --- a/Lab1/Lab1/Lab1/1.cpp +++ b/Lab1/Lab1/Lab1/1.cpp @@ -1,9 +1,6 @@ #include #include -void main() { - printf("Hello World!"); -}