From 1fcb54961b26fa786151bdde45d79d709469dc5a Mon Sep 17 00:00:00 2001 From: Luzhbin Date: Thu, 7 Sep 2017 18:33:46 +0300 Subject: [PATCH 1/5] hello world; --- Students/Luzhbin.DO/prac1.cpp | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Students/Luzhbin.DO/prac1.cpp diff --git a/Students/Luzhbin.DO/prac1.cpp b/Students/Luzhbin.DO/prac1.cpp new file mode 100644 index 0000000..211b4fd --- /dev/null +++ b/Students/Luzhbin.DO/prac1.cpp @@ -0,0 +1,18 @@ +#include +using namespace std; + +int main() +{ + for (int i = 1; i < 101; i++) + { + long n = i; + if ((n%3 !=0 ) & (n%5 != 0)) { cout << (i) << endl; } + else if (n%3 !=0 ) { cout << "Fizz" << endl; } + else if (n%5 !=0 ) { cout << "Buzz" << endl; } + else { cout << "FizzBuzz" << endl; }; + + + } + return (0); + +} \ No newline at end of file From fe587cfb61761d0a61994e7ab9b591f21ef61aad Mon Sep 17 00:00:00 2001 From: Luzhbin Date: Thu, 7 Sep 2017 18:45:29 +0300 Subject: [PATCH 2/5] upd --- Students/Luzhbin.DO/Project1.vcxproj.filters | 22 ++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Students/Luzhbin.DO/Project1.vcxproj.filters diff --git a/Students/Luzhbin.DO/Project1.vcxproj.filters b/Students/Luzhbin.DO/Project1.vcxproj.filters new file mode 100644 index 0000000..fe5a8cd --- /dev/null +++ b/Students/Luzhbin.DO/Project1.vcxproj.filters @@ -0,0 +1,22 @@ + + + + + {4FC737F1-C7A5-4376-A066-2A32D752A2FF} + cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx + + + {93995380-89BD-4b04-88EB-625FBE52EBFB} + h;hh;hpp;hxx;hm;inl;inc;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 + + + + + Source Files + + + \ No newline at end of file From c1211fcdd1c83548a93653612fd22d9fd3a803f7 Mon Sep 17 00:00:00 2001 From: Luzhbin Date: Thu, 7 Sep 2017 18:48:57 +0300 Subject: [PATCH 3/5] upd2 --- Students/Luzhbin.DO/Project1.vcxproj | 133 +++++++++++++++++++ Students/Luzhbin.DO/Project1.vcxproj.filters | 22 --- 2 files changed, 133 insertions(+), 22 deletions(-) create mode 100644 Students/Luzhbin.DO/Project1.vcxproj delete mode 100644 Students/Luzhbin.DO/Project1.vcxproj.filters diff --git a/Students/Luzhbin.DO/Project1.vcxproj b/Students/Luzhbin.DO/Project1.vcxproj new file mode 100644 index 0000000..ac74588 --- /dev/null +++ b/Students/Luzhbin.DO/Project1.vcxproj @@ -0,0 +1,133 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + Debug + x64 + + + Release + x64 + + + + {1FD79CB7-3061-4FF2-984B-ABB8C8105E47} + Project1 + 8.1 + + + + Application + true + v140 + MultiByte + + + Application + false + v140 + true + MultiByte + + + Application + true + v140 + MultiByte + + + Application + false + v140 + true + MultiByte + + + + + + + + + + + + + + + + + + + + + c:\temp\.vswork\$(ProjectName)\$(Configuration)\ + c:\temp\.vswork\$(ProjectName)\$(Configuration)\ + + + c:\temp\.vswork\$(ProjectName)\$(Configuration)\ + c:\temp\.vswork\$(ProjectName)\$(Configuration)\ + + + c:\temp\.vswork\$(ProjectName)\$(Configuration)\ + c:\temp\.vswork\$(ProjectName)\$(Configuration)\ + + + c:\temp\.vswork\$(ProjectName)\$(Configuration)\ + c:\temp\.vswork\$(ProjectName)\$(Configuration)\ + + + + Disabled + true + + + true + + + + + Disabled + true + + + true + + + + + MaxSpeed + true + + + true + true + true + + + + + MaxSpeed + true + + + true + true + true + + + + + + + + + \ No newline at end of file diff --git a/Students/Luzhbin.DO/Project1.vcxproj.filters b/Students/Luzhbin.DO/Project1.vcxproj.filters deleted file mode 100644 index fe5a8cd..0000000 --- a/Students/Luzhbin.DO/Project1.vcxproj.filters +++ /dev/null @@ -1,22 +0,0 @@ - - - - - {4FC737F1-C7A5-4376-A066-2A32D752A2FF} - cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx - - - {93995380-89BD-4b04-88EB-625FBE52EBFB} - h;hh;hpp;hxx;hm;inl;inc;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 - - - - - Source Files - - - \ No newline at end of file From 30a2fa8606469344eced1d955ae977c5474c0c57 Mon Sep 17 00:00:00 2001 From: Luzhbin Date: Thu, 7 Sep 2017 18:51:59 +0300 Subject: [PATCH 4/5] upd3 --- Students/Luzhbin.DO/{ => prac1}/Project1.vcxproj | 0 Students/Luzhbin.DO/{ => prac1}/prac1.cpp | 0 2 files changed, 0 insertions(+), 0 deletions(-) rename Students/Luzhbin.DO/{ => prac1}/Project1.vcxproj (100%) rename Students/Luzhbin.DO/{ => prac1}/prac1.cpp (100%) diff --git a/Students/Luzhbin.DO/Project1.vcxproj b/Students/Luzhbin.DO/prac1/Project1.vcxproj similarity index 100% rename from Students/Luzhbin.DO/Project1.vcxproj rename to Students/Luzhbin.DO/prac1/Project1.vcxproj diff --git a/Students/Luzhbin.DO/prac1.cpp b/Students/Luzhbin.DO/prac1/prac1.cpp similarity index 100% rename from Students/Luzhbin.DO/prac1.cpp rename to Students/Luzhbin.DO/prac1/prac1.cpp From 5cea3fe6563b535f495e55aeffff0030df59fa4b Mon Sep 17 00:00:00 2001 From: greensmile95 Date: Sat, 9 Sep 2017 16:18:27 +0300 Subject: [PATCH 5/5] Tak? --- .gitignore | 1 + .../{Project1.vcxproj => Practice1.vcxproj} | 52 +++++++------------ Students/Luzhbin.DO/prac1/Source.cpp | 18 +++++++ Students/Luzhbin.DO/prac1/prac1.cpp | 18 ------- 4 files changed, 38 insertions(+), 51 deletions(-) rename Students/Luzhbin.DO/prac1/{Project1.vcxproj => Practice1.vcxproj} (73%) create mode 100644 Students/Luzhbin.DO/prac1/Source.cpp delete mode 100644 Students/Luzhbin.DO/prac1/prac1.cpp diff --git a/.gitignore b/.gitignore index 259148f..c9ee6d4 100644 --- a/.gitignore +++ b/.gitignore @@ -30,3 +30,4 @@ *.exe *.out *.app +Students/Luzhbin.DO/prac1/desktop.ini diff --git a/Students/Luzhbin.DO/prac1/Project1.vcxproj b/Students/Luzhbin.DO/prac1/Practice1.vcxproj similarity index 73% rename from Students/Luzhbin.DO/prac1/Project1.vcxproj rename to Students/Luzhbin.DO/prac1/Practice1.vcxproj index ac74588..7d627ac 100644 --- a/Students/Luzhbin.DO/prac1/Project1.vcxproj +++ b/Students/Luzhbin.DO/prac1/Practice1.vcxproj @@ -1,5 +1,5 @@  - + Debug @@ -19,34 +19,35 @@ - {1FD79CB7-3061-4FF2-984B-ABB8C8105E47} - Project1 - 8.1 + 15.0 + {ABB77552-304B-43F9-B27C-0F35689C5A99} + Practice1 + 10.0.15063.0 Application true - v140 + v141 MultiByte Application false - v140 + v141 true MultiByte Application true - v140 + v141 MultiByte Application false - v140 + v141 true MultiByte @@ -68,64 +69,49 @@ - - c:\temp\.vswork\$(ProjectName)\$(Configuration)\ - c:\temp\.vswork\$(ProjectName)\$(Configuration)\ - - - c:\temp\.vswork\$(ProjectName)\$(Configuration)\ - c:\temp\.vswork\$(ProjectName)\$(Configuration)\ - - - c:\temp\.vswork\$(ProjectName)\$(Configuration)\ - c:\temp\.vswork\$(ProjectName)\$(Configuration)\ - - - c:\temp\.vswork\$(ProjectName)\$(Configuration)\ - c:\temp\.vswork\$(ProjectName)\$(Configuration)\ - + + Level3 Disabled true - - true - + Level3 Disabled true - - true - + Level3 MaxSpeed + true + true true - true true true + Level3 MaxSpeed + true + true true - true true true - + diff --git a/Students/Luzhbin.DO/prac1/Source.cpp b/Students/Luzhbin.DO/prac1/Source.cpp new file mode 100644 index 0000000..153afdc --- /dev/null +++ b/Students/Luzhbin.DO/prac1/Source.cpp @@ -0,0 +1,18 @@ +#include +using namespace std; + +int main() +{ + for (int i = 1; i < 101; i++) + { + long n = i; + if ((n % 3 != 0) & (n % 5 != 0)) { cout << (i) << endl; } + else if (n % 3 != 0) { cout << "Fizz" << endl; } + else if (n % 5 != 0) { cout << "Buzz" << endl; } + else { cout << "FizzBuzz" << endl; }; + + + } + return (0); + +} \ No newline at end of file diff --git a/Students/Luzhbin.DO/prac1/prac1.cpp b/Students/Luzhbin.DO/prac1/prac1.cpp deleted file mode 100644 index 211b4fd..0000000 --- a/Students/Luzhbin.DO/prac1/prac1.cpp +++ /dev/null @@ -1,18 +0,0 @@ -#include -using namespace std; - -int main() -{ - for (int i = 1; i < 101; i++) - { - long n = i; - if ((n%3 !=0 ) & (n%5 != 0)) { cout << (i) << endl; } - else if (n%3 !=0 ) { cout << "Fizz" << endl; } - else if (n%5 !=0 ) { cout << "Buzz" << endl; } - else { cout << "FizzBuzz" << endl; }; - - - } - return (0); - -} \ No newline at end of file