diff --git a/ConsoleApplication2.sln b/ConsoleApplication2.sln new file mode 100644 index 0000000..28183db --- /dev/null +++ b/ConsoleApplication2.sln @@ -0,0 +1,31 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.14.36623.8 d17.14 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ConsoleApplication2", "ConsoleApplication2\ConsoleApplication2.vcxproj", "{65A3B712-1C8F-4A0B-9D9B-20AFDE3EDC6C}" +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 + {65A3B712-1C8F-4A0B-9D9B-20AFDE3EDC6C}.Debug|x64.ActiveCfg = Debug|x64 + {65A3B712-1C8F-4A0B-9D9B-20AFDE3EDC6C}.Debug|x64.Build.0 = Debug|x64 + {65A3B712-1C8F-4A0B-9D9B-20AFDE3EDC6C}.Debug|x86.ActiveCfg = Debug|Win32 + {65A3B712-1C8F-4A0B-9D9B-20AFDE3EDC6C}.Debug|x86.Build.0 = Debug|Win32 + {65A3B712-1C8F-4A0B-9D9B-20AFDE3EDC6C}.Release|x64.ActiveCfg = Release|x64 + {65A3B712-1C8F-4A0B-9D9B-20AFDE3EDC6C}.Release|x64.Build.0 = Release|x64 + {65A3B712-1C8F-4A0B-9D9B-20AFDE3EDC6C}.Release|x86.ActiveCfg = Release|Win32 + {65A3B712-1C8F-4A0B-9D9B-20AFDE3EDC6C}.Release|x86.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {9C14F794-14A1-4114-88FD-D29537B1A3C8} + EndGlobalSection +EndGlobal diff --git a/ConsoleApplication2/ConsoleApplication2.vcxproj b/ConsoleApplication2/ConsoleApplication2.vcxproj new file mode 100644 index 0000000..10898fb --- /dev/null +++ b/ConsoleApplication2/ConsoleApplication2.vcxproj @@ -0,0 +1,131 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + Debug + x64 + + + Release + x64 + + + + 17.0 + Win32Proj + {65a3b712-1c8f-4a0b-9d9b-20afde3edc6c} + ConsoleApplication2 + 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 + + + + + Level3 + true + _DEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + + + + + Level3 + true + true + true + NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + + + + + + + + + \ No newline at end of file diff --git a/ConsoleApplication2/ConsoleApplication2.vcxproj.filters b/ConsoleApplication2/ConsoleApplication2.vcxproj.filters new file mode 100644 index 0000000..f768a36 --- /dev/null +++ b/ConsoleApplication2/ConsoleApplication2.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/ConsoleApplication2/FileName.c b/ConsoleApplication2/FileName.c new file mode 100644 index 0000000..d040cfa --- /dev/null +++ b/ConsoleApplication2/FileName.c @@ -0,0 +1,18 @@ +#include +#include +int main() +{ + + int x; + int y; + + // x + printf("ADD x: "); + scanf_s("%d", &x); + + // y = 5x + 20 + y = 5 * x + 20; + + // + printf(" x = %d, y = %d\n", x, y); +} \ No newline at end of file