├── Practical work 5 ├── 32.txt ├── 31.txt ├── Second Practical work │ ├── 31.txt │ ├── 32.txt │ ├── 51.txt │ ├── x64 │ │ └── Debug │ │ │ ├── 5.vcxproj.FileListAbsolute.txt │ │ │ ├── 5.tlog │ │ │ ├── Cl.items.tlog │ │ │ ├── CL.read.1.tlog │ │ │ ├── CL.command.1.tlog │ │ │ ├── CL.write.1.tlog │ │ │ ├── link.read.1.tlog │ │ │ ├── link.write.1.tlog │ │ │ ├── link.command.1.tlog │ │ │ └── 5.lastbuildstate │ │ │ ├── 5.exe │ │ │ ├── 5.ilk │ │ │ ├── 5.obj │ │ │ ├── 5.pdb │ │ │ ├── vc143.idb │ │ │ ├── vc143.pdb │ │ │ ├── 5.log │ │ │ └── 5.exe.recipe │ ├── 5.vcxproj.user │ ├── 5.vcxproj.filters │ ├── 5.sln │ ├── 5.vcxproj │ └── 5.cpp ├── 51.txt ├── 52.txt ├── x64 │ └── Debug │ │ ├── 09102023.vcxproj.FileListAbsolute.txt │ │ ├── vc143.idb │ │ ├── vc143.pdb │ │ ├── 09102023.exe │ │ ├── 09102023.ilk │ │ ├── 09102023.obj │ │ ├── 09102023.pdb │ │ ├── 09102023.tlog │ │ ├── CL.read.1.tlog │ │ ├── CL.command.1.tlog │ │ ├── CL.write.1.tlog │ │ ├── Cl.items.tlog │ │ ├── link.read.1.tlog │ │ ├── link.write.1.tlog │ │ ├── link.command.1.tlog │ │ └── 09102023.lastbuildstate │ │ ├── 09102023.exe.recipe │ │ └── 09102023.log ├── 09102023.vcxproj.user ├── 09102023.vcxproj.filters ├── 09102023.sln ├── 09102023.vcxproj └── 09102023.cpp ├── Practical work 3 ├── Number_3.txt ├── Number_4.txt ├── x64 │ └── Debug │ │ ├── vc143.idb │ │ ├── vc143.pdb │ │ ├── 18092023.exe │ │ ├── 18092023.ilk │ │ ├── 18092023.obj │ │ ├── 18092023.pdb │ │ ├── 18092023.tlog │ │ ├── CL.read.1.tlog │ │ ├── CL.command.1.tlog │ │ ├── CL.write.1.tlog │ │ ├── link.read.1.tlog │ │ ├── link.write.1.tlog │ │ ├── link.command.1.tlog │ │ ├── Cl.items.tlog │ │ └── 18092023.lastbuildstate │ │ ├── 18092023.vcxproj.FileListAbsolute.txt │ │ ├── 18092023.exe.recipe │ │ └── 18092023.log ├── 18092023.vcxproj.user ├── 18092023.vcxproj.filters ├── 18092023.sln ├── 18092023.cpp └── 18092023.vcxproj ├── Practical work 4 ├── 1.txt ├── x64 │ └── Debug │ │ ├── 02102023.vcxproj.FileListAbsolute.txt │ │ ├── vc143.idb │ │ ├── vc143.pdb │ │ ├── 02102023.exe │ │ ├── 02102023.ilk │ │ ├── 02102023.obj │ │ ├── 02102023.pdb │ │ ├── 02102023.tlog │ │ ├── CL.read.1.tlog │ │ ├── CL.command.1.tlog │ │ ├── CL.write.1.tlog │ │ ├── Cl.items.tlog │ │ ├── link.read.1.tlog │ │ ├── link.write.1.tlog │ │ ├── link.command.1.tlog │ │ └── 02102023.lastbuildstate │ │ ├── 02102023.exe.recipe │ │ └── 02102023.log ├── 02102023.vcxproj.user ├── 02102023.vcxproj.filters ├── 02102023.sln ├── 02102023.vcxproj └── 02102023.cpp ├── Practical work 1 ├── x64 │ └── Debug │ │ ├── vc143.idb │ │ ├── vc143.pdb │ │ ├── 04092023.exe │ │ ├── 04092023.ilk │ │ ├── 04092023.obj │ │ ├── 04092023.pdb │ │ ├── 04092023.tlog │ │ ├── CL.read.1.tlog │ │ ├── CL.command.1.tlog │ │ ├── CL.write.1.tlog │ │ ├── Cl.items.tlog │ │ ├── link.read.1.tlog │ │ ├── link.write.1.tlog │ │ ├── link.command.1.tlog │ │ └── 04092023.lastbuildstate │ │ ├── 04092023.vcxproj.FileListAbsolute.txt │ │ ├── 04092023.exe.recipe │ │ └── 04092023.log ├── 04092023.vcxproj.user ├── 04092023.vcxproj.filters ├── 04092023.sln ├── 04092023.cpp └── 04092023.vcxproj ├── Practical work 2 ├── x64 │ └── Debug │ │ ├── vc143.idb │ │ ├── vc143.pdb │ │ ├── 11092023.exe │ │ ├── 11092023.ilk │ │ ├── 11092023.obj │ │ ├── 11092023.pdb │ │ ├── 11092023.log │ │ ├── 11092023.tlog │ │ ├── CL.read.1.tlog │ │ ├── CL.command.1.tlog │ │ ├── CL.write.1.tlog │ │ ├── Cl.items.tlog │ │ ├── link.read.1.tlog │ │ ├── link.write.1.tlog │ │ ├── link.command.1.tlog │ │ └── 11092023.lastbuildstate │ │ ├── 11092023.vcxproj.FileListAbsolute.txt │ │ └── 11092023.exe.recipe ├── 11092023.vcxproj.user ├── 11092023.vcxproj.filters ├── 11092023.sln ├── 11092023.cpp └── 11092023.vcxproj ├── Practical work Balls ├── x64 │ └── Debug │ │ ├── vc143.idb │ │ ├── vc143.pdb │ │ ├── Practical work Balls.exe │ │ ├── Practical work Balls.ilk │ │ ├── Practical work Balls.obj │ │ ├── Practical work Balls.pdb │ │ ├── Practical work Balls.vcxproj.FileListAbsolute.txt │ │ ├── Practica.3e1bb9e8.tlog │ │ ├── CL.read.1.tlog │ │ ├── CL.write.1.tlog │ │ ├── link.read.1.tlog │ │ ├── CL.command.1.tlog │ │ ├── link.command.1.tlog │ │ ├── link.write.1.tlog │ │ ├── Cl.items.tlog │ │ └── Practical work Balls.lastbuildstate │ │ ├── Practical work Balls.log │ │ └── Practical work Balls.exe.recipe ├── Practical work Balls.vcxproj.user ├── Practical work Balls.vcxproj.filters ├── Practical work Balls.sln ├── Practical work Balls.cpp ├── Practical work Balls v2.cpp └── Practical work Balls.vcxproj ├── Practical work Game C++ ├── x64 │ └── Debug │ │ ├── vc143.idb │ │ ├── vc143.pdb │ │ ├── Practical work Game C++.exe │ │ ├── Practical work Game C++.ilk │ │ ├── Practical work Game C++.obj │ │ ├── Practical work Game C++.pdb │ │ ├── Practical work Game C++.vcxproj.FileListAbsolute.txt │ │ ├── Practica.619d8976.tlog │ │ ├── CL.read.1.tlog │ │ ├── CL.write.1.tlog │ │ ├── link.read.1.tlog │ │ ├── CL.command.1.tlog │ │ ├── link.write.1.tlog │ │ ├── link.command.1.tlog │ │ ├── Cl.items.tlog │ │ └── Practical work Game C++.lastbuildstate │ │ ├── Practical work Game C++.log │ │ └── Practical work Game C++.exe.recipe ├── Practical work Game C++.vcxproj.user ├── Practical work Game C++.vcxproj.filters ├── Practical work Game C++.sln ├── Practical work Game C++.cpp └── Practical work Game C++.vcxproj ├── Practical work Spinner ├── x64 │ └── Debug │ │ ├── vc143.idb │ │ ├── vc143.pdb │ │ ├── Practical work Spinner.exe │ │ ├── Practical work Spinner.ilk │ │ ├── Practical work Spinner.obj │ │ ├── Practical work Spinner.pdb │ │ ├── Practical work Spinner.vcxproj.FileListAbsolute.txt │ │ ├── Practica.681a47d5.tlog │ │ ├── CL.read.1.tlog │ │ ├── CL.command.1.tlog │ │ ├── CL.write.1.tlog │ │ ├── link.read.1.tlog │ │ ├── link.write.1.tlog │ │ ├── link.command.1.tlog │ │ ├── Cl.items.tlog │ │ └── Practical work Spinner.lastbuildstate │ │ ├── Practical work Spinner.log │ │ └── Practical work Spinner.exe.recipe ├── Practical work Spinner.vcxproj.user ├── Practical work Spinner.vcxproj.filters ├── Practical work Spinner.sln ├── Practical work Spinner.cpp └── Practical work Spinner.vcxproj └── Practical work Algorithm ├── x64 └── Debug │ ├── vc143.idb │ ├── vc143.pdb │ ├── Practical work Algorithm.exe │ ├── Practical work Algorithm.ilk │ ├── Practical work Algorithm.obj │ ├── Practical work Algorithm.pdb │ ├── Practical work Algorithm.vcxproj.FileListAbsolute.txt │ ├── Practica.211c8bc5.tlog │ ├── CL.read.1.tlog │ ├── CL.write.1.tlog │ ├── CL.command.1.tlog │ ├── link.read.1.tlog │ ├── link.write.1.tlog │ ├── link.command.1.tlog │ ├── Cl.items.tlog │ └── Practical work Algorithm.lastbuildstate │ ├── Practical work Algorithm.log │ └── Practical work Algorithm.exe.recipe ├── Practical work Algorithm.vcxproj.user ├── Practical work Algorithm.vcxproj.filters ├── Practical work Algorithm.cpp ├── Practical work Algorithm.sln └── Practical work Algorithm.vcxproj /Practical work 5/32.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Practical work 5/31.txt: -------------------------------------------------------------------------------- 1 | aaaiii -------------------------------------------------------------------------------- /Practical work 3/Number_3.txt: -------------------------------------------------------------------------------- 1 | sbsjh cskcbsjhcbsdjhcs -------------------------------------------------------------------------------- /Practical work 5/Second Practical work/31.txt: -------------------------------------------------------------------------------- 1 | My name is Ksenia -------------------------------------------------------------------------------- /Practical work 3/Number_4.txt: -------------------------------------------------------------------------------- 1 | FDFNJKDFJNDFJKDF1263716736713DBSHB2323 -------------------------------------------------------------------------------- /Practical work 5/51.txt: -------------------------------------------------------------------------------- 1 | kit 10 11 12 33 196 2 | rus 11 12 13 36 214 3 | -------------------------------------------------------------------------------- /Practical work 5/Second Practical work/32.txt: -------------------------------------------------------------------------------- 1 | apple nectarine Apple 2 | avocado orange 3 | banana tomate -------------------------------------------------------------------------------- /Practical work 5/Second Practical work/51.txt: -------------------------------------------------------------------------------- 1 | Jap 1 2 3 6 34 2 | Rus 4 5 6 15 88 3 | USA 7 8 9 24 142 4 | -------------------------------------------------------------------------------- /Practical work 5/52.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work 5/52.txt -------------------------------------------------------------------------------- /Practical work 4/1.txt: -------------------------------------------------------------------------------- 1 | 0 2 | 0.1 3 | 0.2 4 | 0.3 5 | 0.4 6 | 0.5 7 | 0.6 8 | 0.7 9 | 0.8 10 | 0.9 11 | -------------------------------------------------------------------------------- /Practical work 4/x64/Debug/02102023.vcxproj.FileListAbsolute.txt: -------------------------------------------------------------------------------- 1 | C:\Users\KEV\Desktop\MIREA_Jobs-main\02102023\x64\Debug\02102023.exe 2 | -------------------------------------------------------------------------------- /Practical work 5/Second Practical work/x64/Debug/5.vcxproj.FileListAbsolute.txt: -------------------------------------------------------------------------------- 1 | C:\Users\KEV\Desktop\Work_Ksenia\5\x64\Debug\5.exe 2 | -------------------------------------------------------------------------------- /Practical work 5/x64/Debug/09102023.vcxproj.FileListAbsolute.txt: -------------------------------------------------------------------------------- 1 | C:\Users\KEV\Desktop\MIREA_Jobs-main\09102023\x64\Debug\09102023.exe 2 | -------------------------------------------------------------------------------- /Practical work 1/x64/Debug/vc143.idb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work 1/x64/Debug/vc143.idb -------------------------------------------------------------------------------- /Practical work 1/x64/Debug/vc143.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work 1/x64/Debug/vc143.pdb -------------------------------------------------------------------------------- /Practical work 2/x64/Debug/vc143.idb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work 2/x64/Debug/vc143.idb -------------------------------------------------------------------------------- /Practical work 2/x64/Debug/vc143.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work 2/x64/Debug/vc143.pdb -------------------------------------------------------------------------------- /Practical work 3/x64/Debug/vc143.idb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work 3/x64/Debug/vc143.idb -------------------------------------------------------------------------------- /Practical work 3/x64/Debug/vc143.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work 3/x64/Debug/vc143.pdb -------------------------------------------------------------------------------- /Practical work 4/x64/Debug/vc143.idb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work 4/x64/Debug/vc143.idb -------------------------------------------------------------------------------- /Practical work 4/x64/Debug/vc143.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work 4/x64/Debug/vc143.pdb -------------------------------------------------------------------------------- /Practical work 5/x64/Debug/vc143.idb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work 5/x64/Debug/vc143.idb -------------------------------------------------------------------------------- /Practical work 5/x64/Debug/vc143.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work 5/x64/Debug/vc143.pdb -------------------------------------------------------------------------------- /Practical work 1/x64/Debug/04092023.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work 1/x64/Debug/04092023.exe -------------------------------------------------------------------------------- /Practical work 1/x64/Debug/04092023.ilk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work 1/x64/Debug/04092023.ilk -------------------------------------------------------------------------------- /Practical work 1/x64/Debug/04092023.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work 1/x64/Debug/04092023.obj -------------------------------------------------------------------------------- /Practical work 1/x64/Debug/04092023.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work 1/x64/Debug/04092023.pdb -------------------------------------------------------------------------------- /Practical work 2/x64/Debug/11092023.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work 2/x64/Debug/11092023.exe -------------------------------------------------------------------------------- /Practical work 2/x64/Debug/11092023.ilk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work 2/x64/Debug/11092023.ilk -------------------------------------------------------------------------------- /Practical work 2/x64/Debug/11092023.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work 2/x64/Debug/11092023.obj -------------------------------------------------------------------------------- /Practical work 2/x64/Debug/11092023.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work 2/x64/Debug/11092023.pdb -------------------------------------------------------------------------------- /Practical work 3/x64/Debug/18092023.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work 3/x64/Debug/18092023.exe -------------------------------------------------------------------------------- /Practical work 3/x64/Debug/18092023.ilk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work 3/x64/Debug/18092023.ilk -------------------------------------------------------------------------------- /Practical work 3/x64/Debug/18092023.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work 3/x64/Debug/18092023.obj -------------------------------------------------------------------------------- /Practical work 3/x64/Debug/18092023.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work 3/x64/Debug/18092023.pdb -------------------------------------------------------------------------------- /Practical work 4/x64/Debug/02102023.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work 4/x64/Debug/02102023.exe -------------------------------------------------------------------------------- /Practical work 4/x64/Debug/02102023.ilk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work 4/x64/Debug/02102023.ilk -------------------------------------------------------------------------------- /Practical work 4/x64/Debug/02102023.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work 4/x64/Debug/02102023.obj -------------------------------------------------------------------------------- /Practical work 4/x64/Debug/02102023.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work 4/x64/Debug/02102023.pdb -------------------------------------------------------------------------------- /Practical work 5/x64/Debug/09102023.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work 5/x64/Debug/09102023.exe -------------------------------------------------------------------------------- /Practical work 5/x64/Debug/09102023.ilk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work 5/x64/Debug/09102023.ilk -------------------------------------------------------------------------------- /Practical work 5/x64/Debug/09102023.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work 5/x64/Debug/09102023.obj -------------------------------------------------------------------------------- /Practical work 5/x64/Debug/09102023.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work 5/x64/Debug/09102023.pdb -------------------------------------------------------------------------------- /Practical work Balls/x64/Debug/vc143.idb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work Balls/x64/Debug/vc143.idb -------------------------------------------------------------------------------- /Practical work Balls/x64/Debug/vc143.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work Balls/x64/Debug/vc143.pdb -------------------------------------------------------------------------------- /Practical work 2/x64/Debug/11092023.log: -------------------------------------------------------------------------------- 1 | 11092023.cpp 2 | 11092023.vcxproj -> C:\Users\KEV\Desktop\MIREA_Jobs-main\11092023\x64\Debug\11092023.exe 3 | -------------------------------------------------------------------------------- /Practical work Game C++/x64/Debug/vc143.idb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work Game C++/x64/Debug/vc143.idb -------------------------------------------------------------------------------- /Practical work Game C++/x64/Debug/vc143.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work Game C++/x64/Debug/vc143.pdb -------------------------------------------------------------------------------- /Practical work Spinner/x64/Debug/vc143.idb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work Spinner/x64/Debug/vc143.idb -------------------------------------------------------------------------------- /Practical work Spinner/x64/Debug/vc143.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work Spinner/x64/Debug/vc143.pdb -------------------------------------------------------------------------------- /Practical work Algorithm/x64/Debug/vc143.idb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work Algorithm/x64/Debug/vc143.idb -------------------------------------------------------------------------------- /Practical work Algorithm/x64/Debug/vc143.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work Algorithm/x64/Debug/vc143.pdb -------------------------------------------------------------------------------- /Practical work 5/Second Practical work/x64/Debug/5.tlog/Cl.items.tlog: -------------------------------------------------------------------------------- 1 | C:\Users\KEV\Desktop\Work_Ksenia\5\5.cpp;C:\Users\KEV\Desktop\Work_Ksenia\5\x64\Debug\5.obj 2 | -------------------------------------------------------------------------------- /Practical work 1/x64/Debug/04092023.tlog/CL.read.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work 1/x64/Debug/04092023.tlog/CL.read.1.tlog -------------------------------------------------------------------------------- /Practical work 2/x64/Debug/11092023.tlog/CL.read.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work 2/x64/Debug/11092023.tlog/CL.read.1.tlog -------------------------------------------------------------------------------- /Practical work 3/x64/Debug/18092023.tlog/CL.read.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work 3/x64/Debug/18092023.tlog/CL.read.1.tlog -------------------------------------------------------------------------------- /Practical work 4/x64/Debug/02102023.tlog/CL.read.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work 4/x64/Debug/02102023.tlog/CL.read.1.tlog -------------------------------------------------------------------------------- /Practical work 5/Second Practical work/x64/Debug/5.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work 5/Second Practical work/x64/Debug/5.exe -------------------------------------------------------------------------------- /Practical work 5/Second Practical work/x64/Debug/5.ilk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work 5/Second Practical work/x64/Debug/5.ilk -------------------------------------------------------------------------------- /Practical work 5/Second Practical work/x64/Debug/5.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work 5/Second Practical work/x64/Debug/5.obj -------------------------------------------------------------------------------- /Practical work 5/Second Practical work/x64/Debug/5.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work 5/Second Practical work/x64/Debug/5.pdb -------------------------------------------------------------------------------- /Practical work 5/x64/Debug/09102023.tlog/CL.read.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work 5/x64/Debug/09102023.tlog/CL.read.1.tlog -------------------------------------------------------------------------------- /Practical work Balls/x64/Debug/Practical work Balls.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work Balls/x64/Debug/Practical work Balls.exe -------------------------------------------------------------------------------- /Practical work Balls/x64/Debug/Practical work Balls.ilk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work Balls/x64/Debug/Practical work Balls.ilk -------------------------------------------------------------------------------- /Practical work Balls/x64/Debug/Practical work Balls.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work Balls/x64/Debug/Practical work Balls.obj -------------------------------------------------------------------------------- /Practical work Balls/x64/Debug/Practical work Balls.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work Balls/x64/Debug/Practical work Balls.pdb -------------------------------------------------------------------------------- /Practical work 1/x64/Debug/04092023.tlog/CL.command.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work 1/x64/Debug/04092023.tlog/CL.command.1.tlog -------------------------------------------------------------------------------- /Practical work 1/x64/Debug/04092023.tlog/CL.write.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work 1/x64/Debug/04092023.tlog/CL.write.1.tlog -------------------------------------------------------------------------------- /Practical work 1/x64/Debug/04092023.tlog/Cl.items.tlog: -------------------------------------------------------------------------------- 1 | C:\Users\KEV\Desktop\MIREA_Jobs-main\04092023\04092023.cpp;C:\Users\KEV\Desktop\MIREA_Jobs-main\04092023\x64\Debug\04092023.obj 2 | -------------------------------------------------------------------------------- /Practical work 1/x64/Debug/04092023.tlog/link.read.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work 1/x64/Debug/04092023.tlog/link.read.1.tlog -------------------------------------------------------------------------------- /Practical work 1/x64/Debug/04092023.tlog/link.write.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work 1/x64/Debug/04092023.tlog/link.write.1.tlog -------------------------------------------------------------------------------- /Practical work 2/x64/Debug/11092023.tlog/CL.command.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work 2/x64/Debug/11092023.tlog/CL.command.1.tlog -------------------------------------------------------------------------------- /Practical work 2/x64/Debug/11092023.tlog/CL.write.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work 2/x64/Debug/11092023.tlog/CL.write.1.tlog -------------------------------------------------------------------------------- /Practical work 2/x64/Debug/11092023.tlog/Cl.items.tlog: -------------------------------------------------------------------------------- 1 | C:\Users\KEV\Desktop\MIREA_Jobs-main\11092023\11092023.cpp;C:\Users\KEV\Desktop\MIREA_Jobs-main\11092023\x64\Debug\11092023.obj 2 | -------------------------------------------------------------------------------- /Practical work 2/x64/Debug/11092023.tlog/link.read.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work 2/x64/Debug/11092023.tlog/link.read.1.tlog -------------------------------------------------------------------------------- /Practical work 2/x64/Debug/11092023.tlog/link.write.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work 2/x64/Debug/11092023.tlog/link.write.1.tlog -------------------------------------------------------------------------------- /Practical work 3/x64/Debug/18092023.tlog/CL.command.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work 3/x64/Debug/18092023.tlog/CL.command.1.tlog -------------------------------------------------------------------------------- /Practical work 3/x64/Debug/18092023.tlog/CL.write.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work 3/x64/Debug/18092023.tlog/CL.write.1.tlog -------------------------------------------------------------------------------- /Practical work 3/x64/Debug/18092023.tlog/link.read.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work 3/x64/Debug/18092023.tlog/link.read.1.tlog -------------------------------------------------------------------------------- /Practical work 3/x64/Debug/18092023.tlog/link.write.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work 3/x64/Debug/18092023.tlog/link.write.1.tlog -------------------------------------------------------------------------------- /Practical work 4/x64/Debug/02102023.tlog/CL.command.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work 4/x64/Debug/02102023.tlog/CL.command.1.tlog -------------------------------------------------------------------------------- /Practical work 4/x64/Debug/02102023.tlog/CL.write.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work 4/x64/Debug/02102023.tlog/CL.write.1.tlog -------------------------------------------------------------------------------- /Practical work 4/x64/Debug/02102023.tlog/Cl.items.tlog: -------------------------------------------------------------------------------- 1 | C:\Users\KEV\Desktop\MIREA_Jobs-main\02102023\02102023.cpp;C:\Users\KEV\Desktop\MIREA_Jobs-main\02102023\x64\Debug\02102023.obj 2 | -------------------------------------------------------------------------------- /Practical work 4/x64/Debug/02102023.tlog/link.read.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work 4/x64/Debug/02102023.tlog/link.read.1.tlog -------------------------------------------------------------------------------- /Practical work 4/x64/Debug/02102023.tlog/link.write.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work 4/x64/Debug/02102023.tlog/link.write.1.tlog -------------------------------------------------------------------------------- /Practical work 5/Second Practical work/x64/Debug/vc143.idb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work 5/Second Practical work/x64/Debug/vc143.idb -------------------------------------------------------------------------------- /Practical work 5/Second Practical work/x64/Debug/vc143.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work 5/Second Practical work/x64/Debug/vc143.pdb -------------------------------------------------------------------------------- /Practical work 5/x64/Debug/09102023.tlog/CL.command.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work 5/x64/Debug/09102023.tlog/CL.command.1.tlog -------------------------------------------------------------------------------- /Practical work 5/x64/Debug/09102023.tlog/CL.write.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work 5/x64/Debug/09102023.tlog/CL.write.1.tlog -------------------------------------------------------------------------------- /Practical work 5/x64/Debug/09102023.tlog/Cl.items.tlog: -------------------------------------------------------------------------------- 1 | C:\Users\KEV\Desktop\MIREA_Jobs-main\09102023\09102023.cpp;C:\Users\KEV\Desktop\MIREA_Jobs-main\09102023\x64\Debug\09102023.obj 2 | -------------------------------------------------------------------------------- /Practical work 5/x64/Debug/09102023.tlog/link.read.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work 5/x64/Debug/09102023.tlog/link.read.1.tlog -------------------------------------------------------------------------------- /Practical work 5/x64/Debug/09102023.tlog/link.write.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work 5/x64/Debug/09102023.tlog/link.write.1.tlog -------------------------------------------------------------------------------- /Practical work 1/x64/Debug/04092023.tlog/link.command.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work 1/x64/Debug/04092023.tlog/link.command.1.tlog -------------------------------------------------------------------------------- /Practical work 2/x64/Debug/11092023.tlog/link.command.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work 2/x64/Debug/11092023.tlog/link.command.1.tlog -------------------------------------------------------------------------------- /Practical work 3/x64/Debug/18092023.tlog/link.command.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work 3/x64/Debug/18092023.tlog/link.command.1.tlog -------------------------------------------------------------------------------- /Practical work 4/x64/Debug/02102023.tlog/link.command.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work 4/x64/Debug/02102023.tlog/link.command.1.tlog -------------------------------------------------------------------------------- /Practical work 5/x64/Debug/09102023.tlog/link.command.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work 5/x64/Debug/09102023.tlog/link.command.1.tlog -------------------------------------------------------------------------------- /Practical work Spinner/x64/Debug/Practical work Spinner.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work Spinner/x64/Debug/Practical work Spinner.exe -------------------------------------------------------------------------------- /Practical work Spinner/x64/Debug/Practical work Spinner.ilk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work Spinner/x64/Debug/Practical work Spinner.ilk -------------------------------------------------------------------------------- /Practical work Spinner/x64/Debug/Practical work Spinner.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work Spinner/x64/Debug/Practical work Spinner.obj -------------------------------------------------------------------------------- /Practical work Spinner/x64/Debug/Practical work Spinner.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work Spinner/x64/Debug/Practical work Spinner.pdb -------------------------------------------------------------------------------- /Practical work Algorithm/x64/Debug/Practical work Algorithm.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work Algorithm/x64/Debug/Practical work Algorithm.exe -------------------------------------------------------------------------------- /Practical work Algorithm/x64/Debug/Practical work Algorithm.ilk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work Algorithm/x64/Debug/Practical work Algorithm.ilk -------------------------------------------------------------------------------- /Practical work Algorithm/x64/Debug/Practical work Algorithm.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work Algorithm/x64/Debug/Practical work Algorithm.obj -------------------------------------------------------------------------------- /Practical work Algorithm/x64/Debug/Practical work Algorithm.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work Algorithm/x64/Debug/Practical work Algorithm.pdb -------------------------------------------------------------------------------- /Practical work Balls/x64/Debug/Practical work Balls.vcxproj.FileListAbsolute.txt: -------------------------------------------------------------------------------- 1 | C:\Users\KEV\Desktop\MIREA_Procedural-programming-main\Practical work Balls\x64\Debug\Practical work Balls.exe 2 | -------------------------------------------------------------------------------- /Practical work Game C++/x64/Debug/Practical work Game C++.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work Game C++/x64/Debug/Practical work Game C++.exe -------------------------------------------------------------------------------- /Practical work Game C++/x64/Debug/Practical work Game C++.ilk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work Game C++/x64/Debug/Practical work Game C++.ilk -------------------------------------------------------------------------------- /Practical work Game C++/x64/Debug/Practical work Game C++.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work Game C++/x64/Debug/Practical work Game C++.obj -------------------------------------------------------------------------------- /Practical work Game C++/x64/Debug/Practical work Game C++.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work Game C++/x64/Debug/Practical work Game C++.pdb -------------------------------------------------------------------------------- /Practical work 1/x64/Debug/04092023.vcxproj.FileListAbsolute.txt: -------------------------------------------------------------------------------- 1 | C:\Users\KEV\Desktop\MIREA_Jobs\04092023\x64\Debug\04092023.exe 2 | C:\Users\KEV\Desktop\MIREA_Jobs-main\04092023\x64\Debug\04092023.exe 3 | -------------------------------------------------------------------------------- /Practical work 2/x64/Debug/11092023.vcxproj.FileListAbsolute.txt: -------------------------------------------------------------------------------- 1 | C:\Users\KEV\Desktop\MIREA_Jobs\11092023\x64\Debug\11092023.exe 2 | C:\Users\KEV\Desktop\MIREA_Jobs-main\11092023\x64\Debug\11092023.exe 3 | -------------------------------------------------------------------------------- /Practical work Balls/x64/Debug/Practica.3e1bb9e8.tlog/CL.read.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work Balls/x64/Debug/Practica.3e1bb9e8.tlog/CL.read.1.tlog -------------------------------------------------------------------------------- /Practical work Game C++/x64/Debug/Practical work Game C++.vcxproj.FileListAbsolute.txt: -------------------------------------------------------------------------------- 1 | C:\Users\KEV\Desktop\MIREA_Procedural-programming-main\Practical work Game C++\x64\Debug\Practical work Game C++.exe 2 | -------------------------------------------------------------------------------- /Practical work Spinner/x64/Debug/Practical work Spinner.vcxproj.FileListAbsolute.txt: -------------------------------------------------------------------------------- 1 | C:\Users\KEV\Desktop\MIREA_Procedural-programming-main\Practical work Spinner\x64\Debug\Practical work Spinner.exe 2 | -------------------------------------------------------------------------------- /Practical work 1/04092023.vcxproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /Practical work 2/11092023.vcxproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /Practical work 5/Second Practical work/x64/Debug/5.tlog/CL.read.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work 5/Second Practical work/x64/Debug/5.tlog/CL.read.1.tlog -------------------------------------------------------------------------------- /Practical work Algorithm/x64/Debug/Practical work Algorithm.vcxproj.FileListAbsolute.txt: -------------------------------------------------------------------------------- 1 | C:\Users\KEV\Desktop\MIREA_Procedural-programming-main\Practical work Algorithm\x64\Debug\Practical work Algorithm.exe 2 | -------------------------------------------------------------------------------- /Practical work Balls/x64/Debug/Practica.3e1bb9e8.tlog/CL.write.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work Balls/x64/Debug/Practica.3e1bb9e8.tlog/CL.write.1.tlog -------------------------------------------------------------------------------- /Practical work Balls/x64/Debug/Practica.3e1bb9e8.tlog/link.read.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work Balls/x64/Debug/Practica.3e1bb9e8.tlog/link.read.1.tlog -------------------------------------------------------------------------------- /Practical work Spinner/x64/Debug/Practica.681a47d5.tlog/CL.read.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work Spinner/x64/Debug/Practica.681a47d5.tlog/CL.read.1.tlog -------------------------------------------------------------------------------- /Practical work 3/18092023.vcxproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /Practical work 4/02102023.vcxproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /Practical work 5/09102023.vcxproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /Practical work 5/Second Practical work/x64/Debug/5.tlog/CL.command.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work 5/Second Practical work/x64/Debug/5.tlog/CL.command.1.tlog -------------------------------------------------------------------------------- /Practical work 5/Second Practical work/x64/Debug/5.tlog/CL.write.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work 5/Second Practical work/x64/Debug/5.tlog/CL.write.1.tlog -------------------------------------------------------------------------------- /Practical work 5/Second Practical work/x64/Debug/5.tlog/link.read.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work 5/Second Practical work/x64/Debug/5.tlog/link.read.1.tlog -------------------------------------------------------------------------------- /Practical work 5/Second Practical work/x64/Debug/5.tlog/link.write.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work 5/Second Practical work/x64/Debug/5.tlog/link.write.1.tlog -------------------------------------------------------------------------------- /Practical work Algorithm/x64/Debug/Practica.211c8bc5.tlog/CL.read.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work Algorithm/x64/Debug/Practica.211c8bc5.tlog/CL.read.1.tlog -------------------------------------------------------------------------------- /Practical work Algorithm/x64/Debug/Practica.211c8bc5.tlog/CL.write.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work Algorithm/x64/Debug/Practica.211c8bc5.tlog/CL.write.1.tlog -------------------------------------------------------------------------------- /Practical work Balls/x64/Debug/Practica.3e1bb9e8.tlog/CL.command.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work Balls/x64/Debug/Practica.3e1bb9e8.tlog/CL.command.1.tlog -------------------------------------------------------------------------------- /Practical work Balls/x64/Debug/Practica.3e1bb9e8.tlog/link.command.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work Balls/x64/Debug/Practica.3e1bb9e8.tlog/link.command.1.tlog -------------------------------------------------------------------------------- /Practical work Balls/x64/Debug/Practica.3e1bb9e8.tlog/link.write.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work Balls/x64/Debug/Practica.3e1bb9e8.tlog/link.write.1.tlog -------------------------------------------------------------------------------- /Practical work Game C++/x64/Debug/Practica.619d8976.tlog/CL.read.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work Game C++/x64/Debug/Practica.619d8976.tlog/CL.read.1.tlog -------------------------------------------------------------------------------- /Practical work Game C++/x64/Debug/Practica.619d8976.tlog/CL.write.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work Game C++/x64/Debug/Practica.619d8976.tlog/CL.write.1.tlog -------------------------------------------------------------------------------- /Practical work Game C++/x64/Debug/Practica.619d8976.tlog/link.read.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work Game C++/x64/Debug/Practica.619d8976.tlog/link.read.1.tlog -------------------------------------------------------------------------------- /Practical work Spinner/x64/Debug/Practica.681a47d5.tlog/CL.command.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work Spinner/x64/Debug/Practica.681a47d5.tlog/CL.command.1.tlog -------------------------------------------------------------------------------- /Practical work Spinner/x64/Debug/Practica.681a47d5.tlog/CL.write.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work Spinner/x64/Debug/Practica.681a47d5.tlog/CL.write.1.tlog -------------------------------------------------------------------------------- /Practical work Spinner/x64/Debug/Practica.681a47d5.tlog/link.read.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work Spinner/x64/Debug/Practica.681a47d5.tlog/link.read.1.tlog -------------------------------------------------------------------------------- /Practical work Spinner/x64/Debug/Practica.681a47d5.tlog/link.write.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work Spinner/x64/Debug/Practica.681a47d5.tlog/link.write.1.tlog -------------------------------------------------------------------------------- /Practical work 5/Second Practical work/x64/Debug/5.tlog/link.command.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work 5/Second Practical work/x64/Debug/5.tlog/link.command.1.tlog -------------------------------------------------------------------------------- /Practical work Algorithm/x64/Debug/Practica.211c8bc5.tlog/CL.command.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work Algorithm/x64/Debug/Practica.211c8bc5.tlog/CL.command.1.tlog -------------------------------------------------------------------------------- /Practical work Algorithm/x64/Debug/Practica.211c8bc5.tlog/link.read.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work Algorithm/x64/Debug/Practica.211c8bc5.tlog/link.read.1.tlog -------------------------------------------------------------------------------- /Practical work Algorithm/x64/Debug/Practica.211c8bc5.tlog/link.write.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work Algorithm/x64/Debug/Practica.211c8bc5.tlog/link.write.1.tlog -------------------------------------------------------------------------------- /Practical work Game C++/x64/Debug/Practica.619d8976.tlog/CL.command.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work Game C++/x64/Debug/Practica.619d8976.tlog/CL.command.1.tlog -------------------------------------------------------------------------------- /Practical work Game C++/x64/Debug/Practica.619d8976.tlog/link.write.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work Game C++/x64/Debug/Practica.619d8976.tlog/link.write.1.tlog -------------------------------------------------------------------------------- /Practical work Spinner/x64/Debug/Practica.681a47d5.tlog/link.command.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work Spinner/x64/Debug/Practica.681a47d5.tlog/link.command.1.tlog -------------------------------------------------------------------------------- /Practical work Algorithm/x64/Debug/Practica.211c8bc5.tlog/link.command.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work Algorithm/x64/Debug/Practica.211c8bc5.tlog/link.command.1.tlog -------------------------------------------------------------------------------- /Practical work Game C++/x64/Debug/Practica.619d8976.tlog/link.command.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KEV0143/MIREA_Procedural-programming/HEAD/Practical work Game C++/x64/Debug/Practica.619d8976.tlog/link.command.1.tlog -------------------------------------------------------------------------------- /Practical work 5/Second Practical work/5.vcxproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /Practical work Balls/Practical work Balls.vcxproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /Practical work Balls/x64/Debug/Practical work Balls.log: -------------------------------------------------------------------------------- 1 | Practical work Balls.cpp 2 | Practical work Balls.vcxproj -> C:\Users\KEV\Desktop\MIREA_Procedural-programming-main\Practical work Balls\x64\Debug\Practical work Balls.exe 3 | -------------------------------------------------------------------------------- /Practical work Game C++/Practical work Game C++.vcxproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /Practical work Spinner/Practical work Spinner.vcxproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /Practical work 3/x64/Debug/18092023.tlog/Cl.items.tlog: -------------------------------------------------------------------------------- 1 | C:\Users\KEV\Desktop\MIREA_Procedural-programming-main\Practical work 3\18092023.cpp;C:\Users\KEV\Desktop\MIREA_Procedural-programming-main\Practical work 3\x64\Debug\18092023.obj 2 | -------------------------------------------------------------------------------- /Practical work Algorithm/Practical work Algorithm.vcxproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /Practical work 1/x64/Debug/04092023.tlog/04092023.lastbuildstate: -------------------------------------------------------------------------------- 1 | PlatformToolSet=v143:VCToolArchitecture=Native64Bit:VCToolsVersion=14.37.32822:TargetPlatformVersion=10.0.22621.0: 2 | Debug|x64|C:\Users\KEV\Desktop\MIREA_Jobs-main\04092023\| 3 | -------------------------------------------------------------------------------- /Practical work 2/x64/Debug/11092023.tlog/11092023.lastbuildstate: -------------------------------------------------------------------------------- 1 | PlatformToolSet=v143:VCToolArchitecture=Native64Bit:VCToolsVersion=14.37.32822:TargetPlatformVersion=10.0.22621.0: 2 | Debug|x64|C:\Users\KEV\Desktop\MIREA_Jobs-main\11092023\| 3 | -------------------------------------------------------------------------------- /Practical work 4/x64/Debug/02102023.tlog/02102023.lastbuildstate: -------------------------------------------------------------------------------- 1 | PlatformToolSet=v143:VCToolArchitecture=Native64Bit:VCToolsVersion=14.37.32822:TargetPlatformVersion=10.0.22621.0: 2 | Debug|x64|C:\Users\KEV\Desktop\MIREA_Jobs-main\02102023\| 3 | -------------------------------------------------------------------------------- /Practical work 5/Second Practical work/x64/Debug/5.tlog/5.lastbuildstate: -------------------------------------------------------------------------------- 1 | PlatformToolSet=v143:VCToolArchitecture=Native64Bit:VCToolsVersion=14.37.32822:TargetPlatformVersion=10.0.22621.0: 2 | Debug|x64|C:\Users\KEV\Desktop\Work_Ksenia\5\| 3 | -------------------------------------------------------------------------------- /Practical work 5/x64/Debug/09102023.tlog/09102023.lastbuildstate: -------------------------------------------------------------------------------- 1 | PlatformToolSet=v143:VCToolArchitecture=Native64Bit:VCToolsVersion=14.37.32822:TargetPlatformVersion=10.0.22621.0: 2 | Debug|x64|C:\Users\KEV\Desktop\MIREA_Jobs-main\09102023\| 3 | -------------------------------------------------------------------------------- /Practical work Spinner/x64/Debug/Practical work Spinner.log: -------------------------------------------------------------------------------- 1 | Practical work Spinner.cpp 2 | Practical work Spinner.vcxproj -> C:\Users\KEV\Desktop\MIREA_Procedural-programming-main\Practical work Spinner\x64\Debug\Practical work Spinner.exe 3 | -------------------------------------------------------------------------------- /Practical work Algorithm/x64/Debug/Practical work Algorithm.log: -------------------------------------------------------------------------------- 1 | Practical work Algorithm.cpp 2 | Practical work Algorithm.vcxproj -> C:\Users\KEV\Desktop\MIREA_Procedural-programming-main\Practical work Algorithm\x64\Debug\Practical work Algorithm.exe 3 | -------------------------------------------------------------------------------- /Practical work 3/x64/Debug/18092023.tlog/18092023.lastbuildstate: -------------------------------------------------------------------------------- 1 | PlatformToolSet=v143:VCToolArchitecture=Native64Bit:VCToolsVersion=14.37.32822:TargetPlatformVersion=10.0.22621.0: 2 | Debug|x64|C:\Users\KEV\Desktop\MIREA_Procedural-programming-main\Practical work 3\| 3 | -------------------------------------------------------------------------------- /Practical work 5/Second Practical work/x64/Debug/5.log: -------------------------------------------------------------------------------- 1 | 5.cpp 2 | C:\Users\KEV\Desktop\Work_Ksenia\5\5.cpp(259,15): warning C4244: аргумент: преобразование "time_t" в "unsigned int", возможна потеря данных 3 | 5.vcxproj -> C:\Users\KEV\Desktop\Work_Ksenia\5\x64\Debug\5.exe 4 | -------------------------------------------------------------------------------- /Practical work Balls/x64/Debug/Practica.3e1bb9e8.tlog/Cl.items.tlog: -------------------------------------------------------------------------------- 1 | C:\Users\KEV\Desktop\MIREA_Procedural-programming-main\Practical work Balls\Practical work Balls.cpp;C:\Users\KEV\Desktop\MIREA_Procedural-programming-main\Practical work Balls\x64\Debug\Practical work Balls.obj 2 | -------------------------------------------------------------------------------- /Practical work Spinner/x64/Debug/Practica.681a47d5.tlog/Cl.items.tlog: -------------------------------------------------------------------------------- 1 | C:\Users\KEV\Desktop\MIREA_Procedural-programming-main\Practical work Spinner\Practical work Spinner.cpp;C:\Users\KEV\Desktop\MIREA_Procedural-programming-main\Practical work Spinner\x64\Debug\Practical work Spinner.obj 2 | -------------------------------------------------------------------------------- /Practical work Balls/x64/Debug/Practica.3e1bb9e8.tlog/Practical work Balls.lastbuildstate: -------------------------------------------------------------------------------- 1 | PlatformToolSet=v143:VCToolArchitecture=Native64Bit:VCToolsVersion=14.37.32822:TargetPlatformVersion=10.0.22621.0: 2 | Debug|x64|C:\Users\KEV\Desktop\MIREA_Procedural-programming-main\Practical work Balls\| 3 | -------------------------------------------------------------------------------- /Practical work Game C++/x64/Debug/Practica.619d8976.tlog/Cl.items.tlog: -------------------------------------------------------------------------------- 1 | C:\Users\KEV\Desktop\MIREA_Procedural-programming-main\Practical work Game C++\Practical work Game C++.cpp;C:\Users\KEV\Desktop\MIREA_Procedural-programming-main\Practical work Game C++\x64\Debug\Practical work Game C++.obj 2 | -------------------------------------------------------------------------------- /Practical work 3/x64/Debug/18092023.vcxproj.FileListAbsolute.txt: -------------------------------------------------------------------------------- 1 | C:\Users\KEV\Desktop\MIREA_Jobs-main\18092023\x64\Debug\18092023.exe 2 | C:\Users\KEV\Desktop\MIREA_Jobs\18092023\x64\Debug\18092023.exe 3 | C:\Users\KEV\Desktop\MIREA_Procedural-programming-main\Practical work 3\x64\Debug\18092023.exe 4 | -------------------------------------------------------------------------------- /Practical work Algorithm/x64/Debug/Practica.211c8bc5.tlog/Cl.items.tlog: -------------------------------------------------------------------------------- 1 | C:\Users\KEV\Desktop\MIREA_Procedural-programming-main\Practical work Algorithm\Practical work Algorithm.cpp;C:\Users\KEV\Desktop\MIREA_Procedural-programming-main\Practical work Algorithm\x64\Debug\Practical work Algorithm.obj 2 | -------------------------------------------------------------------------------- /Practical work Spinner/x64/Debug/Practica.681a47d5.tlog/Practical work Spinner.lastbuildstate: -------------------------------------------------------------------------------- 1 | PlatformToolSet=v143:VCToolArchitecture=Native64Bit:VCToolsVersion=14.37.32822:TargetPlatformVersion=10.0.22621.0: 2 | Debug|x64|C:\Users\KEV\Desktop\MIREA_Procedural-programming-main\Practical work Spinner\| 3 | -------------------------------------------------------------------------------- /Practical work Game C++/x64/Debug/Practica.619d8976.tlog/Practical work Game C++.lastbuildstate: -------------------------------------------------------------------------------- 1 | PlatformToolSet=v143:VCToolArchitecture=Native64Bit:VCToolsVersion=14.37.32822:TargetPlatformVersion=10.0.22621.0: 2 | Debug|x64|C:\Users\KEV\Desktop\MIREA_Procedural-programming-main\Practical work Game C++\| 3 | -------------------------------------------------------------------------------- /Practical work Algorithm/x64/Debug/Practica.211c8bc5.tlog/Practical work Algorithm.lastbuildstate: -------------------------------------------------------------------------------- 1 | PlatformToolSet=v143:VCToolArchitecture=Native64Bit:VCToolsVersion=14.37.32822:TargetPlatformVersion=10.0.22621.0: 2 | Debug|x64|C:\Users\KEV\Desktop\MIREA_Procedural-programming-main\Practical work Algorithm\| 3 | -------------------------------------------------------------------------------- /Practical work 5/Second Practical work/x64/Debug/5.exe.recipe: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | C:\Users\KEV\Desktop\Work_Ksenia\5\x64\Debug\5.exe 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Practical work 1/x64/Debug/04092023.exe.recipe: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | C:\Users\KEV\Desktop\MIREA_Jobs-main\04092023\x64\Debug\04092023.exe 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Practical work 2/x64/Debug/11092023.exe.recipe: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | C:\Users\KEV\Desktop\MIREA_Jobs-main\11092023\x64\Debug\11092023.exe 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Practical work 4/x64/Debug/02102023.exe.recipe: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | C:\Users\KEV\Desktop\MIREA_Jobs-main\02102023\x64\Debug\02102023.exe 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Practical work 5/x64/Debug/09102023.exe.recipe: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | C:\Users\KEV\Desktop\MIREA_Jobs-main\09102023\x64\Debug\09102023.exe 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Practical work 3/x64/Debug/18092023.exe.recipe: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | C:\Users\KEV\Desktop\MIREA_Procedural-programming-main\Practical work 3\x64\Debug\18092023.exe 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Practical work Game C++/x64/Debug/Practical work Game C++.log: -------------------------------------------------------------------------------- 1 | Practical work Game C++.cpp 2 | C:\Users\KEV\Desktop\MIREA_Procedural-programming-main\Practical work Game C++\Practical work Game C++.cpp(77,33): warning C4018: <: несоответствие типов со знаком и без знака 3 | Practical work Game C++.vcxproj -> C:\Users\KEV\Desktop\MIREA_Procedural-programming-main\Practical work Game C++\x64\Debug\Practical work Game C++.exe 4 | -------------------------------------------------------------------------------- /Practical work Balls/x64/Debug/Practical work Balls.exe.recipe: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | C:\Users\KEV\Desktop\MIREA_Procedural-programming-main\Practical work Balls\x64\Debug\Practical work Balls.exe 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Practical work 5/x64/Debug/09102023.log: -------------------------------------------------------------------------------- 1 | 09102023.cpp 2 | C:\Users\KEV\Desktop\MIREA_Jobs-main\09102023\09102023.cpp(229,21): warning C4267: инициализация: преобразование из "size_t" в "int"; возможна потеря данных 3 | C:\Users\KEV\Desktop\MIREA_Jobs-main\09102023\09102023.cpp(234,27): warning C4244: +=: преобразование "double" в "int", возможна потеря данных 4 | 09102023.vcxproj -> C:\Users\KEV\Desktop\MIREA_Jobs-main\09102023\x64\Debug\09102023.exe 5 | -------------------------------------------------------------------------------- /Practical work 4/x64/Debug/02102023.log: -------------------------------------------------------------------------------- 1 | 02102023.cpp 2 | C:\Users\KEV\Desktop\MIREA_Jobs-main\02102023\02102023.cpp(66,23): warning C4244: аргумент: преобразование "double" в "float", возможна потеря данных 3 | C:\Users\KEV\Desktop\MIREA_Jobs-main\02102023\02102023.cpp(433,16): warning C4267: инициализация: преобразование из "size_t" в "int"; возможна потеря данных 4 | 02102023.vcxproj -> C:\Users\KEV\Desktop\MIREA_Jobs-main\02102023\x64\Debug\02102023.exe 5 | -------------------------------------------------------------------------------- /Practical work Spinner/x64/Debug/Practical work Spinner.exe.recipe: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | C:\Users\KEV\Desktop\MIREA_Procedural-programming-main\Practical work Spinner\x64\Debug\Practical work Spinner.exe 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Practical work Game C++/x64/Debug/Practical work Game C++.exe.recipe: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | C:\Users\KEV\Desktop\MIREA_Procedural-programming-main\Practical work Game C++\x64\Debug\Practical work Game C++.exe 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Practical work Algorithm/x64/Debug/Practical work Algorithm.exe.recipe: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | C:\Users\KEV\Desktop\MIREA_Procedural-programming-main\Practical work Algorithm\x64\Debug\Practical work Algorithm.exe 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Practical work 1/04092023.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;c++;cppm;ixx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hh;hpp;hxx;h++;hm;inl;inc;ipp;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | 18 | 19 | Исходные файлы 20 | 21 | 22 | -------------------------------------------------------------------------------- /Practical work 1/x64/Debug/04092023.log: -------------------------------------------------------------------------------- 1 | 04092023.cpp 2 | C:\Users\KEV\Desktop\MIREA_Jobs-main\04092023\04092023.cpp(153,13): warning C4553: "==": результат выражения не используется; вы хотели использовать "="? 3 | C:\Users\KEV\Desktop\MIREA_Jobs-main\04092023\04092023.cpp(158,13): warning C4553: "==": результат выражения не используется; вы хотели использовать "="? 4 | C:\Users\KEV\Desktop\MIREA_Jobs-main\04092023\04092023.cpp(172,13): warning C4553: "==": результат выражения не используется; вы хотели использовать "="? 5 | C:\Users\KEV\Desktop\MIREA_Jobs-main\04092023\04092023.cpp(177,13): warning C4553: "==": результат выражения не используется; вы хотели использовать "="? 6 | C:\Users\KEV\Desktop\MIREA_Jobs-main\04092023\04092023.cpp(191,14): warning C4553: "==": результат выражения не используется; вы хотели использовать "="? 7 | C:\Users\KEV\Desktop\MIREA_Jobs-main\04092023\04092023.cpp(196,14): warning C4553: "==": результат выражения не используется; вы хотели использовать "="? 8 | 04092023.vcxproj -> C:\Users\KEV\Desktop\MIREA_Jobs-main\04092023\x64\Debug\04092023.exe 9 | -------------------------------------------------------------------------------- /Practical work 2/11092023.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;c++;cppm;ixx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hh;hpp;hxx;h++;hm;inl;inc;ipp;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | 18 | 19 | Исходные файлы 20 | 21 | 22 | -------------------------------------------------------------------------------- /Practical work 3/18092023.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;c++;cppm;ixx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hh;hpp;hxx;h++;hm;inl;inc;ipp;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | 18 | 19 | Исходные файлы 20 | 21 | 22 | -------------------------------------------------------------------------------- /Practical work 4/02102023.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;c++;cppm;ixx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hh;hpp;hxx;h++;hm;inl;inc;ipp;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | 18 | 19 | Исходные файлы 20 | 21 | 22 | -------------------------------------------------------------------------------- /Practical work 5/09102023.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;c++;cppm;ixx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hh;hpp;hxx;h++;hm;inl;inc;ipp;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | 18 | 19 | Исходные файлы 20 | 21 | 22 | -------------------------------------------------------------------------------- /Practical work 5/Second Practical work/5.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;c++;cppm;ixx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hh;hpp;hxx;h++;hm;inl;inc;ipp;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | 18 | 19 | Исходные файлы 20 | 21 | 22 | -------------------------------------------------------------------------------- /Practical work Balls/Practical work Balls.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;c++;cppm;ixx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hh;hpp;hxx;h++;hm;inl;inc;ipp;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | 18 | 19 | Исходные файлы 20 | 21 | 22 | -------------------------------------------------------------------------------- /Practical work Spinner/Practical work Spinner.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;c++;cppm;ixx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hh;hpp;hxx;h++;hm;inl;inc;ipp;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | 18 | 19 | Исходные файлы 20 | 21 | 22 | -------------------------------------------------------------------------------- /Practical work Algorithm/Practical work Algorithm.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;c++;cppm;ixx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hh;hpp;hxx;h++;hm;inl;inc;ipp;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | 18 | 19 | Исходные файлы 20 | 21 | 22 | -------------------------------------------------------------------------------- /Practical work Game C++/Practical work Game C++.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;c++;cppm;ixx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hh;hpp;hxx;h++;hm;inl;inc;ipp;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | 18 | 19 | Исходные файлы 20 | 21 | 22 | -------------------------------------------------------------------------------- /Practical work Algorithm/Practical work Algorithm.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | using namespace std; 3 | // 5. Сортировка выбором (отбором) 4 | 5 | void selectionSort(int arr[], int n) 6 | { 7 | for (int i = 0; i < n - 1; i++) 8 | { 9 | int minIndex = i; 10 | for (int j = i + 1; j < n; j++) 11 | { 12 | if (arr[j] < arr[minIndex]) 13 | { 14 | minIndex = j; 15 | } 16 | } 17 | swap(arr[i], arr[minIndex]); 18 | } 19 | } 20 | 21 | int main() 22 | { 23 | setlocale(LC_ALL, "Russian"); 24 | 25 | int arr[] = { 64, 25, 12, 22, 11, 33249, 1313, 111, 11, 0, 01, -1 }; 26 | int n = sizeof(arr) / sizeof(arr[0]); 27 | 28 | selectionSort(arr, n); 29 | 30 | cout << "Отсортированный массив: "; 31 | for (int i = 0; i < n; i++) 32 | { 33 | cout << arr[i] << " "; 34 | } 35 | } 36 | 37 | // Внутри функции происходит двойной цикл: внешний цикл перебирает элементы массива, а внутренний цикл находит минимальный элемент в оставшейся части массива. 38 | // Затем происходит обмен текущего элемента со значением минимального элемента. 39 | // После завершения сортировки, в функции main выводится отсортированный массив. -------------------------------------------------------------------------------- /Practical work 3/x64/Debug/18092023.log: -------------------------------------------------------------------------------- 1 | 18092023.cpp 2 | C:\Users\KEV\Desktop\MIREA_Procedural-programming-main\Practical work 3\18092023.cpp(13,16): warning C4552: ">": результат выражения не используется 3 | C:\Users\KEV\Desktop\MIREA_Procedural-programming-main\Practical work 3\18092023.cpp(16,9): warning C4244: return: преобразование "double" в "float", возможна потеря данных 4 | C:\Users\KEV\Desktop\MIREA_Procedural-programming-main\Practical work 3\18092023.cpp(83,14): warning C4244: инициализация: преобразование "double" в "int", возможна потеря данных 5 | C:\Users\KEV\Desktop\MIREA_Procedural-programming-main\Practical work 3\18092023.cpp(83,40): warning C4552: ">=": результат выражения не используется 6 | C:\Users\KEV\Desktop\MIREA_Procedural-programming-main\Practical work 3\18092023.cpp(85,35): warning C4244: аргумент: преобразование "double" в "float", возможна потеря данных 7 | C:\Users\KEV\Desktop\MIREA_Procedural-programming-main\Practical work 3\18092023.cpp(85,74): warning C4244: аргумент: преобразование "double" в "float", возможна потеря данных 8 | C:\Users\KEV\Desktop\MIREA_Procedural-programming-main\Practical work 3\18092023.cpp(85,124): warning C4244: аргумент: преобразование "double" в "float", возможна потеря данных 9 | 18092023.vcxproj -> C:\Users\KEV\Desktop\MIREA_Procedural-programming-main\Practical work 3\x64\Debug\18092023.exe 10 | -------------------------------------------------------------------------------- /Practical work 1/04092023.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio Version 17 4 | VisualStudioVersion = 17.7.34024.191 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "04092023", "04092023.vcxproj", "{2EAC3CD6-D59C-423C-8768-37AEB3554958}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|x64 = Debug|x64 11 | Debug|x86 = Debug|x86 12 | Release|x64 = Release|x64 13 | Release|x86 = Release|x86 14 | EndGlobalSection 15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 16 | {2EAC3CD6-D59C-423C-8768-37AEB3554958}.Debug|x64.ActiveCfg = Debug|x64 17 | {2EAC3CD6-D59C-423C-8768-37AEB3554958}.Debug|x64.Build.0 = Debug|x64 18 | {2EAC3CD6-D59C-423C-8768-37AEB3554958}.Debug|x86.ActiveCfg = Debug|Win32 19 | {2EAC3CD6-D59C-423C-8768-37AEB3554958}.Debug|x86.Build.0 = Debug|Win32 20 | {2EAC3CD6-D59C-423C-8768-37AEB3554958}.Release|x64.ActiveCfg = Release|x64 21 | {2EAC3CD6-D59C-423C-8768-37AEB3554958}.Release|x64.Build.0 = Release|x64 22 | {2EAC3CD6-D59C-423C-8768-37AEB3554958}.Release|x86.ActiveCfg = Release|Win32 23 | {2EAC3CD6-D59C-423C-8768-37AEB3554958}.Release|x86.Build.0 = Release|Win32 24 | EndGlobalSection 25 | GlobalSection(SolutionProperties) = preSolution 26 | HideSolutionNode = FALSE 27 | EndGlobalSection 28 | GlobalSection(ExtensibilityGlobals) = postSolution 29 | SolutionGuid = {3AFA6C7F-7B40-4B1C-A23B-23EA37B546EE} 30 | EndGlobalSection 31 | EndGlobal 32 | -------------------------------------------------------------------------------- /Practical work 2/11092023.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio Version 17 4 | VisualStudioVersion = 17.7.34024.191 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "11092023", "11092023.vcxproj", "{2B02B425-B810-45E1-B589-45AD92BA467A}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|x64 = Debug|x64 11 | Debug|x86 = Debug|x86 12 | Release|x64 = Release|x64 13 | Release|x86 = Release|x86 14 | EndGlobalSection 15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 16 | {2B02B425-B810-45E1-B589-45AD92BA467A}.Debug|x64.ActiveCfg = Debug|x64 17 | {2B02B425-B810-45E1-B589-45AD92BA467A}.Debug|x64.Build.0 = Debug|x64 18 | {2B02B425-B810-45E1-B589-45AD92BA467A}.Debug|x86.ActiveCfg = Debug|Win32 19 | {2B02B425-B810-45E1-B589-45AD92BA467A}.Debug|x86.Build.0 = Debug|Win32 20 | {2B02B425-B810-45E1-B589-45AD92BA467A}.Release|x64.ActiveCfg = Release|x64 21 | {2B02B425-B810-45E1-B589-45AD92BA467A}.Release|x64.Build.0 = Release|x64 22 | {2B02B425-B810-45E1-B589-45AD92BA467A}.Release|x86.ActiveCfg = Release|Win32 23 | {2B02B425-B810-45E1-B589-45AD92BA467A}.Release|x86.Build.0 = Release|Win32 24 | EndGlobalSection 25 | GlobalSection(SolutionProperties) = preSolution 26 | HideSolutionNode = FALSE 27 | EndGlobalSection 28 | GlobalSection(ExtensibilityGlobals) = postSolution 29 | SolutionGuid = {CD14D470-F2CB-4726-80D6-C4D2B843E002} 30 | EndGlobalSection 31 | EndGlobal 32 | -------------------------------------------------------------------------------- /Practical work 3/18092023.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio Version 17 4 | VisualStudioVersion = 17.7.34024.191 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "18092023", "18092023.vcxproj", "{E0FE5F32-8E8E-474A-AFD8-56868DBCA819}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|x64 = Debug|x64 11 | Debug|x86 = Debug|x86 12 | Release|x64 = Release|x64 13 | Release|x86 = Release|x86 14 | EndGlobalSection 15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 16 | {E0FE5F32-8E8E-474A-AFD8-56868DBCA819}.Debug|x64.ActiveCfg = Debug|x64 17 | {E0FE5F32-8E8E-474A-AFD8-56868DBCA819}.Debug|x64.Build.0 = Debug|x64 18 | {E0FE5F32-8E8E-474A-AFD8-56868DBCA819}.Debug|x86.ActiveCfg = Debug|Win32 19 | {E0FE5F32-8E8E-474A-AFD8-56868DBCA819}.Debug|x86.Build.0 = Debug|Win32 20 | {E0FE5F32-8E8E-474A-AFD8-56868DBCA819}.Release|x64.ActiveCfg = Release|x64 21 | {E0FE5F32-8E8E-474A-AFD8-56868DBCA819}.Release|x64.Build.0 = Release|x64 22 | {E0FE5F32-8E8E-474A-AFD8-56868DBCA819}.Release|x86.ActiveCfg = Release|Win32 23 | {E0FE5F32-8E8E-474A-AFD8-56868DBCA819}.Release|x86.Build.0 = Release|Win32 24 | EndGlobalSection 25 | GlobalSection(SolutionProperties) = preSolution 26 | HideSolutionNode = FALSE 27 | EndGlobalSection 28 | GlobalSection(ExtensibilityGlobals) = postSolution 29 | SolutionGuid = {C612477A-3969-4854-87EF-129C0D9694F5} 30 | EndGlobalSection 31 | EndGlobal 32 | -------------------------------------------------------------------------------- /Practical work 4/02102023.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio Version 17 4 | VisualStudioVersion = 17.7.34024.191 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "02102023", "02102023.vcxproj", "{E502B8A2-2869-4992-9E38-22EF9D5B496A}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|x64 = Debug|x64 11 | Debug|x86 = Debug|x86 12 | Release|x64 = Release|x64 13 | Release|x86 = Release|x86 14 | EndGlobalSection 15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 16 | {E502B8A2-2869-4992-9E38-22EF9D5B496A}.Debug|x64.ActiveCfg = Debug|x64 17 | {E502B8A2-2869-4992-9E38-22EF9D5B496A}.Debug|x64.Build.0 = Debug|x64 18 | {E502B8A2-2869-4992-9E38-22EF9D5B496A}.Debug|x86.ActiveCfg = Debug|Win32 19 | {E502B8A2-2869-4992-9E38-22EF9D5B496A}.Debug|x86.Build.0 = Debug|Win32 20 | {E502B8A2-2869-4992-9E38-22EF9D5B496A}.Release|x64.ActiveCfg = Release|x64 21 | {E502B8A2-2869-4992-9E38-22EF9D5B496A}.Release|x64.Build.0 = Release|x64 22 | {E502B8A2-2869-4992-9E38-22EF9D5B496A}.Release|x86.ActiveCfg = Release|Win32 23 | {E502B8A2-2869-4992-9E38-22EF9D5B496A}.Release|x86.Build.0 = Release|Win32 24 | EndGlobalSection 25 | GlobalSection(SolutionProperties) = preSolution 26 | HideSolutionNode = FALSE 27 | EndGlobalSection 28 | GlobalSection(ExtensibilityGlobals) = postSolution 29 | SolutionGuid = {0EC31589-DA84-4075-8D0E-743D89DC4F42} 30 | EndGlobalSection 31 | EndGlobal 32 | -------------------------------------------------------------------------------- /Practical work 5/09102023.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio Version 17 4 | VisualStudioVersion = 17.7.34024.191 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "09102023", "09102023.vcxproj", "{6049F42A-0422-40B9-96CE-0B5BDDFAB93D}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|x64 = Debug|x64 11 | Debug|x86 = Debug|x86 12 | Release|x64 = Release|x64 13 | Release|x86 = Release|x86 14 | EndGlobalSection 15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 16 | {6049F42A-0422-40B9-96CE-0B5BDDFAB93D}.Debug|x64.ActiveCfg = Debug|x64 17 | {6049F42A-0422-40B9-96CE-0B5BDDFAB93D}.Debug|x64.Build.0 = Debug|x64 18 | {6049F42A-0422-40B9-96CE-0B5BDDFAB93D}.Debug|x86.ActiveCfg = Debug|Win32 19 | {6049F42A-0422-40B9-96CE-0B5BDDFAB93D}.Debug|x86.Build.0 = Debug|Win32 20 | {6049F42A-0422-40B9-96CE-0B5BDDFAB93D}.Release|x64.ActiveCfg = Release|x64 21 | {6049F42A-0422-40B9-96CE-0B5BDDFAB93D}.Release|x64.Build.0 = Release|x64 22 | {6049F42A-0422-40B9-96CE-0B5BDDFAB93D}.Release|x86.ActiveCfg = Release|Win32 23 | {6049F42A-0422-40B9-96CE-0B5BDDFAB93D}.Release|x86.Build.0 = Release|Win32 24 | EndGlobalSection 25 | GlobalSection(SolutionProperties) = preSolution 26 | HideSolutionNode = FALSE 27 | EndGlobalSection 28 | GlobalSection(ExtensibilityGlobals) = postSolution 29 | SolutionGuid = {BECD0BF7-CE0D-4620-8BD9-31EA50BAB330} 30 | EndGlobalSection 31 | EndGlobal 32 | -------------------------------------------------------------------------------- /Practical work 5/Second Practical work/5.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio Version 17 4 | VisualStudioVersion = 17.7.34221.43 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "5", "5.vcxproj", "{5B0AF2F7-C1FE-4D22-951D-E10891E91DA5}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|x64 = Debug|x64 11 | Debug|x86 = Debug|x86 12 | Release|x64 = Release|x64 13 | Release|x86 = Release|x86 14 | EndGlobalSection 15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 16 | {5B0AF2F7-C1FE-4D22-951D-E10891E91DA5}.Debug|x64.ActiveCfg = Debug|x64 17 | {5B0AF2F7-C1FE-4D22-951D-E10891E91DA5}.Debug|x64.Build.0 = Debug|x64 18 | {5B0AF2F7-C1FE-4D22-951D-E10891E91DA5}.Debug|x86.ActiveCfg = Debug|Win32 19 | {5B0AF2F7-C1FE-4D22-951D-E10891E91DA5}.Debug|x86.Build.0 = Debug|Win32 20 | {5B0AF2F7-C1FE-4D22-951D-E10891E91DA5}.Release|x64.ActiveCfg = Release|x64 21 | {5B0AF2F7-C1FE-4D22-951D-E10891E91DA5}.Release|x64.Build.0 = Release|x64 22 | {5B0AF2F7-C1FE-4D22-951D-E10891E91DA5}.Release|x86.ActiveCfg = Release|Win32 23 | {5B0AF2F7-C1FE-4D22-951D-E10891E91DA5}.Release|x86.Build.0 = Release|Win32 24 | EndGlobalSection 25 | GlobalSection(SolutionProperties) = preSolution 26 | HideSolutionNode = FALSE 27 | EndGlobalSection 28 | GlobalSection(ExtensibilityGlobals) = postSolution 29 | SolutionGuid = {3B160E5A-0A77-486D-9B44-F03FAF876C7E} 30 | EndGlobalSection 31 | EndGlobal 32 | -------------------------------------------------------------------------------- /Practical work Balls/Practical work Balls.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio Version 17 4 | VisualStudioVersion = 17.7.34024.191 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Practical work Balls", "Practical work Balls.vcxproj", "{3E1BB9E8-F53D-4BA2-B791-48619FFAE7F4}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|x64 = Debug|x64 11 | Debug|x86 = Debug|x86 12 | Release|x64 = Release|x64 13 | Release|x86 = Release|x86 14 | EndGlobalSection 15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 16 | {3E1BB9E8-F53D-4BA2-B791-48619FFAE7F4}.Debug|x64.ActiveCfg = Debug|x64 17 | {3E1BB9E8-F53D-4BA2-B791-48619FFAE7F4}.Debug|x64.Build.0 = Debug|x64 18 | {3E1BB9E8-F53D-4BA2-B791-48619FFAE7F4}.Debug|x86.ActiveCfg = Debug|Win32 19 | {3E1BB9E8-F53D-4BA2-B791-48619FFAE7F4}.Debug|x86.Build.0 = Debug|Win32 20 | {3E1BB9E8-F53D-4BA2-B791-48619FFAE7F4}.Release|x64.ActiveCfg = Release|x64 21 | {3E1BB9E8-F53D-4BA2-B791-48619FFAE7F4}.Release|x64.Build.0 = Release|x64 22 | {3E1BB9E8-F53D-4BA2-B791-48619FFAE7F4}.Release|x86.ActiveCfg = Release|Win32 23 | {3E1BB9E8-F53D-4BA2-B791-48619FFAE7F4}.Release|x86.Build.0 = Release|Win32 24 | EndGlobalSection 25 | GlobalSection(SolutionProperties) = preSolution 26 | HideSolutionNode = FALSE 27 | EndGlobalSection 28 | GlobalSection(ExtensibilityGlobals) = postSolution 29 | SolutionGuid = {885F1A40-06D8-43C4-ACE5-D20089E88FDE} 30 | EndGlobalSection 31 | EndGlobal 32 | -------------------------------------------------------------------------------- /Practical work Spinner/Practical work Spinner.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio Version 17 4 | VisualStudioVersion = 17.7.34024.191 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Practical work Spinner", "Practical work Spinner.vcxproj", "{681A47D5-B49F-4F37-9D62-E358177B7BD9}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|x64 = Debug|x64 11 | Debug|x86 = Debug|x86 12 | Release|x64 = Release|x64 13 | Release|x86 = Release|x86 14 | EndGlobalSection 15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 16 | {681A47D5-B49F-4F37-9D62-E358177B7BD9}.Debug|x64.ActiveCfg = Debug|x64 17 | {681A47D5-B49F-4F37-9D62-E358177B7BD9}.Debug|x64.Build.0 = Debug|x64 18 | {681A47D5-B49F-4F37-9D62-E358177B7BD9}.Debug|x86.ActiveCfg = Debug|Win32 19 | {681A47D5-B49F-4F37-9D62-E358177B7BD9}.Debug|x86.Build.0 = Debug|Win32 20 | {681A47D5-B49F-4F37-9D62-E358177B7BD9}.Release|x64.ActiveCfg = Release|x64 21 | {681A47D5-B49F-4F37-9D62-E358177B7BD9}.Release|x64.Build.0 = Release|x64 22 | {681A47D5-B49F-4F37-9D62-E358177B7BD9}.Release|x86.ActiveCfg = Release|Win32 23 | {681A47D5-B49F-4F37-9D62-E358177B7BD9}.Release|x86.Build.0 = Release|Win32 24 | EndGlobalSection 25 | GlobalSection(SolutionProperties) = preSolution 26 | HideSolutionNode = FALSE 27 | EndGlobalSection 28 | GlobalSection(ExtensibilityGlobals) = postSolution 29 | SolutionGuid = {92D9AD1F-296D-4416-B334-329044DE23A4} 30 | EndGlobalSection 31 | EndGlobal 32 | -------------------------------------------------------------------------------- /Practical work Game C++/Practical work Game C++.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio Version 17 4 | VisualStudioVersion = 17.7.34024.191 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Practical work Game C++", "Practical work Game C++.vcxproj", "{619D8976-E954-4A26-9876-A549DBC68F48}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|x64 = Debug|x64 11 | Debug|x86 = Debug|x86 12 | Release|x64 = Release|x64 13 | Release|x86 = Release|x86 14 | EndGlobalSection 15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 16 | {619D8976-E954-4A26-9876-A549DBC68F48}.Debug|x64.ActiveCfg = Debug|x64 17 | {619D8976-E954-4A26-9876-A549DBC68F48}.Debug|x64.Build.0 = Debug|x64 18 | {619D8976-E954-4A26-9876-A549DBC68F48}.Debug|x86.ActiveCfg = Debug|Win32 19 | {619D8976-E954-4A26-9876-A549DBC68F48}.Debug|x86.Build.0 = Debug|Win32 20 | {619D8976-E954-4A26-9876-A549DBC68F48}.Release|x64.ActiveCfg = Release|x64 21 | {619D8976-E954-4A26-9876-A549DBC68F48}.Release|x64.Build.0 = Release|x64 22 | {619D8976-E954-4A26-9876-A549DBC68F48}.Release|x86.ActiveCfg = Release|Win32 23 | {619D8976-E954-4A26-9876-A549DBC68F48}.Release|x86.Build.0 = Release|Win32 24 | EndGlobalSection 25 | GlobalSection(SolutionProperties) = preSolution 26 | HideSolutionNode = FALSE 27 | EndGlobalSection 28 | GlobalSection(ExtensibilityGlobals) = postSolution 29 | SolutionGuid = {131A9B8C-4015-41F0-BB50-02F83A081002} 30 | EndGlobalSection 31 | EndGlobal 32 | -------------------------------------------------------------------------------- /Practical work Algorithm/Practical work Algorithm.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio Version 17 4 | VisualStudioVersion = 17.7.34024.191 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Practical work Algorithm", "Practical work Algorithm.vcxproj", "{211C8BC5-1C20-47A7-B394-BFB6D1AE16DF}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|x64 = Debug|x64 11 | Debug|x86 = Debug|x86 12 | Release|x64 = Release|x64 13 | Release|x86 = Release|x86 14 | EndGlobalSection 15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 16 | {211C8BC5-1C20-47A7-B394-BFB6D1AE16DF}.Debug|x64.ActiveCfg = Debug|x64 17 | {211C8BC5-1C20-47A7-B394-BFB6D1AE16DF}.Debug|x64.Build.0 = Debug|x64 18 | {211C8BC5-1C20-47A7-B394-BFB6D1AE16DF}.Debug|x86.ActiveCfg = Debug|Win32 19 | {211C8BC5-1C20-47A7-B394-BFB6D1AE16DF}.Debug|x86.Build.0 = Debug|Win32 20 | {211C8BC5-1C20-47A7-B394-BFB6D1AE16DF}.Release|x64.ActiveCfg = Release|x64 21 | {211C8BC5-1C20-47A7-B394-BFB6D1AE16DF}.Release|x64.Build.0 = Release|x64 22 | {211C8BC5-1C20-47A7-B394-BFB6D1AE16DF}.Release|x86.ActiveCfg = Release|Win32 23 | {211C8BC5-1C20-47A7-B394-BFB6D1AE16DF}.Release|x86.Build.0 = Release|Win32 24 | EndGlobalSection 25 | GlobalSection(SolutionProperties) = preSolution 26 | HideSolutionNode = FALSE 27 | EndGlobalSection 28 | GlobalSection(ExtensibilityGlobals) = postSolution 29 | SolutionGuid = {94AD9A15-9E12-4220-9E6F-D90992FD9C70} 30 | EndGlobalSection 31 | EndGlobal 32 | -------------------------------------------------------------------------------- /Practical work Balls/Practical work Balls.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | using namespace std; 3 | 4 | void perestanovka(int* arr, int m, int n, int i, int& count) 5 | { 6 | 7 | if (i == n) // перебрали все элементы массива 8 | { 9 | bool flag = false; 10 | for (int j = 0; j < n; j++) 11 | { 12 | if (arr[j] == j + 1) // найдено совпадение 13 | { 14 | flag = true; 15 | break; 16 | } 17 | } 18 | if (flag) // одно совпадение = перестановка 19 | { 20 | for (int j = 0; j < n; j++) 21 | { 22 | cout << arr[j] << " "; 23 | } 24 | cout << endl; 25 | count++; 26 | } 27 | } 28 | else // оставшиеся элементы массива 29 | { 30 | for (int j = i; j < n; j++) 31 | { 32 | swap(arr[i], arr[j]); 33 | perestanovka(arr, m, n, i + 1, count); 34 | swap(arr[i], arr[j]); 35 | } 36 | } 37 | } 38 | 39 | int main() 40 | { 41 | setlocale(LC_ALL, "Russian"); 42 | const int n = 10; 43 | int arr[n]; 44 | for (int i = 0; i < n; i++) 45 | { 46 | arr[i] = i + 1; 47 | } 48 | int count = 0; 49 | perestanovka(arr, 1, n, 0, count); 50 | cout << "Общее количество перестановок, имеющих хотя бы одно совпадение: " << count << endl; 51 | return 0; 52 | } 53 | 54 | // 1 = 1 , 2 = 1 , 3 = 4 , 4 = 15 , 5 = 76 , 6 = 455 , 7 = 3186 , 8 = 25487 , 9 = 229384, 10 = 2293839 ... Перебор запущен в 12:24, искомый найден в 12:57 -------------------------------------------------------------------------------- /Practical work Balls/Practical work Balls v2.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | using namespace std; 5 | 6 | // Функция для вычисления количества ситуаций 7 | unsigned int countS(unsigned int n) 8 | { 9 | // Базовый случай: для n=1 и n=2 возвращаем 1 10 | if (n == 1 || n == 2) 11 | { 12 | return 1; 13 | } 14 | 15 | // Инициализация переменных для хранения значений в последовательности 16 | unsigned int kn_minus_2 = 1; // k1 17 | unsigned int kn_minus_1 = 1; // k2 18 | unsigned int kn; // текущее kn 19 | 20 | // Цикл для вычисления значений последовательности от 3 до n 21 | for (unsigned int i = 3; i <= n; ++i) 22 | { 23 | // Формула для вычисления текущего значения 24 | kn = (kn_minus_1 + kn_minus_2) * (i - 1); 25 | 26 | // Обновление предыдущих значений для следующей итерации 27 | kn_minus_2 = kn_minus_1; 28 | kn_minus_1 = kn; 29 | } 30 | 31 | // Возвращение последнего значения в последовательности 32 | return kn; 33 | } 34 | 35 | // Основная программа 36 | int main() 37 | { 38 | setlocale(LC_ALL, "Russian"); 39 | 40 | // Ввод значения n с клавиатуры 41 | double input; 42 | cout << "Введите [ n ] - исходное количество шариков: "; 43 | 44 | // Проверка на ввод положительных целых чисел 45 | while (true) 46 | { 47 | cin >> input; 48 | 49 | if (cin.fail() || input <= 0 || input != static_cast(input)) 50 | { 51 | cin.clear(); // сброс флага ошибки 52 | cin.ignore(numeric_limits::max(), '\n'); // очистка ввода 53 | cout << "Пожалуйста, введите положительное целое число: "; 54 | } 55 | else 56 | { 57 | break; 58 | } 59 | } 60 | 61 | // Приведение типа и вызов функции для вычисления количества ситуаций 62 | unsigned int n = static_cast(input); 63 | unsigned int result = countS(n); 64 | 65 | // Вывод результата на экран 66 | cout << "[ k ] - искомое количество ситуаций: " << result << endl; 67 | } 68 | -------------------------------------------------------------------------------- /Practical work Spinner/Practical work Spinner.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | using namespace std; 5 | 6 | void Spinner_1() 7 | { 8 | int A, B, C; 9 | cin >> A >> B >> C; 10 | int N = (C - A) / B; 11 | cout << N << endl; 12 | } 13 | 14 | void Spinner_2() 15 | { 16 | int n; 17 | int count_3 = 0, count_4 = 0; 18 | 19 | cout << "Введите количество лопастей: "; 20 | cin >> n; 21 | 22 | while (n >= 3) 23 | { 24 | if (n % 3 == 0) 25 | { 26 | count_3++; 27 | n -= 3; 28 | } 29 | else { 30 | count_4++; 31 | n -= 4; 32 | } 33 | } 34 | cout << count_3 << " " << count_4 << endl; 35 | } 36 | 37 | void Spinner_3() 38 | { 39 | int n, m; 40 | cin >> n >> m; 41 | long long ans = 0; 42 | for (int i = 1; i <= n; i++) 43 | { 44 | for (int j = 1; j <= m; j++) 45 | { 46 | ans += (n - i + 1) * (m - j + 1); // формула для количества прямоугольников 47 | } 48 | } 49 | cout << ans << endl; 50 | } 51 | 52 | void Spinner_4() 53 | { 54 | int n; 55 | cout << "Введите количество свободных мест: "; 56 | cin >> n; 57 | vector seats(n); 58 | for (int i = 0; i < n; i++) 59 | { 60 | cin >> seats[i]; 61 | } 62 | 63 | sort(seats.begin(), seats.end()); // сортировка номера свободных мест 64 | int max_coupes = 0; 65 | int coupes = 0; 66 | int coupe = 0; 67 | 68 | for (int i = 0; i < n; i++) 69 | { 70 | int it_coupe = (seats[i] - 1) / 4; // номер купе для текущего свободного места 71 | if (seats[i] >= 37) // если свободное место находится справа от прохода 72 | { 73 | it_coupe = 8 - it_coupe; // противоположная нумерация купе 74 | } 75 | if (i == 0 || it_coupe == coupe + 1) // текущее свободное место идет за предыдущим в подряд идущем купе 76 | { 77 | coupes++; 78 | } 79 | else { 80 | max_coupes = max(max_coupes, coupes); // максимальное число подряд идущих купе 81 | coupes = 0; 82 | } 83 | coupe = it_coupe; 84 | } 85 | max_coupes = max(max_coupes, coupes); // последнее последовательность купе 86 | cout << max_coupes << endl; 87 | } 88 | 89 | void Spinner_5() 90 | { 91 | int N, K; 92 | cout << "N: "; 93 | cin >> N; 94 | cout << "K: "; 95 | cin >> K; 96 | 97 | while (K != 1) 98 | { 99 | N = (N - K % 2) / 2; 100 | K = K / 2; 101 | } 102 | 103 | cout << (N - 1) / 2 << endl; 104 | cout << N / 2 << endl; 105 | } 106 | 107 | int main() 108 | { 109 | setlocale(LC_ALL, "Russian"); 110 | // Spinner_1(); 111 | // Spinner_2(); 112 | // Spinner_3(); 113 | // Spinner_4(); 114 | Spinner_5(); 115 | } -------------------------------------------------------------------------------- /Practical work 3/18092023.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | #include 5 | #include 6 | #include 7 | #include 8 | using namespace std; 9 | 10 | float getPower(double x, double a) 11 | { 12 | double betw = 1; 13 | for (; a--; a > 0) 14 | { 15 | betw *= x; 16 | } 17 | return(betw); 18 | } 19 | float getR(float p) 20 | { 21 | return(p / float(100)); 22 | } 23 | 24 | void Number_1() 25 | { 26 | double S, p, n, r, m; 27 | cout << "Введите займ (S) рублей: "; 28 | cin >> S; 29 | cout << "Введите (%) p: "; 30 | cin >> p; 31 | cout << "Введите на сколько лет (n): "; 32 | cin >> n; 33 | 34 | if (S <= p || p <= n || S <= n || S <= 0 || n <= 0) 35 | { 36 | cout << "Введите корректные значения для (S), (p) и (n) | -> (S > p > n)"; 37 | return; 38 | } 39 | 40 | r = p / 100.0; 41 | 42 | if (n == 0) 43 | { 44 | cout << "(m) Месячная выплата равна: " << S / (12 * n); 45 | } 46 | else if (r == 0) 47 | { 48 | cout << "(m) Месячная выплата равна: " << S / (12 * n); 49 | } 50 | else 51 | { 52 | m = (S * r * pow(1 + r, n)) / (12 * (pow(1 + r, n) - 1)); 53 | cout << "(m) Месячная выплата равна: " << m; 54 | } 55 | } 56 | 57 | void Number_2() 58 | { 59 | double S, m, n, eps; 60 | double p = 0; 61 | cout << "Величина ссуды (S): "; 62 | cin >> S; 63 | cout << "Месячная выплата (m): "; 64 | cin >> m; 65 | cout << "Количество лет (n): "; 66 | cin >> n; 67 | cout << "Погрешность результата (1e-8): "; 68 | cin >> eps; 69 | 70 | if ((m == 0) and (S == 0)) 71 | { 72 | cout << "Вводимый (%) может быть любым, либо его нет"; 73 | return; 74 | } 75 | 76 | else if ((m < 0) or (n <= 0) or (((m != 0) and (S == 0)) or ((m == 0) and (S != 0)))) 77 | { 78 | cout << "Решение отсутствует, введите корректные значения (S), (m), (n) "; 79 | return; 80 | } 81 | 82 | double coef = 100; 83 | for (int i1 = coef * 100; i1 -= 1; i1 >= 0) 84 | { 85 | double m2 = S * getR(double(i1) / coef) * getPower(1 + getR(double(i1) / coef), n) / (12 * (getPower(1 + getR(double(i1) / coef), n) - 1)); 86 | if (abs((m2)-m) < eps) 87 | { 88 | p = (double(i1) / coef); 89 | } 90 | } 91 | 92 | cout << "P(%) под который выдана ссуда (S): " << p << endl; 93 | } 94 | 95 | void Number_3() 96 | { 97 | ofstream file("Number_3.txt"); 98 | if (file.is_open()) 99 | { 100 | string text; 101 | cout << "Введите текст: "; 102 | getline(cin, text); 103 | file << text; 104 | file.close(); 105 | } 106 | 107 | ifstream fin("Number_3.txt"); 108 | if (fin.is_open()) 109 | { 110 | string line; 111 | while (getline(fin, line)) 112 | { 113 | cout << line << endl; 114 | } 115 | fin.close(); 116 | } 117 | } 118 | 119 | void Number_4() 120 | { 121 | ofstream file("Number_4.txt"); 122 | if (file.is_open()) 123 | { 124 | string text; 125 | cout << "Введите текст: "; 126 | getline(cin, text); 127 | file << text; 128 | file.close(); 129 | } 130 | 131 | ifstream fin("Number_4.txt"); 132 | if (fin.is_open()) 133 | { 134 | string line; 135 | char ch; 136 | while (fin.get(ch)) 137 | { 138 | if (ch >= '0' && ch <= '9') 139 | { 140 | cout << ch; 141 | } 142 | } 143 | fin.close(); 144 | } 145 | } 146 | 147 | void Number_5() 148 | { 149 | string x; 150 | int i = 0; 151 | getline(cin, x); 152 | 153 | 154 | for (int i = 0; i < x.length() - 1; i++) 155 | { 156 | for (int j = i; j < x.length() - 1; j++) 157 | { 158 | if (x[i] > x[j + 1]) 159 | { 160 | swap(x[i], x[j + 1]); 161 | } 162 | } 163 | } 164 | cout << x.substr(count(x.begin(), x.end(), ' '), x.length()) << endl; 165 | } 166 | 167 | int main() 168 | { 169 | setlocale(LC_ALL, "rus"); 170 | Number_1(); 171 | // Number_2(); 172 | // Number_3(); 173 | // Number_4(); 174 | // Number_5(); 175 | } -------------------------------------------------------------------------------- /Practical work 2/11092023.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | #include 5 | using namespace std; 6 | 7 | void Number_1() 8 | { 9 | double R, r, h, V, S, l; 10 | const double PI = 3.14; 11 | 12 | cout << "[ Number 1 ]" << endl; 13 | cout << "Введите значения R, r и h для усечённого конуса" << endl; 14 | 15 | cout << "Введите радиус большего основания [ R ]: "; 16 | cin >> R; 17 | cout << "Введите радиус меньшего основания [ r ]: "; 18 | cin >> r; 19 | cout << "Введите высоту [ h ]: "; 20 | cin >> h; 21 | 22 | if (R <= 0 or r <= 0 or h <= 0) 23 | { 24 | cout << "Введите корректное значение! Радиусы и высота должны быть положительными числами." << endl; 25 | } 26 | else 27 | { 28 | l = sqrt(pow(R - r, 2) + pow(h, 2)); 29 | S = PI * (pow(R, 2) + (R + r) * l + pow(r, 2)); 30 | V = 0.33333333 * PI * h * (pow(R, 2) + R * r + pow(r, 2)); 31 | } 32 | 33 | cout << "Образующай конуса l = " << l << endl; 34 | cout << "Площадь конуса S = " << S << endl; 35 | cout << "Объём конуса V = " << V << endl; 36 | } 37 | 38 | void Number_2() 39 | float getPower(double x, double a) { 40 | double betw = 1; 41 | for (; a--; a > 0) { 42 | betw *= x; 43 | } 44 | return(betw); 45 | } 46 | float getR(float p) { 47 | return(p / float(100)); 48 | } 49 | 50 | cout << m << " - месячная выплата"; 51 | } { 52 | double S, m, n; 53 | cout << "Введите величину ссуды" << endl; 54 | cin >> S; 55 | cout << "Введите месячную выплату" << endl; 56 | cin >> m; 57 | cout << "Введите количество лет" << endl; 58 | cin >> n; 59 | if ((m == 0) and (S == 0)) { 60 | cout << "процент может быть любым, т.к. выплаты всегда 0 (либо их нет)"; 61 | return; 62 | } 63 | else if ((m < 0) or (n <= 0) or (((m != 0) and (S == 0)) or ((m == 0) and (S != 0)))) { 64 | cout << "Решений нет"; 65 | return; 66 | } 67 | int countOfDecisions = 0; 68 | double lastDecision = 0; 69 | double range = 0; 70 | double coef = 10; 71 | while (true) { 72 | for (int i1 = coef * 1000; i1 -= 1; i1 > 0) { 73 | //cout << i1 << endl; 74 | double m2 = S * getR(double(i1) / coef) * getPower(1 + getR(double(i1) / coef), n) / (12 * (getPower(1 + getR(double(i1) / coef), n) - 1)); 75 | //cout << m2 << endl; 76 | if (abs((m2)-m) < range) { 77 | lastDecision = double(i1) / coef; 78 | countOfDecisions++; //cout << "ссуда выдана под " << i1 << "%"; 79 | } 80 | } 81 | if (countOfDecisions == 1) { 82 | if (lastDecision <= (1 / coef + 1e-8)) { cout << "Так нельзя"; return; } 83 | cout << "ссуда выдана под " << lastDecision << "%"; 84 | return; 85 | } 86 | else if (countOfDecisions > 1) { cout << range << "Ошибка"; return; } 87 | else { 88 | range += 0.001; 89 | } 90 | } 91 | cout << "END"; 92 | } 93 | 94 | void Number_3() 95 | { 96 | double x, y, b, z; 97 | cout << "[ Number 3 ]" << endl; 98 | 99 | cout << "Введите x = "; 100 | cin >> x; 101 | cout << "Введите y = "; 102 | cin >> y; 103 | cout << "Введите b = "; 104 | cin >> b; 105 | 106 | if (b - y <= 0 or b - x < 0 or b - y < 0) 107 | { 108 | cout << "Коэффициент log() не может быть меньше или равен 0"; 109 | } 110 | 111 | else 112 | { 113 | z = log(b - y) * sqrt(b - x); 114 | cout << "z = " << z; 115 | } 116 | } 117 | 118 | void Number_4() 119 | { 120 | float n, i; 121 | float y; 122 | cout << "[ Number 4 ]" << endl; 123 | 124 | 125 | cout << "Введите производное число N: "; 126 | cin >> n; 127 | y = floor (n); 128 | 129 | if (n > y) 130 | { 131 | y++; 132 | } 133 | 134 | if (n <= 0) 135 | { 136 | y = 1; 137 | } 138 | 139 | for (i = y; i < (y+10); i++) 140 | { 141 | cout << i << endl; 142 | } 143 | } 144 | 145 | void Number_5() 146 | { 147 | float x, y; 148 | cout << "[ Number 5 ]" << endl; 149 | 150 | for (x = -4; x <= 4; x += 0.5) 151 | { 152 | y = (x * x - 2 * x + 2) / (x - 1); 153 | 154 | if (x - 1 == 0) 155 | { 156 | cout << "x (" << x << ") | y = " << "Нельзя делать деление на нуль!" << endl; 157 | } 158 | else 159 | { 160 | cout << "x (" << x << ") | y = " << y << endl; 161 | } 162 | } 163 | } 164 | 165 | 166 | int main() 167 | { 168 | setlocale(0, "Russian"); 169 | // Number_1(); 170 | Number_2(); 171 | //Number_3(); 172 | // Number_4(); 173 | //Number_5(); 174 | } -------------------------------------------------------------------------------- /Practical work Game C++/Practical work Game C++.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | #include 5 | 6 | using namespace std; 7 | 8 | struct Pig { 9 | int number; 10 | string geneticCode; 11 | int hunger; // уровень сытости 12 | int thirst; // уровень жажды 13 | int age; // возраст свиньи 14 | }; 15 | 16 | bool isPigDead(const Pig& pig) { 17 | return pig.hunger <= 20 || pig.thirst <= 20 || pig.age > 15; 18 | } 19 | 20 | int main() { 21 | setlocale(LC_ALL, "Russian"); 22 | 23 | vector population; 24 | vector nextGeneration; // Для следующего поколения 25 | 26 | // Генератор случайных чисел 27 | random_device rd; 28 | mt19937 gen(rd()); 29 | uniform_int_distribution changeDistribution(-10, 10); // Диапазон изменения сытости и жажды 30 | uniform_int_distribution initialHungerDistribution(0, 100); // Начальный уровень сытости 31 | uniform_int_distribution initialThirstDistribution(0, 100); // Начальный уровень жажды 32 | uniform_int_distribution geneticCodeDistribution(100000, 999999); // Генетический код 33 | 34 | int generation = 1; 35 | int bornCount = 0; 36 | int diedCount = 0; 37 | 38 | int initialPopulationSize; 39 | cout << "Введите начальное количество свиней: "; 40 | cin >> initialPopulationSize; 41 | 42 | // Создание начальной популяции с заданным количеством свиней 43 | for (int i = 0; i < initialPopulationSize; ++i) { 44 | Pig pig; 45 | pig.number = i + 1; 46 | pig.geneticCode = to_string(geneticCodeDistribution(gen)); // Генерация случайного генетического кода 47 | pig.hunger = initialHungerDistribution(gen); 48 | pig.thirst = initialThirstDistribution(gen); 49 | pig.age = 1; // Возраст в первом поколении начинается с 1 50 | population.push_back(pig); 51 | } 52 | 53 | int reproductionChance; 54 | cout << "Введите шанс на потомство (0-100%): "; 55 | cin >> reproductionChance; 56 | 57 | while (true) { 58 | cout << "Поколение " << generation << ":\n"; 59 | 60 | // Вывод информации о свиньях текущего поколения и проверка на смерть 61 | for (int i = 0; i < population.size(); ++i) { 62 | cout << " | Номер свиньи: " << population[i].number; 63 | cout << " | Генетический код: " << population[i].geneticCode; 64 | cout << " | Возраст: " << population[i].age; 65 | cout << " | Уровень сытости: " << population[i].hunger; 66 | cout << " | Уровень жажды: " << population[i].thirst; 67 | 68 | if (isPigDead(population[i])) { 69 | cout << " | [*] Умерла"; 70 | diedCount++; 71 | } 72 | else { 73 | // Если свинья выжила, добавляем её в следующее поколение 74 | nextGeneration.push_back(population[i]); 75 | 76 | // С шансом на потомство свинья может родить потомство, при условии, что в текущем поколении живы две свиньи 77 | if (gen() % 100 < reproductionChance && nextGeneration.size() >= 2) { 78 | Pig child; 79 | child.number = generation * 10 + i + 1; 80 | child.geneticCode = to_string(geneticCodeDistribution(gen)); // Генетический код 81 | child.hunger = 100; // Уровень сытости новорожденной свинки равен 100 82 | child.thirst = 100; // Уровень жажды новорожденной свинки равен 100 83 | child.age = 1; // Возраст новорожденной свинки 84 | nextGeneration.push_back(child); 85 | bornCount++; 86 | cout << " | [*] Родила потомство"; 87 | } 88 | } 89 | 90 | cout << "\n\n"; 91 | } 92 | 93 | // Заменяем текущее поколение следующим 94 | population = nextGeneration; 95 | nextGeneration.clear(); 96 | 97 | // Генерация новых значений голода и жажды для следующего поколения с ограничением до максимума 100 98 | for (Pig& pig : population) { 99 | pig.hunger = min(100, max(0, pig.hunger + changeDistribution(gen))); 100 | pig.thirst = min(100, max(0, pig.thirst + changeDistribution(gen))); 101 | pig.age++; // Увеличение возраста свиньи 102 | } 103 | 104 | if (population.size() <= 1) { 105 | cout << "Осталась 1 свинья | Прожито " << generation << " поколений.\n" << endl; 106 | break; 107 | } 108 | 109 | generation++; 110 | } 111 | 112 | // Вывод сводки 113 | cout << "Итоговая сводка:\n"; 114 | cout << "Всего родилось свиней: " << bornCount << endl; 115 | cout << "Всего умерло свиней: " << diedCount << endl; 116 | 117 | return 0; 118 | } 119 | -------------------------------------------------------------------------------- /Practical work 1/04092023.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | #include 5 | using namespace std; 6 | 7 | void Number_1() 8 | { 9 | cout << endl; 10 | cout << "[ Number 1 ] Меня зовут Егор." << endl; 11 | cout << endl; 12 | } 13 | 14 | void Number_2() 15 | { 16 | double a, b; 17 | cout << "[ Number 2 ]" << endl; 18 | cout << "Введите число [ a ]: "; 19 | cin >> a; 20 | cout << "Введите число [ b ]: "; 21 | cin >> b; 22 | 23 | cout << endl; 24 | 25 | cout << "Сумма: " << a + b << endl; 26 | cout << "Разность: " << a - b << endl; 27 | cout << "Произведение: " << a * b << endl; 28 | 29 | if (b != 0) 30 | { 31 | cout << "Частное: " << a / b << endl; 32 | cout << endl; 33 | } 34 | 35 | else 36 | { 37 | cout << "Частное: Деление на 0 невозможно" << endl; 38 | cout << endl; 39 | } 40 | } 41 | 42 | void Number_3() 43 | { 44 | double b, c; 45 | cout << "[ Number 3 ]" << endl; 46 | cout << "Введите значения b и c для уравнения bx + c = 0" << endl; 47 | 48 | cout << "Введите число [ b ]: "; 49 | cin >> b; 50 | cout << "Введите число [ c ]: "; 51 | cin >> c; 52 | 53 | if (b == 0) 54 | { 55 | if (c == 0) 56 | { 57 | cout << "Уравнение имеет бесконечно много решений" << endl; 58 | cout << endl; 59 | } 60 | else 61 | { 62 | cout << "Уравнение не имеет решений" << endl; 63 | cout << endl; 64 | } 65 | } 66 | else 67 | { 68 | double x = (-c / b); 69 | cout << "Решение уравнения: x = " << x << endl; 70 | cout << endl; 71 | } 72 | } 73 | 74 | void Number_4() 75 | { 76 | double a, b, c, x1, x2, D; 77 | 78 | cout << "[ Number 4 ]" << endl; 79 | cout << "Введите значения a, b и c для уравнения ax^2 + bx + c = 0" << endl; 80 | 81 | cout << "Введите число [ a ]: "; 82 | cin >> a; 83 | cout << "Введите число [ b ]: "; 84 | cin >> b; 85 | cout << "Введите число [ c ]: "; 86 | cin >> c; 87 | 88 | if (a == 0) 89 | { 90 | if (b == 0) 91 | { 92 | { 93 | cout << "Уравнение не является квадратным "; 94 | } 95 | 96 | if (c == 0) 97 | 98 | { 99 | cout << "Уравнение имеет бесконечно много решений " << endl; 100 | } 101 | 102 | else 103 | { 104 | cout << "Уравнение не имеет решений " << endl; 105 | } 106 | } 107 | else 108 | { 109 | double x = (-c / b); 110 | cout << "Уравнение имеет одно решение: x = " << x << endl; 111 | } 112 | } 113 | else 114 | { 115 | D = b * b - 4 * a * c; 116 | cout << "Дискриминант равен: " << D << endl; 117 | 118 | if (D > 0) 119 | { 120 | x1 = (-b + sqrt(D)) / (2 * a); 121 | x2 = (-b - sqrt(D)) / (2 * a); 122 | cout << "Уравнение имеет два корня: x1 = " << x1 << ", x2 = " << x2 << endl; 123 | } 124 | else if (D == 0) 125 | { 126 | x1 = -b / (2 * a); 127 | cout << "Уравнение имеет один корень: x = " << x1 << endl; 128 | } 129 | else 130 | { 131 | cout << "Уравнение не имеет корней" << endl; 132 | } 133 | } 134 | cout << endl; 135 | } 136 | 137 | void Number_5() 138 | { 139 | bool day, sht, lamp; 140 | 141 | cout << "[ Number 5 ]" << endl; 142 | cout << "День ли на улице?" << endl; 143 | cout << "Введите [ 1 - да ] или [ 0 - нет ]: "; 144 | 145 | while (!(cin >> day) || (day != 0 && day != 1)) 146 | { 147 | cout << "Ошибка ввода! 1 или 0! "; 148 | cin.clear(); 149 | } 150 | 151 | if (day == 1) 152 | { 153 | day == true; 154 | } 155 | 156 | if (day == 0) 157 | { 158 | day == false; 159 | } 160 | 161 | cout << "Раздвинуты ли шторы?" << endl; 162 | cout << "Введите [ 1 - да ] или [ 0 - нет ]: "; 163 | 164 | while (!(cin >> sht) || (sht != 0 && sht != 1)) 165 | { 166 | cout << "Ошибка ввода! 1 или 0! "; 167 | cin.clear(); 168 | } 169 | 170 | if (sht == 1) 171 | { 172 | sht == true; 173 | } 174 | 175 | if (sht == 0) 176 | { 177 | sht == false; 178 | } 179 | 180 | cout << "Включена ли лампа?" << endl; 181 | cout << "Введите [ 1 - да ] или [ 0 - нет ]: "; 182 | 183 | while (!(cin >> lamp) || (lamp != 0 && lamp != 1)) 184 | { 185 | cout << "Ошибка ввода! 1 или 0! "; 186 | cin.clear(); 187 | } 188 | 189 | if (lamp == 1) 190 | { 191 | lamp == true; 192 | } 193 | 194 | if (lamp == 0) 195 | { 196 | lamp == false; 197 | } 198 | 199 | if (lamp == true) 200 | { 201 | cout << "В комнате: Светло"; 202 | } 203 | 204 | else if (day == true and sht == true) 205 | { 206 | cout << "В комнате: Светло"; 207 | } 208 | 209 | else 210 | { 211 | cout << "В комнате: Темно"; 212 | } 213 | } 214 | 215 | int main() 216 | { 217 | setlocale(0, "Russian"); 218 | // Number_1(); 219 | // Number_2(); 220 | // Number_3(); 221 | Number_4(); 222 | // Number_5(); 223 | } -------------------------------------------------------------------------------- /Practical work 1/04092023.vcxproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Debug 6 | Win32 7 | 8 | 9 | Release 10 | Win32 11 | 12 | 13 | Debug 14 | x64 15 | 16 | 17 | Release 18 | x64 19 | 20 | 21 | 22 | 17.0 23 | Win32Proj 24 | {2eac3cd6-d59c-423c-8768-37aeb3554958} 25 | My04092023 26 | 10.0 27 | 28 | 29 | 30 | Application 31 | true 32 | v143 33 | Unicode 34 | 35 | 36 | Application 37 | false 38 | v143 39 | true 40 | Unicode 41 | 42 | 43 | Application 44 | true 45 | v143 46 | Unicode 47 | 48 | 49 | Application 50 | false 51 | v143 52 | true 53 | Unicode 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | Level3 76 | true 77 | WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) 78 | true 79 | 80 | 81 | Console 82 | true 83 | 84 | 85 | 86 | 87 | Level3 88 | true 89 | true 90 | true 91 | WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) 92 | true 93 | 94 | 95 | Console 96 | true 97 | true 98 | true 99 | 100 | 101 | 102 | 103 | Level3 104 | true 105 | _DEBUG;_CONSOLE;%(PreprocessorDefinitions) 106 | true 107 | 108 | 109 | Console 110 | true 111 | 112 | 113 | 114 | 115 | Level3 116 | true 117 | true 118 | true 119 | NDEBUG;_CONSOLE;%(PreprocessorDefinitions) 120 | true 121 | 122 | 123 | Console 124 | true 125 | true 126 | true 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | -------------------------------------------------------------------------------- /Practical work 2/11092023.vcxproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Debug 6 | Win32 7 | 8 | 9 | Release 10 | Win32 11 | 12 | 13 | Debug 14 | x64 15 | 16 | 17 | Release 18 | x64 19 | 20 | 21 | 22 | 17.0 23 | Win32Proj 24 | {2b02b425-b810-45e1-b589-45ad92ba467a} 25 | My11092023 26 | 10.0 27 | 28 | 29 | 30 | Application 31 | true 32 | v143 33 | Unicode 34 | 35 | 36 | Application 37 | false 38 | v143 39 | true 40 | Unicode 41 | 42 | 43 | Application 44 | true 45 | v143 46 | Unicode 47 | 48 | 49 | Application 50 | false 51 | v143 52 | true 53 | Unicode 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | Level3 76 | true 77 | WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) 78 | true 79 | 80 | 81 | Console 82 | true 83 | 84 | 85 | 86 | 87 | Level3 88 | true 89 | true 90 | true 91 | WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) 92 | true 93 | 94 | 95 | Console 96 | true 97 | true 98 | true 99 | 100 | 101 | 102 | 103 | Level3 104 | true 105 | _DEBUG;_CONSOLE;%(PreprocessorDefinitions) 106 | true 107 | 108 | 109 | Console 110 | true 111 | 112 | 113 | 114 | 115 | Level3 116 | true 117 | true 118 | true 119 | NDEBUG;_CONSOLE;%(PreprocessorDefinitions) 120 | true 121 | 122 | 123 | Console 124 | true 125 | true 126 | true 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | -------------------------------------------------------------------------------- /Practical work 3/18092023.vcxproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Debug 6 | Win32 7 | 8 | 9 | Release 10 | Win32 11 | 12 | 13 | Debug 14 | x64 15 | 16 | 17 | Release 18 | x64 19 | 20 | 21 | 22 | 17.0 23 | Win32Proj 24 | {e0fe5f32-8e8e-474a-afd8-56868dbca819} 25 | My18092023 26 | 10.0 27 | 28 | 29 | 30 | Application 31 | true 32 | v143 33 | Unicode 34 | 35 | 36 | Application 37 | false 38 | v143 39 | true 40 | Unicode 41 | 42 | 43 | Application 44 | true 45 | v143 46 | Unicode 47 | 48 | 49 | Application 50 | false 51 | v143 52 | true 53 | Unicode 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | Level3 76 | true 77 | WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) 78 | true 79 | 80 | 81 | Console 82 | true 83 | 84 | 85 | 86 | 87 | Level3 88 | true 89 | true 90 | true 91 | WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) 92 | true 93 | 94 | 95 | Console 96 | true 97 | true 98 | true 99 | 100 | 101 | 102 | 103 | Level3 104 | true 105 | _DEBUG;_CONSOLE;%(PreprocessorDefinitions) 106 | true 107 | 108 | 109 | Console 110 | true 111 | 112 | 113 | 114 | 115 | Level3 116 | true 117 | true 118 | true 119 | NDEBUG;_CONSOLE;%(PreprocessorDefinitions) 120 | true 121 | 122 | 123 | Console 124 | true 125 | true 126 | true 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | -------------------------------------------------------------------------------- /Practical work 4/02102023.vcxproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Debug 6 | Win32 7 | 8 | 9 | Release 10 | Win32 11 | 12 | 13 | Debug 14 | x64 15 | 16 | 17 | Release 18 | x64 19 | 20 | 21 | 22 | 17.0 23 | Win32Proj 24 | {e502b8a2-2869-4992-9e38-22ef9d5b496a} 25 | My02102023 26 | 10.0 27 | 28 | 29 | 30 | Application 31 | true 32 | v143 33 | Unicode 34 | 35 | 36 | Application 37 | false 38 | v143 39 | true 40 | Unicode 41 | 42 | 43 | Application 44 | true 45 | v143 46 | Unicode 47 | 48 | 49 | Application 50 | false 51 | v143 52 | true 53 | Unicode 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | Level3 76 | true 77 | WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) 78 | true 79 | 80 | 81 | Console 82 | true 83 | 84 | 85 | 86 | 87 | Level3 88 | true 89 | true 90 | true 91 | WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) 92 | true 93 | 94 | 95 | Console 96 | true 97 | true 98 | true 99 | 100 | 101 | 102 | 103 | Level3 104 | true 105 | _DEBUG;_CONSOLE;%(PreprocessorDefinitions) 106 | true 107 | 108 | 109 | Console 110 | true 111 | 112 | 113 | 114 | 115 | Level3 116 | true 117 | true 118 | true 119 | NDEBUG;_CONSOLE;%(PreprocessorDefinitions) 120 | true 121 | 122 | 123 | Console 124 | true 125 | true 126 | true 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | -------------------------------------------------------------------------------- /Practical work 5/09102023.vcxproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Debug 6 | Win32 7 | 8 | 9 | Release 10 | Win32 11 | 12 | 13 | Debug 14 | x64 15 | 16 | 17 | Release 18 | x64 19 | 20 | 21 | 22 | 17.0 23 | Win32Proj 24 | {6049f42a-0422-40b9-96ce-0b5bddfab93d} 25 | My09102023 26 | 10.0 27 | 28 | 29 | 30 | Application 31 | true 32 | v143 33 | Unicode 34 | 35 | 36 | Application 37 | false 38 | v143 39 | true 40 | Unicode 41 | 42 | 43 | Application 44 | true 45 | v143 46 | Unicode 47 | 48 | 49 | Application 50 | false 51 | v143 52 | true 53 | Unicode 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | Level3 76 | true 77 | WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) 78 | true 79 | 80 | 81 | Console 82 | true 83 | 84 | 85 | 86 | 87 | Level3 88 | true 89 | true 90 | true 91 | WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) 92 | true 93 | 94 | 95 | Console 96 | true 97 | true 98 | true 99 | 100 | 101 | 102 | 103 | Level3 104 | true 105 | _DEBUG;_CONSOLE;%(PreprocessorDefinitions) 106 | true 107 | 108 | 109 | Console 110 | true 111 | 112 | 113 | 114 | 115 | Level3 116 | true 117 | true 118 | true 119 | NDEBUG;_CONSOLE;%(PreprocessorDefinitions) 120 | true 121 | 122 | 123 | Console 124 | true 125 | true 126 | true 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | -------------------------------------------------------------------------------- /Practical work 5/Second Practical work/5.vcxproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Debug 6 | Win32 7 | 8 | 9 | Release 10 | Win32 11 | 12 | 13 | Debug 14 | x64 15 | 16 | 17 | Release 18 | x64 19 | 20 | 21 | 22 | 17.0 23 | Win32Proj 24 | {5b0af2f7-c1fe-4d22-951d-e10891e91da5} 25 | My5 26 | 10.0 27 | 28 | 29 | 30 | Application 31 | true 32 | v143 33 | Unicode 34 | 35 | 36 | Application 37 | false 38 | v143 39 | true 40 | Unicode 41 | 42 | 43 | Application 44 | true 45 | v143 46 | Unicode 47 | 48 | 49 | Application 50 | false 51 | v143 52 | true 53 | Unicode 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | Level3 76 | true 77 | WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) 78 | true 79 | 80 | 81 | Console 82 | true 83 | 84 | 85 | 86 | 87 | Level3 88 | true 89 | true 90 | true 91 | WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) 92 | true 93 | 94 | 95 | Console 96 | true 97 | true 98 | true 99 | 100 | 101 | 102 | 103 | Level3 104 | true 105 | _DEBUG;_CONSOLE;%(PreprocessorDefinitions) 106 | true 107 | 108 | 109 | Console 110 | true 111 | 112 | 113 | 114 | 115 | Level3 116 | true 117 | true 118 | true 119 | NDEBUG;_CONSOLE;%(PreprocessorDefinitions) 120 | true 121 | 122 | 123 | Console 124 | true 125 | true 126 | true 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | -------------------------------------------------------------------------------- /Practical work Balls/Practical work Balls.vcxproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Debug 6 | Win32 7 | 8 | 9 | Release 10 | Win32 11 | 12 | 13 | Debug 14 | x64 15 | 16 | 17 | Release 18 | x64 19 | 20 | 21 | 22 | 17.0 23 | Win32Proj 24 | {3e1bb9e8-f53d-4ba2-b791-48619ffae7f4} 25 | PracticalworkBalls 26 | 10.0 27 | 28 | 29 | 30 | Application 31 | true 32 | v143 33 | Unicode 34 | 35 | 36 | Application 37 | false 38 | v143 39 | true 40 | Unicode 41 | 42 | 43 | Application 44 | true 45 | v143 46 | Unicode 47 | 48 | 49 | Application 50 | false 51 | v143 52 | true 53 | Unicode 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | Level3 76 | true 77 | WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) 78 | true 79 | 80 | 81 | Console 82 | true 83 | 84 | 85 | 86 | 87 | Level3 88 | true 89 | true 90 | true 91 | WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) 92 | true 93 | 94 | 95 | Console 96 | true 97 | true 98 | true 99 | 100 | 101 | 102 | 103 | Level3 104 | true 105 | _DEBUG;_CONSOLE;%(PreprocessorDefinitions) 106 | true 107 | 108 | 109 | Console 110 | true 111 | 112 | 113 | 114 | 115 | Level3 116 | true 117 | true 118 | true 119 | NDEBUG;_CONSOLE;%(PreprocessorDefinitions) 120 | true 121 | 122 | 123 | Console 124 | true 125 | true 126 | true 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | -------------------------------------------------------------------------------- /Practical work Game C++/Practical work Game C++.vcxproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Debug 6 | Win32 7 | 8 | 9 | Release 10 | Win32 11 | 12 | 13 | Debug 14 | x64 15 | 16 | 17 | Release 18 | x64 19 | 20 | 21 | 22 | 17.0 23 | Win32Proj 24 | {619d8976-e954-4a26-9876-a549dbc68f48} 25 | PracticalworkGameC 26 | 10.0 27 | 28 | 29 | 30 | Application 31 | true 32 | v143 33 | Unicode 34 | 35 | 36 | Application 37 | false 38 | v143 39 | true 40 | Unicode 41 | 42 | 43 | Application 44 | true 45 | v143 46 | Unicode 47 | 48 | 49 | Application 50 | false 51 | v143 52 | true 53 | Unicode 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | Level3 76 | true 77 | WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) 78 | true 79 | 80 | 81 | Console 82 | true 83 | 84 | 85 | 86 | 87 | Level3 88 | true 89 | true 90 | true 91 | WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) 92 | true 93 | 94 | 95 | Console 96 | true 97 | true 98 | true 99 | 100 | 101 | 102 | 103 | Level3 104 | true 105 | _DEBUG;_CONSOLE;%(PreprocessorDefinitions) 106 | true 107 | 108 | 109 | Console 110 | true 111 | 112 | 113 | 114 | 115 | Level3 116 | true 117 | true 118 | true 119 | NDEBUG;_CONSOLE;%(PreprocessorDefinitions) 120 | true 121 | 122 | 123 | Console 124 | true 125 | true 126 | true 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | -------------------------------------------------------------------------------- /Practical work Spinner/Practical work Spinner.vcxproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Debug 6 | Win32 7 | 8 | 9 | Release 10 | Win32 11 | 12 | 13 | Debug 14 | x64 15 | 16 | 17 | Release 18 | x64 19 | 20 | 21 | 22 | 17.0 23 | Win32Proj 24 | {681a47d5-b49f-4f37-9d62-e358177b7bd9} 25 | PracticalworkSpinner 26 | 10.0 27 | 28 | 29 | 30 | Application 31 | true 32 | v143 33 | Unicode 34 | 35 | 36 | Application 37 | false 38 | v143 39 | true 40 | Unicode 41 | 42 | 43 | Application 44 | true 45 | v143 46 | Unicode 47 | 48 | 49 | Application 50 | false 51 | v143 52 | true 53 | Unicode 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | Level3 76 | true 77 | WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) 78 | true 79 | 80 | 81 | Console 82 | true 83 | 84 | 85 | 86 | 87 | Level3 88 | true 89 | true 90 | true 91 | WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) 92 | true 93 | 94 | 95 | Console 96 | true 97 | true 98 | true 99 | 100 | 101 | 102 | 103 | Level3 104 | true 105 | _DEBUG;_CONSOLE;%(PreprocessorDefinitions) 106 | true 107 | 108 | 109 | Console 110 | true 111 | 112 | 113 | 114 | 115 | Level3 116 | true 117 | true 118 | true 119 | NDEBUG;_CONSOLE;%(PreprocessorDefinitions) 120 | true 121 | 122 | 123 | Console 124 | true 125 | true 126 | true 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | -------------------------------------------------------------------------------- /Practical work Algorithm/Practical work Algorithm.vcxproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Debug 6 | Win32 7 | 8 | 9 | Release 10 | Win32 11 | 12 | 13 | Debug 14 | x64 15 | 16 | 17 | Release 18 | x64 19 | 20 | 21 | 22 | 17.0 23 | Win32Proj 24 | {211c8bc5-1c20-47a7-b394-bfb6d1ae16df} 25 | PracticalworkAlgorithm 26 | 10.0 27 | 28 | 29 | 30 | Application 31 | true 32 | v143 33 | Unicode 34 | 35 | 36 | Application 37 | false 38 | v143 39 | true 40 | Unicode 41 | 42 | 43 | Application 44 | true 45 | v143 46 | Unicode 47 | 48 | 49 | Application 50 | false 51 | v143 52 | true 53 | Unicode 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | Level3 76 | true 77 | WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) 78 | true 79 | 80 | 81 | Console 82 | true 83 | 84 | 85 | 86 | 87 | Level3 88 | true 89 | true 90 | true 91 | WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) 92 | true 93 | 94 | 95 | Console 96 | true 97 | true 98 | true 99 | 100 | 101 | 102 | 103 | Level3 104 | true 105 | _DEBUG;_CONSOLE;%(PreprocessorDefinitions) 106 | true 107 | 108 | 109 | Console 110 | true 111 | 112 | 113 | 114 | 115 | Level3 116 | true 117 | true 118 | true 119 | NDEBUG;_CONSOLE;%(PreprocessorDefinitions) 120 | true 121 | 122 | 123 | Console 124 | true 125 | true 126 | true 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | -------------------------------------------------------------------------------- /Practical work 5/09102023.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | #include 5 | #include 6 | #include 7 | #include 8 | #include 9 | #include 10 | #include 11 | 12 | using namespace std; 13 | 14 | int euclideanAlgorithm(int a, int b) 15 | { 16 | int remainder; 17 | while (b != 0) 18 | { 19 | remainder = a % b; 20 | a = b; 21 | b = remainder; 22 | } 23 | return a; 24 | } 25 | 26 | void Number_1() 27 | { 28 | int a, b; 29 | cout << "Введите два целых числа: "; 30 | 31 | while (!(cin >> a >> b) || a == 0 || b == 0) 32 | { 33 | cout << "Неверный ввод. Попробуйте снова: "; 34 | cin.clear(); 35 | cin.ignore(numeric_limits::max(), '\n'); 36 | } 37 | 38 | int choice; 39 | cout << "Выберите алгоритм Евклида (1 - делением, 2 - вычитанием): "; 40 | 41 | while (!(cin >> choice)) 42 | { 43 | cout << "Неверный ввод. Попробуйте снова: "; 44 | cin.clear(); 45 | cin.ignore(numeric_limits::max(), '\n'); 46 | } 47 | 48 | int gcd; 49 | switch (choice) 50 | { 51 | case 1: 52 | gcd = euclideanAlgorithm(a, b); 53 | break; 54 | case 2: 55 | if (a < 0) 56 | a = -a; 57 | if (b < 0) 58 | b = -b; 59 | 60 | while (a != b) 61 | { 62 | if (a > b) 63 | { 64 | a -= b; 65 | } 66 | else { 67 | b -= a; 68 | } 69 | } 70 | gcd = a; 71 | break; 72 | default: 73 | cout << "Неверный выбор алгоритма."; 74 | } 75 | 76 | cout << "Наибольший общий делитель: " << gcd << endl; 77 | } 78 | 79 | void ERA(int n) 80 | { 81 | vector prime(n + 1, true); 82 | 83 | prime[0] = false; 84 | prime[1] = false; 85 | 86 | for (int p = 2; p * p <= n; p++) 87 | { 88 | if (prime[p] == true) 89 | { 90 | for (int i = p * p; i <= n; i += p) 91 | { 92 | prime[i] = false; 93 | } 94 | } 95 | } 96 | 97 | cout << "Простые числа до " << n << ": "; 98 | for (int i = 2; i <= n; i++) 99 | { 100 | if (prime[i]) 101 | { 102 | cout << i << " "; 103 | } 104 | } 105 | } 106 | 107 | void Number_2() 108 | { 109 | double n; 110 | cout << "Введите натуральное число: "; 111 | cin >> n; 112 | 113 | while (n <= 1 || floor(n) != n) 114 | { 115 | cin.clear(); 116 | cin.ignore(numeric_limits ::max(), '\n'); 117 | if (n == 1) 118 | { 119 | cout << "Ошибка! Введите число больше 1: "; 120 | } 121 | else 122 | { 123 | cout << "Ошибка! Введите корректное натуральное число: "; 124 | } 125 | cin >> n; 126 | } 127 | 128 | ERA(static_cast(n)); 129 | } 130 | 131 | void Number_31() 132 | { 133 | ofstream file("31.txt"); 134 | if (file.is_open()) { 135 | string text; 136 | cout << "Введите текст: "; 137 | getline(cin, text); 138 | file << text; 139 | file.close(); 140 | } 141 | 142 | ifstream infile("31.txt"); 143 | int consonants[26] = {}; 144 | char c; 145 | bool foundConsonants = false; 146 | int maxCount = 0; 147 | char maxConsonant; 148 | 149 | while (infile >> c) 150 | { 151 | if (isalpha(c) && !strchr("AEIOUaeiou", c)) 152 | { 153 | consonants[toupper(c) - 'A']++; 154 | foundConsonants = true; 155 | } 156 | } 157 | if (!foundConsonants) 158 | { 159 | cout << "Ошибка: в тексте не найдено согласных букв." << endl; 160 | } 161 | 162 | for (int i = 0; i < 26; i++) 163 | { 164 | if (consonants[i] > maxCount) 165 | { 166 | maxCount = consonants[i]; 167 | maxConsonant = 'A' + i; 168 | } 169 | } 170 | cout << "Наиболее часто встречающаяся согласная буква: " << maxConsonant << endl; 171 | 172 | } 173 | 174 | void Number_32() 175 | { 176 | ofstream file("32.txt"); 177 | if (file.is_open()) { 178 | string text; 179 | cout << "Введите текст: "; 180 | getline(cin, text); 181 | file << text; 182 | file.close(); 183 | } 184 | 185 | else 186 | { 187 | cerr << "Ошибка открытия файла" << endl; 188 | } 189 | 190 | string filename; 191 | cout << "Введите имя файла: "; 192 | cin >> filename; 193 | 194 | ifstream file2(filename); 195 | if (!file2.is_open()) 196 | { 197 | cerr << "Ошибка открытия файла" << endl; 198 | } 199 | 200 | map freq; 201 | 202 | char c; 203 | while (file2.get(c)) { 204 | if (freq.find(c) == freq.end()) { 205 | freq[c] = 1; 206 | } 207 | else { 208 | freq[c]++; 209 | } 210 | } 211 | 212 | for (auto& pair : freq) { 213 | cout << "Символ '" << pair.first << "' встречается " << pair.second << " раз." << endl; 214 | } 215 | } 216 | 217 | string trans(string num, int startBase, int resultBase) 218 | { 219 | const string digits = "0123456789ABCDEF"; 220 | if (resultBase <= 1 || resultBase > 16) 221 | { 222 | cout << "Ошибка"; 223 | return "Ошибка"; 224 | } 225 | 226 | int counter = 0; 227 | int result = 0; 228 | for (char c : num) { 229 | int charNum = digits.find(c); 230 | if (charNum >= startBase) { 231 | cout << "Ошибка"; 232 | return "Ошибка"; 233 | } 234 | result += charNum * pow(startBase, counter); 235 | counter++; 236 | } 237 | 238 | string final = ""; 239 | while (result != 0) { 240 | int div = result % resultBase; 241 | result /= resultBase; 242 | final = digits[div] + final; 243 | } 244 | return final; 245 | } 246 | 247 | void Number_41() 248 | { 249 | cout << "Длина массива: "; 250 | int len; 251 | cin >> len; 252 | if (len <= 0) 253 | { 254 | cout << "Ошибка"; return; 255 | } 256 | vector vect(len); 257 | for (int i = 0; i < vect.size(); i++) { 258 | string a; 259 | cout << "Введите число с основанием 3: "; 260 | cin >> a; 261 | vect[i] = trans(a, 3, 6); 262 | } 263 | cout << "Массив равен: " << endl; 264 | for (int i = 0; i < vect.size(); i++) { 265 | cout << vect[i] << endl; 266 | } 267 | } 268 | 269 | int count_negative_triplets(vector c, int n) { 270 | int count = 0; 271 | for (int i = 0; i < n - 2; i++) { 272 | int neg = 0; 273 | for (int j = i; j < i + 3; j++) { 274 | if (c[j] < 0) { 275 | neg++; 276 | } 277 | } 278 | if (neg == 3) { 279 | count++; 280 | } 281 | } 282 | return count; 283 | } 284 | 285 | void Number_42() 286 | { 287 | vector c(10); 288 | cout << "Введите число: "; 289 | 290 | for (int i2 = 0; i2 < 10; i2++) { 291 | cin >> c[i2]; 292 | } 293 | int result = count_negative_triplets(c, 10); 294 | cout << "Количество троек отрицательных чисел: " << result << endl; 295 | } 296 | void Number_51() 297 | { 298 | int kol, z, s, b; 299 | string c; 300 | vector str(0); 301 | vector zol(0); 302 | vector ser(0); 303 | vector bro(0); 304 | vector vse(0); 305 | vector bal(0); 306 | cout << "Введите колличество стран-участниц: "; 307 | cin >> kol; 308 | cout << "Введите названия стран: " << endl; 309 | for (int i = 0; i < kol; i++) 310 | { 311 | cin >> c; 312 | str.push_back(c); 313 | } 314 | 315 | sort(str.begin(), str.end()); 316 | 317 | cout << "Введите колличество золотых, серебрянных, бронзовых медалей у: " << endl; 318 | for (int i = 0; i < kol; i++) 319 | { 320 | cout << str[i] << ": "; 321 | cin >> z >> s >> b; 322 | zol.push_back(z); 323 | ser.push_back(s); 324 | bro.push_back(b); 325 | vse.push_back(z + s + b); 326 | bal.push_back(7 * z + 6 * s + 5 * b); 327 | 328 | } 329 | 330 | ofstream fout; 331 | fout.open("51.txt"); 332 | for (int i = 0; i < kol; i++) { 333 | fout << str[i] << " " << zol[i] << " " << ser[i] << " " << bro[i] << " " << vse[i] << " " << bal[i]; 334 | fout << endl; 335 | } 336 | ifstream ff2("51.txt"); 337 | char buff[10000]; 338 | if (ff2.is_open()) 339 | { 340 | ff2.getline(buff, 10000); 341 | ff2.close(); 342 | cout << buff << endl; 343 | } 344 | } 345 | 346 | struct Student 347 | { 348 | string id; 349 | string name; 350 | vector> subjects; 351 | }; 352 | 353 | 354 | bool compareStudents(const Student& s1, const Student& s2) 355 | { 356 | return s1.name < s2.name; 357 | } 358 | 359 | void Number_52() { 360 | ofstream file("52.txt"); 361 | 362 | file << "12345 Климкин Иван Иванович Математика 5 Физика 4 Химия 3 Литература 5 История 4" << endl; 363 | file << "23456 Рысин Петр Петрович Математика 4 Физика 5 Химия 4 Литература 3 История 5" << endl; 364 | file << "34567 Дудин Алексей Владимирович Математика 3 Физика 4 Химия 5 Литература 5 История 4" << endl; 365 | file << "34567 Агеев Алексей Владимирович Математика 3 Физика 4 Химия 5 Литература 5 История 4" << endl; 366 | 367 | file.close(); 368 | 369 | ifstream inputFile("52.txt"); 370 | vector students; 371 | 372 | 373 | string line; 374 | while (getline(inputFile, line)) { 375 | istringstream iss(line); 376 | Student student; 377 | iss >> student.id >> student.name; 378 | 379 | string subject; 380 | int grade; 381 | while (iss >> subject >> grade) { 382 | student.subjects.push_back(make_pair(subject, grade)); 383 | } 384 | 385 | students.push_back(student); 386 | } 387 | 388 | inputFile.close(); 389 | 390 | sort(students.begin(), students.end(), compareStudents); 391 | 392 | for (const auto& student : students) { 393 | cout << "Номер зачетной книжки: " << student.id << endl; 394 | cout << "ФИО студента: " << student.name << endl; 395 | cout << "Предметы и оценки: "; 396 | for (const auto& subject : student.subjects) { 397 | cout << subject.first << " " << subject.second << " "; 398 | } 399 | cout << endl << endl; 400 | } 401 | 402 | } 403 | 404 | 405 | 406 | int main() 407 | { 408 | setlocale(0, "Russian"); 409 | // Number_1(); 410 | // Number_2(); 411 | // Number_31(); 412 | // Number_32(); 413 | // Number_41(); 414 | // Number_42(); 415 | // Number_51(); 416 | Number_52(); 417 | 418 | } -------------------------------------------------------------------------------- /Practical work 5/Second Practical work/5.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | #include 5 | #include 6 | #include 7 | #include 8 | #include 9 | #include 10 | #include 11 | #include 12 | #include 13 | #include 14 | 15 | using namespace std; 16 | 17 | int gcd(int x, int y) 18 | { 19 | int r; 20 | while (y != 0) 21 | { 22 | r = x % y; // Находим остаток от деления x на y. 23 | x = y; // Присваиваем y в x. 24 | y = r; // Присваиваем остаток в y для следующей итерации. 25 | } 26 | return x; // Возвращаем значение x, которое является наибольшим общим делителем. 27 | } 28 | 29 | void Num1() 30 | { 31 | int m, n; 32 | cout << "Два числа: "; 33 | 34 | // Проверка ввода двух чисел 35 | while (!(cin >> m >> n) || m == 0 || n == 0) 36 | { 37 | cout << "Неверный ввод. "; 38 | cin.clear(); // Очистка флагов ошибок ввода 39 | cin.ignore(numeric_limits::max(), '\n'); // Игнорирование оставшихся символов до новой строки 40 | } 41 | 42 | int ch; 43 | cout << "Алгоритм Евклида | 1 деление, 2 - вычитание: "; 44 | 45 | // Проверка ввода выбора алгоритма 46 | while (!(cin >> ch)) 47 | { 48 | cout << "Неверный ввод. "; 49 | cin.clear(); 50 | cin.ignore(numeric_limits::max(), '\n'); 51 | } 52 | 53 | int g; 54 | // Выбор алгоритма в зависимости от введенного значения 55 | switch (ch) 56 | { 57 | case 1: 58 | g = gcd(m, n); 59 | break; 60 | case 2: 61 | // Алгоритм вычитания (если второе число отрицательное, делаем его положительным) 62 | if (m < 0) 63 | m = -m; 64 | if (n < 0) 65 | n = -n; 66 | 67 | while (m != n) 68 | { 69 | if (m > n) 70 | { 71 | m -= n; 72 | } 73 | else { 74 | n -= m; 75 | } 76 | } 77 | g = m; 78 | break; 79 | default: 80 | cout << "Неверный выбор алгоритма."; 81 | } 82 | 83 | cout << "Наибольший общий делитель: " << g << endl; 84 | } 85 | 86 | void NUM(int n) 87 | { 88 | // Создание вектора булевых значений matr размером n+1, все инициализированы как true 89 | vector matr(n + 1, true); 90 | 91 | // Установка matr[0] и matr[1] в false, так как 0 и 1 не являются простыми числами 92 | matr[0] = false; 93 | matr[1] = false; 94 | 95 | // Просмотр чисел от 2 до корня из n 96 | for (int p = 2; p * p <= n; p++) 97 | { 98 | // Проверка, является ли число p простым 99 | if (matr[p] == true) 100 | { 101 | // Обновление значений вектора matr для кратных p 102 | for (int i = p * p; i <= n; i += p) 103 | { 104 | matr[i] = false; 105 | } 106 | } 107 | } 108 | 109 | // Вывод простых чисел до n 110 | cout << "Простые числа до " << n << ": "; 111 | for (int i = 2; i <= n; i++) 112 | { 113 | if (matr[i]) 114 | { 115 | cout << i << " "; 116 | } 117 | } 118 | } 119 | 120 | 121 | void Num2() 122 | { 123 | double n; 124 | cout << "Натуральное число: "; 125 | cin >> n; 126 | 127 | // Проверка введенного числа 128 | while (n <= 1 || floor(n) != n) 129 | { 130 | cin.clear(); // Очистка флагов ошибок ввода 131 | cin.ignore(numeric_limits::max(), '\n'); // Игнорирование оставшихся символов до новой строки 132 | 133 | // Вывод сообщения об ошибке в зависимости от условий 134 | if (n == 1) 135 | { 136 | cout << "Введите число > 1: "; 137 | } 138 | else 139 | { 140 | cout << "Число некорректное или ненатуральное: "; 141 | } 142 | 143 | cin >> n; // Повторный ввод числа 144 | } 145 | 146 | NUM(static_cast(n)); // Вызов функции NUM с преобразованием введенного числа в int 147 | } 148 | 149 | 150 | void Num31(const string& filename) 151 | { 152 | // Открываем файл для чтения 153 | ifstream infile(filename); 154 | 155 | // Проверяем, удалось ли открыть файл 156 | if (!infile.is_open()) 157 | { 158 | cerr << "Ошибка: Не удалось открыть файл." << endl; 159 | return; // Выходим из функции, если файл не удалось открыть 160 | } 161 | 162 | // Создаем хэш-таблицу для хранения частот повторения символов 163 | unordered_map Simvol; 164 | 165 | // Объявляем переменную для считывания символов из файла 166 | char c; 167 | 168 | // Считываем символы из файла по одному 169 | while (infile.get(c)) 170 | { 171 | // Проверяем, является ли символ буквой 172 | if (isalpha(c)) 173 | { 174 | // Если символ буквенный, увеличиваем счетчик его повторений в хэш-таблице 175 | Simvol[toupper(c)]++; 176 | } 177 | } 178 | 179 | // Закрываем файл 180 | infile.close(); 181 | 182 | // Выводим частоту повторения символов в файле 183 | cout << "Частота повторения символов в файле:" << endl; 184 | for (const auto& pair : Simvol) 185 | { 186 | // Выводим символ и его частоту 187 | cout << "'" << pair.first << "': " << pair.second << endl; 188 | } 189 | } 190 | 191 | void Num32(const string& filename) 192 | { 193 | // Открываем файл для чтения 194 | ifstream infile(filename); 195 | 196 | // Проверяем, удалось ли открыть файл 197 | if (!infile.is_open()) 198 | { 199 | cerr << "Ошибка: Не удалось открыть файл." << endl; 200 | return; // Выходим из функции, если файл не удалось открыть 201 | } 202 | 203 | // Создаем вектор для хранения слов 204 | vector words; 205 | 206 | // Создаем строку для хранения каждого слова 207 | string word; 208 | 209 | // Читаем слова из файла 210 | while (infile >> word) 211 | { 212 | // Удаляем знаки препинания из слова 213 | word.erase(remove_if(word.begin(), word.end(), ispunct), word.end()); 214 | 215 | // Если слово не пустое, делаем первую букву заглавной и добавляем его в вектор 216 | if (!word.empty()) 217 | { 218 | word[0] = toupper(word[0]); 219 | } 220 | words.push_back(word); 221 | } 222 | 223 | // Закрываем файл 224 | infile.close(); 225 | 226 | // Сортируем вектор слов по алфавиту 227 | sort(words.begin(), words.end()); 228 | 229 | // Выводим отсортированные слова на экран 230 | cout << "Слова в файле, отсортированные по алфавиту:" << endl; 231 | for (const auto& w : words) { 232 | cout << w << " "; 233 | } 234 | cout << endl; 235 | } 236 | 237 | 238 | void Num41() 239 | { 240 | float e; 241 | cin >> e; 242 | double n = 1; 243 | double sum = 0; 244 | while (true) 245 | { 246 | if ((1 / (pow(3, n))) < e){ 247 | break; 248 | } 249 | sum += (1/(pow(3, n)) * pow(cos(pow(3, n-1)), 3)); 250 | n++; 251 | } 252 | cout << "Result: " << sum << endl; 253 | 254 | } 255 | 256 | void Num42() 257 | { 258 | // Инициализация генератора случайных чисел 259 | srand(time(0)); 260 | 261 | // Задание размера массива 262 | const int size = 96; 263 | 264 | // Задание массива для хранения случайных чисел 265 | int numbers[size]; 266 | 267 | // Генерация случайных чисел и заполнение массива 268 | for (int i = 0; i < size; ++i) { 269 | numbers[i] = rand() % 201 - 100; // генерация чисел от -100 до 100 270 | } 271 | 272 | // Вывод сгенерированных чисел 273 | cout << "Сгенерированные числа: "; 274 | for (int i = 0; i < size; ++i) 275 | { 276 | cout << numbers[i] << " "; 277 | } 278 | cout << endl; 279 | 280 | // Подсчет трех идущих подряд отрицательных чисел 281 | int count = 0; 282 | for (int i = 0; i < size - 2; ++i) 283 | { 284 | if (numbers[i] < 0 && numbers[i + 1] < 0 && numbers[i + 2] < 0) 285 | { 286 | count++; 287 | } 288 | } 289 | 290 | // Вывод результата 291 | cout << "Количество трех идущих подряд отрицательных чисел: " << count << endl; 292 | } 293 | 294 | void Num5() 295 | { 296 | int kol, z, s, b; // Объявление переменных: kol - количество стран, z - количество золотых медалей, s - серебрянных медалей, b - бронзовых медалей. 297 | string c; // Строка для хранения названия страны. 298 | 299 | // Векторы для хранения данных по каждой стране. 300 | vector str(0); // Вектор для названий стран. 301 | vector zol(0); // Вектор для количества золотых медалей. 302 | vector ser(0); // Вектор для количества серебрянных медалей. 303 | vector bro(0); // Вектор для количества бронзовых медалей. 304 | vector vse(0); // Вектор для общего количества медалей. 305 | vector bal(0); // Вектор для подсчета баллов. 306 | 307 | cout << "Введите количество стран-участниц: "; 308 | cin >> kol; // Ввод количества стран. 309 | 310 | cout << "Введите названия стран: " << endl; 311 | for (int i = 0; i < kol; i++) { 312 | cin >> c; // Ввод названия страны. 313 | str.push_back(c); // Добавление названия страны в вектор. 314 | } 315 | 316 | sort(str.begin(), str.end()); // Сортировка вектора с названиями стран в алфавитном порядке. 317 | 318 | cout << "Введите количество золотых, серебрянных, бронзовых медалей у: " << endl; 319 | for (int i = 0; i < kol; i++) { 320 | cout << str[i] << ": "; 321 | cin >> z >> s >> b; // Ввод количества медалей для каждой страны. 322 | zol.push_back(z); // Добавление количества золотых медалей в вектор. 323 | ser.push_back(s); // Добавление количества серебрянных медалей в вектор. 324 | bro.push_back(b); // Добавление количества бронзовых медалей в вектор. 325 | vse.push_back(z + s + b); // Добавление общего количества медалей в вектор. 326 | bal.push_back(7 * z + 6 * s + 5 * b); // Добавление баллов в вектор. 327 | } 328 | 329 | ofstream fout; // Объект для записи в файл. 330 | fout.open("51.txt"); // Открытие файла для записи. 331 | for (int i = 0; i < kol; i++) { 332 | fout << str[i] << " " << zol[i] << " " << ser[i] << " " << bro[i] << " " << vse[i] << " " << bal[i]; 333 | fout << endl; // Запись данных по каждой стране в файл. 334 | } 335 | fout.close(); // Закрытие файла. 336 | 337 | ifstream ff2("51.txt"); // Объект для чтения из файла. 338 | char buff[10000]; // Буфер для считывания данных из файла. 339 | if (ff2.is_open()) { 340 | ff2.getline(buff, 10000); // Считывание строки из файла. 341 | ff2.close(); // Закрытие файла. 342 | cout << buff << endl; // Вывод строки на экран. 343 | } 344 | } 345 | 346 | 347 | int main() 348 | { 349 | setlocale(0, "Russian"); 350 | //Num1(); 351 | // Num2(); 352 | //string filename31 = "31.txt"; 353 | // Num31(filename31); 354 | //string filename32 = "32.txt"; 355 | //Num32(filename32); 356 | // Num41(); 357 | // Num42(); 358 | Num5(); 359 | } -------------------------------------------------------------------------------- /Practical work 4/02102023.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | #include 5 | #include 6 | #include 7 | #include 8 | #include 9 | using namespace std; 10 | 11 | void Number_1() 12 | { 13 | int i = 0; 14 | double sum = 0; 15 | double digital = 0; 16 | 17 | ofstream file("1.txt"); 18 | while (i != 10) 19 | { 20 | i += 1; 21 | cout << i << ") "; 22 | if (cin >> digital) 23 | { 24 | file << digital << "\n"; 25 | } 26 | else { 27 | cout << "Некорректный ввод" << endl; 28 | } 29 | } 30 | file.close(); 31 | 32 | ifstream ifile("1.txt"); 33 | i = 0; 34 | while (i != 10) 35 | { 36 | ifile >> digital; 37 | sum += digital; 38 | i += 1; 39 | } 40 | ifile.close(); 41 | 42 | cout << "Сумма чисел из файла = " << sum << endl; 43 | } 44 | 45 | int A(float x) 46 | { 47 | if (x > 0) 48 | { 49 | return 1; 50 | } 51 | else if (x == 0) 52 | { 53 | return 0; 54 | } 55 | return -1; 56 | } 57 | 58 | void Number_2() 59 | { 60 | double x = 0; 61 | while (true) 62 | { 63 | cout << "x = "; 64 | if (cin >> x) 65 | { 66 | cout << A(x) << endl; 67 | } 68 | else 69 | { 70 | cout << "Некорректный ввод"; 71 | break; 72 | } 73 | } 74 | } 75 | 76 | double pr (double a, double b) // прямоугольник 77 | { 78 | if (a <= 0 or b <= 0) 79 | { 80 | return -1; 81 | } 82 | return a * b; 83 | } 84 | 85 | double tr (double a, double b, double c) // треугольник 86 | { 87 | if (a <= 0 or b <= 0 or c <= 0 or a + b <= c or a + c <= b or b + c <= a) 88 | { 89 | return -1; 90 | } 91 | double p = (a + b + c) / 2; 92 | return sqrt(p * (p - a) * (p - b) * (p - c)); 93 | } 94 | 95 | double kr (double r) // круг 96 | { 97 | if (r <= 0) 98 | { 99 | return -1; 100 | } 101 | return 3.14 * pow(r, 2); 102 | } 103 | 104 | void Number_3() 105 | { 106 | int select; 107 | double a, b, c, r; 108 | cout << "Выберите: 1 ( Прямоугольник ) / 2 ( Треугольник ) / 3 ( Круг ): "; 109 | cin >> select; 110 | switch (select) 111 | { 112 | 113 | case 1: // прямоугольник 114 | cout << "Введите сторону a = "; 115 | cin >> a; 116 | cout << "Введите сторону b = "; 117 | cin >> b; 118 | if (pr(a, b) == -1) 119 | { 120 | cout << "Некорректный ввод"; 121 | } 122 | else 123 | { 124 | cout << "Площадь прямоугольника = " << pr(a, b) << endl; 125 | } 126 | break; 127 | 128 | case 2: // треугольник 129 | cout << "Введите сторону a = "; 130 | cin >> a; 131 | cout << "Введите сторону b = "; 132 | cin >> b; 133 | cout << "Введите сторону c = "; 134 | cin >> c; 135 | if (tr(a, b, c) == -1) 136 | { 137 | cout << "Некорректный ввод"; 138 | } 139 | else 140 | { 141 | cout << "Площадь треугольника = " << tr(a, b, c) << endl; 142 | } 143 | break; 144 | 145 | case 3: // круг 146 | cout << "Введите радиус круга = "; 147 | cin >> r; 148 | if (kr(r) == -1) 149 | { 150 | cout << "Некорректный ввод"; 151 | } 152 | else 153 | { 154 | cout << "Площадь круга = " << kr(r) << endl; 155 | } 156 | break; 157 | default: 158 | cout << "Некорректный ввод"; 159 | } 160 | } 161 | 162 | void Number_4() 163 | { 164 | for (int i = 0; i < 8; i++) 165 | { 166 | cout << " * * * * * *"; 167 | cout << "_____________________" << endl; 168 | } 169 | 170 | for (int i = 0; i < 5; i++) 171 | { 172 | cout << "_______________________________________" << endl; 173 | } 174 | } 175 | 176 | void Number_5() 177 | { 178 | const int width = 80; // ширина графика 179 | const int height = 30; // высота графика 180 | const double xMin = -3.14; // минимальное значение x 181 | const double xMax = 3.14; // максимальное значение x 182 | const double yMin = -1.0; // минимальное значение y 183 | const double yMax = 1.0; // максимальное значение y 184 | 185 | for (int i = 0; i < height; i++) 186 | { 187 | double y = (double)i / height * (yMax - yMin) + yMin; 188 | for (int j = 0; j < width; j++) 189 | { 190 | double x = (double)j / width * (xMax - xMin) + xMin; 191 | double sinX = tan(x); 192 | 193 | if (abs(sinX - y) < 0.05) 194 | { 195 | cout << "*"; 196 | } 197 | else if (i == height / 2 && j == width / 2) 198 | { 199 | cout << "+"; 200 | } 201 | else if (i == height / 2) 202 | { 203 | cout << "-"; 204 | } 205 | else if (j == width / 2) 206 | { 207 | cout << "|"; 208 | } 209 | else 210 | { 211 | cout << " "; 212 | } 213 | } 214 | cout << endl; 215 | } 216 | 217 | } 218 | 219 | 220 | void Number_6() 221 | { 222 | string directory = "C:/Users/KEV/Desktop/MIREA_Jobs-main/02102023/6.txt"; 223 | string filename = "6.txt"; 224 | 225 | cout << "Введите римскую цифру: "; 226 | string number; 227 | cin >> number; 228 | 229 | ifstream in(directory); 230 | if (in.is_open()) 231 | { 232 | string line; 233 | while (getline(in, line)) 234 | { 235 | string firstPart = ""; 236 | string NUM = ""; 237 | bool whasEq = false; 238 | bool secEq = false; 239 | 240 | for (char c : line) { 241 | if (c == '=') { 242 | if (!whasEq) { 243 | whasEq = true; 244 | } 245 | else { 246 | secEq = true; 247 | break; 248 | } 249 | continue; 250 | } 251 | if (whasEq) { 252 | NUM += c; 253 | } 254 | else { 255 | firstPart += c; 256 | } 257 | } 258 | 259 | if (number == NUM) { 260 | cout << firstPart << endl; 261 | return; 262 | } 263 | } 264 | cout << "Некорректный ввод, ошибка." << endl; 265 | } 266 | else { 267 | cout << "Ошибка дериктории." << endl; 268 | } 269 | } 270 | 271 | int random_number(int SI, int m, int i, int c) 272 | { 273 | return SI = (m * SI + i) % c; 274 | } 275 | 276 | void Number_7() 277 | { 278 | int SI = 1; 279 | int m, i, c; 280 | int variant; 281 | cout << "Выбирите вариант (1 или 2): "; 282 | cin >> variant; 283 | 284 | if (variant == 1) 285 | { 286 | m = 37; 287 | i = 3; 288 | c = 64; 289 | } 290 | else if (variant == 2) 291 | { 292 | m = 25173; 293 | i = 13849; 294 | c = 65537; 295 | } 296 | else 297 | { 298 | cout << "Неправильный ввод" << endl; 299 | } 300 | 301 | for (int j = 0; j < 10; j++) 302 | { 303 | cout << SI << endl; 304 | SI = random_number(SI, m, i, c); 305 | } 306 | } 307 | 308 | void Number_8() 309 | { 310 | double a[3][4] = 311 | { 312 | {5, 2, 0, 10}, 313 | {3, 5, 2, 5}, 314 | {20, 0, 0, 0} }; 315 | 316 | double b[4][2] = 317 | { 318 | {1.20, 0.50}, 319 | {2.80, 0.40}, 320 | {5.00, 1.00}, 321 | {2.00, 1.50} }; 322 | 323 | double c[3][2] = {}; 324 | 325 | for (int i = 0; i < 3; i++) 326 | { 327 | for (int j = 0; j < 2; j++) 328 | { 329 | for (int k = 0; k < 4; k++) 330 | { 331 | c[i][j] += a[i][k] * b[k][j]; 332 | } 333 | } 334 | } 335 | 336 | for (int i = 0; i < 3; i++) { 337 | for (int j = 0; j < 2; j++) { 338 | } 339 | } 340 | cout << endl; 341 | int maxSeller = 0; 342 | int minSeller = 0; 343 | double maxMoney = -1e9; 344 | double minMoney = 1e9; 345 | for (int i = 0; i < 3; i++) 346 | { 347 | if (c[i][0] > maxMoney) 348 | { 349 | maxSeller = i + 1; 350 | maxMoney = c[i][0]; 351 | } 352 | if (c[i][0] < minMoney) 353 | { 354 | minSeller = i + 1; 355 | minMoney = c[i][0]; 356 | } 357 | } 358 | cout << " | Продавец " << maxSeller << " | Получил максимум денег: " << maxMoney << endl; 359 | cout << " | Продавец " << minSeller << " | Получил минимум денег: " << minMoney << endl; 360 | 361 | maxSeller = 0; 362 | minSeller = 0; 363 | double maxComss = -1e9; 364 | double minComss = 1e9; 365 | for (int i = 0; i < 3; i++) 366 | { 367 | if (c[i][1] > maxComss) 368 | { 369 | maxSeller = i + 1; 370 | maxComss = c[i][1]; 371 | } 372 | if (c[i][1] < minComss) 373 | { 374 | minSeller = i + 1; 375 | minComss = c[i][1]; 376 | } 377 | } 378 | cout << " | Продавец " << maxSeller << " | Получил наибольшие комиссионные: " << maxComss << endl; 379 | cout << " | Продавец " << minSeller << " | Получил наименьшие комиссионные: " << minComss << endl; 380 | cout << endl; 381 | double sumMoney = 0.0; 382 | for (int i = 0; i < 3; i++) 383 | { 384 | sumMoney += c[i][0]; 385 | } 386 | cout << " | Общая сумма денег вырученная за проданные товары: " << sumMoney << endl; 387 | 388 | double sumComss = 0.0; 389 | for (int i = 0; i < 3; i++) 390 | { 391 | sumComss += c[i][1]; 392 | } 393 | cout << " | Всего комиссионных получили продавцы: " << sumComss << endl; 394 | 395 | double SumMoneyResult = 0.0; 396 | for (int i = 0; i < 3; i++) 397 | { 398 | SumMoneyResult += c[i][0] + c[i][1]; 399 | } 400 | cout << " | Общая сумма денег прошедшая через руки продавцов: " << SumMoneyResult << endl; 401 | } 402 | 403 | int cI(char c) { 404 | if (c >= '0' && c <= '9') { 405 | return c - '0'; 406 | } 407 | else { 408 | return c - 'A' + 10; 409 | } 410 | } 411 | 412 | char iC(int n) { 413 | if (n >= 0 && n <= 9) { 414 | return n + '0'; 415 | } 416 | else { 417 | return n - 10 + 'A'; 418 | } 419 | } 420 | 421 | string osnov(string num, int oldosn, int newosn) { 422 | if (oldosn < 2 || oldosn > 16 || newosn < 2 || newosn > 16) { 423 | return "Основание должно быть в диапазоне от 2 до 16"; 424 | } 425 | for (int i = 0; i < num.size(); i++) { 426 | if (cI(num[i]) >= oldosn) { 427 | return "Неправильное введённое число для заданного основания"; 428 | } 429 | } 430 | string result = ""; 431 | int decimalNum = 0; 432 | int power = 1; 433 | for (int i = num.size() - 1; i >= 0; i--) 434 | { 435 | int digit = cI(num[i]); 436 | decimalNum += digit * power; 437 | power *= oldosn; 438 | } 439 | while (decimalNum > 0) 440 | { 441 | int digit = decimalNum % newosn; 442 | result = iC(digit) + result; 443 | decimalNum /= newosn; 444 | } 445 | return result; 446 | } 447 | 448 | void Number_9() { 449 | string num; 450 | int oldosn, newosn; 451 | cout << "Введите число: "; 452 | cin >> num; 453 | cout << "Введите старое основание: "; 454 | cin >> oldosn; 455 | cout << "Введите новое основание: "; 456 | cin >> newosn; 457 | if (oldosn < 2 || oldosn > 36 || newosn < 2 || newosn > 36) { 458 | cout << "Основание должно быть в диапазоне от 2 до 36" << endl; 459 | return; 460 | } 461 | string result = osnov(num, oldosn, newosn); 462 | cout << "Результат: " << result << endl; 463 | } 464 | 465 | int main() 466 | { 467 | setlocale(0, "Russian"); 468 | //Number_1(); 469 | //Number_2(); 470 | //Number_3(); 471 | //Number_4(); 472 | //Number_5(); 473 | Number_6(); 474 | //Number_7(); 475 | //Number_8(); 476 | //Number_9(); 477 | } --------------------------------------------------------------------------------