├── Lab_01 ├── 01_hello_world.cpp ├── 02_take_user_input.cpp ├── 03_integer_operations.cpp ├── 04_integer_operations_v2.cpp ├── 06_division.cpp ├── 07_circle.cpp ├── 08_scalene_triangle.cpp ├── 09_equilateral_triangle.cpp ├── 10_right_triangle.cpp ├── 11_rectangle.cpp ├── 12_square.cpp ├── 13_swapping.cpp └── README.md ├── Lab_02 ├── 01_temperature_converter.cpp ├── 02_odd_even.cpp ├── 03_negative_positive.cpp ├── 04_vowel_consonant.cpp ├── 05_largest_number.cpp ├── 06_leap_year.cpp └── README.md ├── Lab_03 ├── Digits.cpp ├── Fibonacci.cpp ├── Operators.cpp ├── Prime.cpp ├── README.md ├── Sum1.cpp ├── Sum2.cpp ├── Weekdays.cpp └── mn.cpp ├── Lab_04 ├── README.md ├── Source.cpp ├── Source1.cpp ├── Source2.cpp ├── Source3.cpp └── Source4.cpp ├── Lab_05 ├── README.md ├── Source.cpp ├── Source1.cpp ├── Source2.cpp └── Source3.cpp ├── Lab_06 ├── README.md └── Source.cpp ├── Lab_07 ├── README.md ├── fibonacci.cpp ├── gcd.cpp ├── power.cpp └── sum.cpp ├── Lab_08 ├── README.md ├── Sort.cpp ├── average.cpp ├── deleting.cpp ├── display.cpp └── inserting.cpp ├── Lab_09 ├── Pascal.cpp ├── Pascal2.cpp ├── README.md ├── Source1.cpp └── Source2.cpp ├── Lab_10 ├── README.md └── studentCourseEvaluation.cpp ├── Lab_11 ├── README.md └── Source.cpp ├── Lab_12 ├── README.md └── main.cpp ├── Lab_13 ├── README.md └── main1.cpp ├── Lab_14 ├── README.md └── Source.cpp ├── Lab_15 ├── README.md └── Source.cpp ├── Lab_16 ├── README.docx └── Source.cpp ├── Lab_17 ├── Activity-1.docx └── Education.cpp ├── Lab_18 ├── README.md └── main.cpp ├── Lab_19 ├── README.md ├── contacts.txt ├── main.cpp ├── numbers.txt ├── one.txt ├── total.txt └── two.txt ├── Lab_20 ├── Person.cpp ├── README.md └── contacts ├── Lab_21 ├── city_temperature_control.cpp └── e-commerce.cpp ├── Project_Bank_Management_System ├── Header.h ├── Project3.exe ├── data.txt └── main.cpp ├── Project_E-Commerce_App_V1.0 ├── BreadBakery.h ├── Header.h ├── Loading.h ├── Vegetables.h ├── Water.h └── main.cpp ├── Project_E-Commerce_App_V2.0 ├── Loading_Page.h ├── Person.h ├── Products.h ├── User_Info.txt ├── Validation.h ├── main.cpp └── screenshots │ ├── authentication.png │ ├── authorization.png │ ├── loading.png │ ├── menu.png │ └── product list.png ├── Project_E-Commerce_App_V3.0 ├── Loading_Page.h ├── Password_Vali_Asterisk.h ├── Person.h ├── Products.h ├── User_Info.txt ├── Validation.h ├── main.cpp └── screenshots │ ├── authentication.png │ ├── authorization.png │ ├── loading.png │ ├── menu.png │ └── product list.png ├── Project_Labirint_Game ├── olaf-game.cpp └── sfml │ ├── bin │ ├── openal32.dll │ ├── sfml-audio-2.dll │ ├── sfml-audio-d-2.dll │ ├── sfml-graphics-2.dll │ ├── sfml-graphics-d-2.dll │ ├── sfml-network-2.dll │ ├── sfml-network-d-2.dll │ ├── sfml-system-2.dll │ ├── sfml-system-d-2.dll │ ├── sfml-window-2.dll │ └── sfml-window-d-2.dll │ ├── include │ └── SFML │ │ ├── Audio.hpp │ │ ├── Audio │ │ ├── AlResource.hpp │ │ ├── Export.hpp │ │ ├── InputSoundFile.hpp │ │ ├── Listener.hpp │ │ ├── Music.hpp │ │ ├── OutputSoundFile.hpp │ │ ├── Sound.hpp │ │ ├── SoundBuffer.hpp │ │ ├── SoundBufferRecorder.hpp │ │ ├── SoundFileFactory.hpp │ │ ├── SoundFileFactory.inl │ │ ├── SoundFileReader.hpp │ │ ├── SoundFileWriter.hpp │ │ ├── SoundRecorder.hpp │ │ ├── SoundSource.hpp │ │ └── SoundStream.hpp │ │ ├── Config.hpp │ │ ├── GpuPreference.hpp │ │ ├── Graphics.hpp │ │ ├── Graphics │ │ ├── BlendMode.hpp │ │ ├── CircleShape.hpp │ │ ├── Color.hpp │ │ ├── ConvexShape.hpp │ │ ├── Drawable.hpp │ │ ├── Export.hpp │ │ ├── Font.hpp │ │ ├── Glsl.hpp │ │ ├── Glsl.inl │ │ ├── Glyph.hpp │ │ ├── Image.hpp │ │ ├── PrimitiveType.hpp │ │ ├── Rect.hpp │ │ ├── Rect.inl │ │ ├── RectangleShape.hpp │ │ ├── RenderStates.hpp │ │ ├── RenderTarget.hpp │ │ ├── RenderTexture.hpp │ │ ├── RenderWindow.hpp │ │ ├── Shader.hpp │ │ ├── Shape.hpp │ │ ├── Sprite.hpp │ │ ├── Text.hpp │ │ ├── Texture.hpp │ │ ├── Transform.hpp │ │ ├── Transformable.hpp │ │ ├── Vertex.hpp │ │ ├── VertexArray.hpp │ │ ├── VertexBuffer.hpp │ │ └── View.hpp │ │ ├── Main.hpp │ │ ├── Network.hpp │ │ ├── Network │ │ ├── Export.hpp │ │ ├── Ftp.hpp │ │ ├── Http.hpp │ │ ├── IpAddress.hpp │ │ ├── Packet.hpp │ │ ├── Socket.hpp │ │ ├── SocketHandle.hpp │ │ ├── SocketSelector.hpp │ │ ├── TcpListener.hpp │ │ ├── TcpSocket.hpp │ │ └── UdpSocket.hpp │ │ ├── OpenGL.hpp │ │ ├── System.hpp │ │ ├── System │ │ ├── Clock.hpp │ │ ├── Err.hpp │ │ ├── Export.hpp │ │ ├── FileInputStream.hpp │ │ ├── InputStream.hpp │ │ ├── Lock.hpp │ │ ├── MemoryInputStream.hpp │ │ ├── Mutex.hpp │ │ ├── NativeActivity.hpp │ │ ├── NonCopyable.hpp │ │ ├── Sleep.hpp │ │ ├── String.hpp │ │ ├── String.inl │ │ ├── Thread.hpp │ │ ├── Thread.inl │ │ ├── ThreadLocal.hpp │ │ ├── ThreadLocalPtr.hpp │ │ ├── ThreadLocalPtr.inl │ │ ├── Time.hpp │ │ ├── Utf.hpp │ │ ├── Utf.inl │ │ ├── Vector2.hpp │ │ ├── Vector2.inl │ │ ├── Vector3.hpp │ │ └── Vector3.inl │ │ ├── Window.hpp │ │ └── Window │ │ ├── Clipboard.hpp │ │ ├── Context.hpp │ │ ├── ContextSettings.hpp │ │ ├── Cursor.hpp │ │ ├── Event.hpp │ │ ├── Export.hpp │ │ ├── GlResource.hpp │ │ ├── Joystick.hpp │ │ ├── Keyboard.hpp │ │ ├── Mouse.hpp │ │ ├── Sensor.hpp │ │ ├── Touch.hpp │ │ ├── VideoMode.hpp │ │ ├── Window.hpp │ │ ├── WindowHandle.hpp │ │ └── WindowStyle.hpp │ └── lib │ ├── cmake │ └── SFML │ │ ├── SFMLConfig.cmake │ │ ├── SFMLConfigDependencies.cmake │ │ ├── SFMLConfigVersion.cmake │ │ ├── SFMLSharedTargets-debug.cmake │ │ ├── SFMLSharedTargets-release.cmake │ │ ├── SFMLSharedTargets.cmake │ │ ├── SFMLStaticTargets-debug.cmake │ │ ├── SFMLStaticTargets-release.cmake │ │ └── SFMLStaticTargets.cmake │ ├── flac.lib │ ├── freetype.lib │ ├── ogg.lib │ ├── openal32.lib │ ├── sfml-audio-d.lib │ ├── sfml-audio-d.pdb │ ├── sfml-audio-s-d.lib │ ├── sfml-audio-s-d.pdb │ ├── sfml-audio-s.lib │ ├── sfml-audio.lib │ ├── sfml-graphics-d.lib │ ├── sfml-graphics-d.pdb │ ├── sfml-graphics-s-d.lib │ ├── sfml-graphics-s-d.pdb │ ├── sfml-graphics-s.lib │ ├── sfml-graphics.lib │ ├── sfml-main-d.lib │ ├── sfml-main-s-d.pdb │ ├── sfml-main.lib │ ├── sfml-network-d.lib │ ├── sfml-network-d.pdb │ ├── sfml-network-s-d.lib │ ├── sfml-network-s-d.pdb │ ├── sfml-network-s.lib │ ├── sfml-network.lib │ ├── sfml-system-d.lib │ ├── sfml-system-d.pdb │ ├── sfml-system-s-d.lib │ ├── sfml-system-s-d.pdb │ ├── sfml-system-s.lib │ ├── sfml-system.lib │ ├── sfml-window-d.lib │ ├── sfml-window-d.pdb │ ├── sfml-window-s-d.lib │ ├── sfml-window-s-d.pdb │ ├── sfml-window-s.lib │ ├── sfml-window.lib │ ├── vorbis.lib │ ├── vorbisenc.lib │ └── vorbisfile.lib ├── Project_New_Year_Congratulation ├── new_year.cpp └── only_numbers.cpp ├── Project_Quiz_Game ├── quiz-game-with-oop.cpp └── quiz-game.cpp ├── Project_Snake_Game └── snake-game.cpp └── README.md /Lab_01/01_hello_world.cpp: -------------------------------------------------------------------------------- 1 | // Program to print text on the console. 2 | // cout -> console output. 3 | 4 | #include 5 | 6 | using namespace std; 7 | 8 | int main() 9 | { 10 | cout << "Hello, World!" << endl; 11 | system("pause"); 12 | return 0; 13 | } -------------------------------------------------------------------------------- /Lab_01/02_take_user_input.cpp: -------------------------------------------------------------------------------- 1 | // Program to print an integer entered by the user. 2 | // cin -> console input. 3 | 4 | #include 5 | 6 | using namespace std; 7 | 8 | int main() 9 | { 10 | int number; 11 | cout << "Enter an integer: "; 12 | cin >> number; 13 | cout << "You entered: " << number << endl; 14 | system("pause"); 15 | return 0; 16 | } -------------------------------------------------------------------------------- /Lab_01/03_integer_operations.cpp: -------------------------------------------------------------------------------- 1 | // Program to Add/Subtract/Multiply/Divide Two Integers. 2 | 3 | #include 4 | 5 | using namespace std; 6 | 7 | int main() 8 | { 9 | int num1, num2; 10 | cout << "Enter two integers: "; 11 | cin >> num1 >> num2; 12 | cout << "Sum: " << num1 + num2 << endl; 13 | cout << "Difference: " << num1 - num2 << endl; 14 | cout << "Product: " << num1 * num2 << endl; 15 | cout << "Quotient: " << num1 / num2 << endl; 16 | cout << "Remainder: " << num1 % num2 << endl; 17 | system("pause"); 18 | return 0; 19 | } -------------------------------------------------------------------------------- /Lab_01/04_integer_operations_v2.cpp: -------------------------------------------------------------------------------- 1 | // C++ Program to Add/Subtract/Multiply/Divide Two Integers entered by the user. 2 | 3 | #include 4 | 5 | using namespace std; 6 | 7 | int main() 8 | { 9 | int num1, num2; 10 | cout << "Enter two integers: "; 11 | cin >> num1 >> num2; 12 | cout << "Sum: " << num1 + num2 << endl; 13 | cout << "Difference: " << num1 - num2 << endl; 14 | cout << "Product: " << num1 * num2 << endl; 15 | cout << "Quotient: " << num1 / num2 << endl; 16 | cout << "Remainder: " << num1 % num2 << endl; 17 | system("pause"); 18 | return 0; 19 | } -------------------------------------------------------------------------------- /Lab_01/06_division.cpp: -------------------------------------------------------------------------------- 1 | // C++ Program to Compute Quotient and Remainder. 2 | 3 | #include 4 | 5 | using namespace std; 6 | 7 | int main() 8 | { 9 | int dividend, divisor, quotient, remainder; 10 | cout << "Enter dividend: "; 11 | cin >> dividend; 12 | cout << "Enter divisor: "; 13 | cin >> divisor; 14 | quotient = dividend / divisor; 15 | remainder = dividend % divisor; 16 | cout << "Quotient = " << quotient << endl; 17 | cout << "Remainder = " << remainder << endl; 18 | system("pause"); 19 | return 0; 20 | } -------------------------------------------------------------------------------- /Lab_01/07_circle.cpp: -------------------------------------------------------------------------------- 1 | // C++ program to Calculate Area and Circumference of Circle. 2 | 3 | #include 4 | 5 | using namespace std; 6 | 7 | int main() 8 | { 9 | cout << "\t\tC++ program to Calculate Area and Circumference of Circle.\n"; 10 | float R, Area, Circumference; 11 | cout << "Please enter the Radius of Circle: "; 12 | cin >> R; 13 | 14 | if (R > 0) { 15 | Area = 3.14 * R * R; 16 | Circumference = 2 * 3.14 * R; 17 | cout << "Area of Circle is " << Area << ";" << endl; 18 | cout << "Circumference of Circle is " << Circumference << ";" << endl; 19 | } 20 | else { 21 | cout << "Negative numbers cannot be applied !!!" << endl; 22 | } 23 | 24 | system("pause"); 25 | return 0; 26 | } -------------------------------------------------------------------------------- /Lab_01/08_scalene_triangle.cpp: -------------------------------------------------------------------------------- 1 | // C++ program to Calculate Area of Scalene Triangle. 2 | 3 | #include 4 | #include 5 | 6 | using namespace std; 7 | 8 | int main() 9 | { 10 | cout << "\t\tC++ program to Calculate Area of Scalene Triangle.\n"; 11 | float a, b, c, S, Area; 12 | cout << "Please enter the values for the first side of Triangle: "; 13 | cin >> a; 14 | cout << "Please enter the values for the second side of Triangle: "; 15 | cin >> b; 16 | cout << "Please enter the values for the third side of Triangle: "; 17 | cin >> c; 18 | 19 | if (a > 0 && b > 0 && c > 0) { 20 | if (c < a + b && a < b + c && b < a + c) { 21 | S = (a + b + c) / 2; 22 | Area = sqrt(S * (S - a) * (S - b) * (S - c)); 23 | cout << "The Area of Triangle is " << Area << endl; 24 | return 0; 25 | } 26 | else { 27 | cout << "This triangle is wrong try another values." << endl; 28 | return 0; 29 | } 30 | } 31 | else { 32 | cout << "The sides of Triangle cannot be negative numbers!" << endl; 33 | } 34 | 35 | system("pause"); 36 | return 0; 37 | } -------------------------------------------------------------------------------- /Lab_01/09_equilateral_triangle.cpp: -------------------------------------------------------------------------------- 1 | // C++ program to Calculate Area of Equilateral Triangle. 2 | 3 | #include 4 | #include 5 | 6 | using namespace std; 7 | 8 | int main() 9 | { 10 | cout << "\t\tC++ program to Calculate Area of Equilateral Triangle.\n "; 11 | float a, Area; 12 | cout << "Please enter the value for the side of Triangle: "; 13 | cin >> a; 14 | 15 | if (a > 0) { 16 | Area = sqrt(2) * a * a * 0.25; 17 | cout << "The Area of this triangle is " << Area << ";" << endl; 18 | } 19 | else { 20 | cout << "The sides of Triangle cannot be negative numbers ! " << endl; 21 | } 22 | 23 | system("pause"); 24 | return 0; 25 | } -------------------------------------------------------------------------------- /Lab_01/10_right_triangle.cpp: -------------------------------------------------------------------------------- 1 | // C++ program to Calculate Area of Right angle Triangle. 2 | 3 | #include 4 | 5 | using namespace std; 6 | 7 | int main() 8 | { 9 | cout << "\t\tC++ program to Calculate Area of Right angle Triangle.\n "; 10 | float a, b, Area; 11 | cout << "Please enter the value for the first cathet of Triangle: "; 12 | cin >> a; 13 | cout << "Please enter the value for the second cathet of Triangle: "; 14 | cin >> b; 15 | 16 | if (a > 0 && b > 0) { 17 | Area = b * a * 0.5; 18 | cout << "The Area of this Triangle is " << Area << ";" << endl; 19 | } 20 | else { 21 | cout << "The sides of Triangle cannot be negative numbers ! " << endl; 22 | } 23 | 24 | system("pause"); 25 | return 0; 26 | } -------------------------------------------------------------------------------- /Lab_01/11_rectangle.cpp: -------------------------------------------------------------------------------- 1 | // C++ program to Calculate Area of Rectangle. 2 | 3 | #include 4 | #include 5 | 6 | using namespace std; 7 | 8 | int main() 9 | { 10 | cout << "\t\tC++ program to Calculate Area of Rectangle. " << endl; 11 | float a, b, Area; 12 | cout << "Please enter the length of Rectangle: "; 13 | cin >> a; 14 | cout << "Please enter the width of Rectangle: "; 15 | cin >> b; 16 | 17 | if (a > 0 && b > 0) { 18 | Area = a * b; 19 | cout << "The area of Rectangle is " << Area << ";" << endl; 20 | } 21 | else { 22 | cout << "The sides of Rectangle cannot be negative numbers !" << endl; 23 | } 24 | 25 | system("pause"); 26 | return 0; 27 | } -------------------------------------------------------------------------------- /Lab_01/12_square.cpp: -------------------------------------------------------------------------------- 1 | // C++ program to Calculate Area of Square. 2 | 3 | #include 4 | #include 5 | 6 | using namespace std; 7 | 8 | int main() 9 | { 10 | cout << "\t\tC++ program to Calculate Area of Square." << endl; 11 | float a, Area; 12 | cout << "Please enter the value for the side of Square: "; 13 | cin >> a; 14 | 15 | if (a > 0) { 16 | Area = a * a; 17 | cout << "The area of Square is " << Area << ";" << endl; 18 | } 19 | else { 20 | cout << "Negetive numbers cannot be applied !!!" << endl; 21 | } 22 | 23 | system("pause"); 24 | return 0; 25 | } -------------------------------------------------------------------------------- /Lab_01/13_swapping.cpp: -------------------------------------------------------------------------------- 1 | // Program to show swap of two no's without using third variable. 2 | 3 | #include 4 | using namespace std; 5 | 6 | int main() { 7 | float a, b; 8 | 9 | cout << "Enter first number: "; 10 | cin >> a; 11 | cout << "Enter second number: "; 12 | cin >> b; 13 | 14 | a = a + b; 15 | b = a - b; 16 | a = a - b; 17 | 18 | cout << "We have swapped your numbers, result in below." << endl; 19 | cout << "a = " << a << endl; 20 | cout << "b = " << b << endl; 21 | 22 | system("pause"); 23 | return 0; 24 | } -------------------------------------------------------------------------------- /Lab_01/README.md: -------------------------------------------------------------------------------- 1 | # Practical Lab Assignment - Variables/Operators 2 | 3 | 1. C++ Program to print "Hello, World!". 4 | 2. C++ Program to print an integer entered by the user. 5 | 3. C++ Program to Add/Subtract/Multiply/Divide Two Integers. 6 | 4. C++ Program to Add/Subtract/Multiply/Divide Two Integers entered by the user. 7 | 5. C++ Program to Add/Subtract/Multiply/Divide two Floating Point Numbers. 8 | 6. C++ Program to Compute Quotient and Remainder. 9 | 7. C++ Program to Calculate the Area and Circumference of a Circle. 10 | 8. C++ Program to Calculate the Area of a Scalene Triangle. 11 | 9. C++ Program to Calculate the Area of an Equilateral Triangle. 12 | 10. C++ Program to Calculate the Area of Right Angle Triangle. 13 | 11. C++ Program to Calculate the Area and Perimeter of a Rectangle. 14 | 12. C++ Program to Calculate the Area and Perimeter of a Square. 15 | 13. C++ Program to Find ASCII Value of a Character. 16 | 14. C++ Program to Find the Size of int, float, double, and char. 17 | 15. C++ Program to Swap Two Numbers. 18 | -------------------------------------------------------------------------------- /Lab_02/01_temperature_converter.cpp: -------------------------------------------------------------------------------- 1 | // C++ program that converts between Celsius and Fahrenheit temperatures based on user input. 2 | 3 | #include 4 | 5 | using namespace std; 6 | 7 | int main() { 8 | float temp; 9 | char unit; 10 | 11 | cout << "Enter the temperature: "; 12 | cin >> temp; 13 | 14 | cout << "Enter the unit (C/F): "; 15 | cin >> unit; 16 | 17 | if (unit == 'C') { 18 | cout << "The temperature in Fahrenheit is " << (temp * 9 / 5) + 32 << "F." << endl; 19 | } else if (unit == 'F') { 20 | cout << "The temperature in Celsius is " << (temp - 32) * 5 / 9 << "C." << endl; 21 | } else { 22 | cout << "Invalid unit." << endl; 23 | } 24 | 25 | return 0; 26 | } -------------------------------------------------------------------------------- /Lab_02/02_odd_even.cpp: -------------------------------------------------------------------------------- 1 | // Program to find whether given number is even or odd. 2 | 3 | #include 4 | using namespace std; 5 | 6 | int main() { 7 | int a; 8 | cout << "Enter the number: "; 9 | cin >> a; 10 | 11 | if (a % 2 == 0) 12 | cout << "Your number is Even!" << endl; 13 | else 14 | cout << "Your number is Odd!" << endl; 15 | 16 | system("pause"); 17 | return 0; 18 | } -------------------------------------------------------------------------------- /Lab_02/03_negative_positive.cpp: -------------------------------------------------------------------------------- 1 | // C++ Program to Check Whether a Number is Positive or Negative. 2 | 3 | #include 4 | 5 | using namespace std; 6 | 7 | int main() { 8 | float number; 9 | 10 | cout << "Enter a number: "; 11 | cin >> number; 12 | 13 | if (number > 0) { 14 | cout << "The number is positive." << endl; 15 | } else if (number < 0) { 16 | cout << "The number is negative." << endl; 17 | } else { 18 | cout << "The number is zero." << endl; 19 | } 20 | 21 | system("pause"); 22 | return 0; 23 | } -------------------------------------------------------------------------------- /Lab_02/04_vowel_consonant.cpp: -------------------------------------------------------------------------------- 1 | // C++ Program to Check Whether a Character is a Vowel or Consonant. 2 | 3 | #include 4 | 5 | using namespace std; 6 | 7 | int main() { 8 | char c; 9 | 10 | cout << "Enter a character: "; 11 | cin >> c; 12 | 13 | if (c == 'a' || c == 'e' || c == 'i' || c == 'o' || c == 'u' || 14 | c == 'A' || c == 'E' || c == 'I' || c == 'O' || c == 'U') { 15 | cout << "The character is a vowel." << endl; 16 | } else { 17 | cout << "The character is a consonant." << endl; 18 | } 19 | 20 | system("pause"); 21 | return 0; 22 | } -------------------------------------------------------------------------------- /Lab_02/05_largest_number.cpp: -------------------------------------------------------------------------------- 1 | // Program to find greatest in 3 numbers 2 | 3 | #include 4 | using namespace std; 5 | 6 | int main() 7 | { 8 | float a, b, c; 9 | cout << "Enter the 3 numbres: "; 10 | cin >> a >> b >> c; 11 | 12 | if (a >= b && a >= c) 13 | cout << "The greatest number is " << a << ";" << endl; 14 | 15 | if (b >= a && b >= c) 16 | cout << "The greatest number is " << b << ";" << endl; 17 | 18 | if (c >= a && c >= b) 19 | cout << "The greatest number is " << c << ";" << endl; 20 | else if (a == b == c) 21 | cout << "All numbers are equal." << endl; 22 | 23 | system("pause"); 24 | return 0; 25 | } -------------------------------------------------------------------------------- /Lab_02/06_leap_year.cpp: -------------------------------------------------------------------------------- 1 | // Program to find that entered year is leap or not. 2 | 3 | #include 4 | using namespace std; 5 | 6 | int main() 7 | { 8 | int year; 9 | cout << "Enter a Year: "; 10 | cin >> year; 11 | 12 | if (year % 4 == 0) 13 | { 14 | if (year % 100 == 0) 15 | { 16 | if (year % 400 == 0) 17 | { 18 | cout << "Given " << year << " year is a leap." << endl; 19 | } 20 | else 21 | { 22 | cout << "Given " << year << " year isn't a leap." << endl; 23 | } 24 | } 25 | else 26 | { 27 | cout << "Given " << year << " year is a leap year." << endl; 28 | } 29 | } 30 | else 31 | { 32 | cout << "Given " << year << " year isn't a leap." << endl; 33 | } 34 | system("pause"); 35 | return 0; 36 | } -------------------------------------------------------------------------------- /Lab_02/README.md: -------------------------------------------------------------------------------- 1 | # Practical Lab Assignment - Control Structures - if/else 2 | 3 | 1. C++ program that converts between Celsius and Fahrenheit temperatures based on user input. You can also add conversions for Kelvin. 4 | 2. C++ Program to Check Whether a Number is Even or Odd. 5 | 3. C++ Program to Check Whether a Number is Positive or Negative. 6 | 4. C++ Program to Check Whether a Character is a Vowel or Consonant. 7 | 5. C++ Program to find the Largest Number Among Three Numbers. 8 | 6. C++ Program to find if the entered year is a leap year or not. 9 | 7. C++ program that allows the user to perform basic arithmetic operations (addition, subtraction, multiplication, division) on two numbers. You can also add error handling for division by zero. 10 | 8. BMI Calculator: Create a program that calculates a person's Body Mass Index (BMI) based on their weight and height input. Provide a classification of whether the person is underweight, normal weight, overweight, or obese. Use cin, cout. 11 | Formula: bmi = weight / (height * height) 12 | 13 | | bmi < 18.5 | Underweight | 14 | | --- | --- | 15 | | bmi < 24.9 | Normal Weight | 16 | | bmi < 29.9 | Overweight | 17 | | Otherwise | Obese | 18 | 9. Nested condition 19 | - Get the `age` and `membership_status` as user input. `membership_status` can be only `Y` or `y`. So, if the age is bigger or equal to 18 and if the user is a member of our shop, we provide a 10% discount, else we charge fully. 20 | - Write a simple chatbot program using nested conditions. 21 | 10. Write a program to calculate taxes, with the following conditions: 22 | - If the salary is less than $1500, then there are no taxes 23 | - If the salary is from 1501 to 3000 $ (1501<= salary < 3000) then the tax should be 10% 24 | - If the salary is from 3001 to 5000 $ (3001 <= salary < 5000) then the tax should be 20% 25 | - If the salary is above $5000, then the tax should be 30% 26 | 27 | **Hint: Formula for finding tax (salary * percentage) / 100** 28 | 29 | You must output: 30 | - Tax percentage 31 | - Salary after taxes 32 | 11. Switch 33 | - Program to use `switch` statement. Display Monday to Sunday. 34 | - Program to display arithmetic operator using switch case. 35 | 12. C++ Program to Find all Roots of a Quadratic equation. 36 | 13. C++ Program to Check Whether a Character is an Alphabet or not. 37 | -------------------------------------------------------------------------------- /Lab_03/Digits.cpp: -------------------------------------------------------------------------------- 1 | //U1910049 Rastam Zokirov 2 | //Lab assignment #4 3 | //Program to input a number and then calculate sum of its digits. 4 | 5 | #include 6 | using namespace std; 7 | int main3() { 8 | int a, sum = 0; 9 | cout << "Please enter the number: "; 10 | cin >> a; 11 | while (a != 0) { 12 | sum = sum + a % 10; 13 | a = a / 10; 14 | } 15 | cout <<"The sum of digits of given number is "<< sum <<";"<< endl; 16 | 17 | system("pause"); 18 | return 0; 19 | } -------------------------------------------------------------------------------- /Lab_03/Fibonacci.cpp: -------------------------------------------------------------------------------- 1 | //U1910049 Rastam Zokirov 2 | //Lab assignment #4 3 | //Program to print Fibonacci series up to 100. 4 | //1,1,2,3,5,8,13... 5 | 6 | #include 7 | using namespace std; 8 | int main() { 9 | int a = 0, b = 1, sum = 0; 10 | cout << a << endl; 11 | cout << b << endl; 12 | while (b < 100) { 13 | sum = a + b; 14 | a = b; 15 | b = sum; 16 | if (b > 100) { 17 | break; 18 | } 19 | cout << sum << endl; 20 | } 21 | system("pause"); 22 | return 0; 23 | } -------------------------------------------------------------------------------- /Lab_03/Operators.cpp: -------------------------------------------------------------------------------- 1 | //U1910049 Rastam Zokirov 2 | //Lab assignment #4 3 | //Program to display arithmetic operators using switch case. 4 | 5 | #include 6 | using namespace std; 7 | int main8() { 8 | char op; 9 | float num1, num2; 10 | cout << "Enter the 1st operand: "; 11 | cin >> num1; 12 | cout << "Enter operator either + or - or * or / : "; 13 | cin >> op; 14 | cout << "Enter 2nd operand: "; 15 | cin >> num2; 16 | cout << endl; 17 | switch (op) 18 | { 19 | case '+': 20 | cout << "Result is "<< num1 + num2 << endl; 21 | break; 22 | case '-': 23 | cout << "Result is " << num1 - num2 << endl; 24 | break; 25 | case '*': 26 | cout << "Result is " << num1 * num2 << endl; 27 | break; 28 | case '/': 29 | cout << "Result is " << num1 / num2 << endl; 30 | break; 31 | default: 32 | cout << "Error! Operator is not correct"; 33 | break; 34 | } 35 | system("pause"); 36 | return 0; 37 | } -------------------------------------------------------------------------------- /Lab_03/Prime.cpp: -------------------------------------------------------------------------------- 1 | //U1910049 Rastam Zokirov 2 | //Lab assignment #4 3 | //Program to find whether the given number is a prime number or not. 4 | 5 | #include 6 | using namespace std; 7 | int main4() { 8 | int num, j = 0; 9 | cout << "Enter the number: "; 10 | cin >> num; 11 | for (int i = 1; i <= num; i++) 12 | { 13 | if ((num % i) == 0) 14 | { 15 | j++; 16 | } 17 | } 18 | if (j == 2) 19 | cout << num << " is a prime number." << endl; 20 | else 21 | cout << num << " is not a prime number." << endl; 22 | system("pause"); 23 | return 0; 24 | } -------------------------------------------------------------------------------- /Lab_03/README.md: -------------------------------------------------------------------------------- 1 | # Practical Lab Assignment - Control Structures - Loop/Switch 2 | 3 | 1. Program to calculate sum of numbers from m to n. 4 | - Hint: Input two numbers m and n. Find sum of all numbers from m to n. For example m=3 and n=8 then sum will be 3 + 4 + 5 + 6 + 7 + 8 = 33. 5 | 2. Program to print Fibonacci series up to 100. 6 | - Hint: Fibonacci Series is 1, 1, 2, 3, 5, 8, 13, 21, .... 7 | 3. Program to input a number and then calculate sum of its digits. 8 | - Hint: let number = 562. Then you should print 5 + 6 + 2 = 13. 9 | 4. Program to find whether given number is a prime number or not. 10 | 5. Program to display sum of series 1 + 1/2 + 1/3 + ... + 1/n. 11 | 6. Program to display series and find sum of 1 + 3 + 5 + ... + n. 12 | 7. Program to use switch statement. Display Monday to Sunday. 13 | 8. Program to display arithmetic operator using switch case -------------------------------------------------------------------------------- /Lab_03/Sum1.cpp: -------------------------------------------------------------------------------- 1 | //U1910049 Rastam Zokirov 2 | //Lab assignment #4 3 | //Program to display sum of series 1+1/2+1/3+1/4+... . 4 | 5 | #include 6 | using namespace std; 7 | int main5() { 8 | int n; 9 | float sum = 0; 10 | cout << "Enter the value of n: "; 11 | cin >> n; 12 | for (int i = 1;i <= n;i++) 13 | sum += 1 / i; 14 | cout << "Sum is : " << sum << endl; 15 | system("pause"); 16 | return 0; 17 | } -------------------------------------------------------------------------------- /Lab_03/Sum2.cpp: -------------------------------------------------------------------------------- 1 | //U1910049 Rastam Zokirov 2 | //Lab assignment #4 3 | //Program to display sum of series 1+3+5+7+... . 4 | 5 | #include 6 | using namespace std; 7 | int main6() { 8 | int n, sum = 0; 9 | cout << "Enter the value of n: "; 10 | cin >> n; 11 | for (int i = 1;i <= n;i=i+2) 12 | sum += i; 13 | cout << "Sum is : " << sum << endl; 14 | system("pause"); 15 | return 0; 16 | } -------------------------------------------------------------------------------- /Lab_03/Weekdays.cpp: -------------------------------------------------------------------------------- 1 | //U1910049 Rastam Zokirov 2 | //Lab assignment #4 3 | //Program to use switch statement. Display Monday to Sunday. 4 | 5 | #include 6 | using namespace std; 7 | int main7() { 8 | int day ; 9 | cout << "Enter the number from 1 to 7: "; 10 | cin >> day; 11 | switch (day) { 12 | case 1: 13 | cout << "Monday" << endl; 14 | break; 15 | case 2: 16 | cout << "Tuesday" << endl; 17 | break; 18 | case 3: 19 | cout << "Wednesday" << endl; 20 | break; 21 | case 4: 22 | cout << "Thursday" << endl; 23 | break; 24 | case 5: 25 | cout << "Friday" << endl; 26 | break; 27 | case 6: 28 | cout << "Saturday" << endl; 29 | break; 30 | case 7: 31 | cout << "Sunday" << endl; 32 | break; 33 | } 34 | system("pause"); 35 | return 0; 36 | } -------------------------------------------------------------------------------- /Lab_03/mn.cpp: -------------------------------------------------------------------------------- 1 | //U1910049 Rastam Zokirov 2 | //Lab assignment #4 3 | //Program to calculate sum of numbers from m to n. 4 | 5 | #include 6 | using namespace std; 7 | int main1() { 8 | int m, n, sum = 0; 9 | cout << "Enter the 1st number: "; 10 | cin >> n; 11 | cout << "Enter the 2nd number: "; 12 | cin >> m; 13 | if (n < m) { 14 | for (int x = n; x <= m; x++) { 15 | sum += x; 16 | } 17 | cout << "The sum of the integers between the two numbers is " << sum << ";" << endl; 18 | } 19 | else if (m < n) 20 | cout << "Invalid numbers! Please try again." << endl; 21 | else if (m == n) { 22 | sum = n; 23 | cout << "The sum is " << sum << endl; 24 | } 25 | system("pause"); 26 | return 0; 27 | } -------------------------------------------------------------------------------- /Lab_04/README.md: -------------------------------------------------------------------------------- 1 | # Practical Lab Assignment - Control Structure - Nested Loop 2 | 3 | 1. Program to print stars Sequence1. 4 | ``` 5 | * 6 | ** 7 | *** 8 | **** 9 | ***** 10 | ``` 11 | 2. Program to print stars Sequence2. 12 | ``` 13 | * 14 | ** 15 | *** 16 | **** 17 | ***** 18 | ``` 19 | 3. Program to print star Sequences3. 20 | ``` 21 | * 22 | *** 23 | ***** 24 | ``` 25 | 4. Program to print Sequence4. 26 | ``` 27 | * 28 | ** 29 | *** 30 | **** 31 | ***** 32 | ***** 33 | **** 34 | *** 35 | ** 36 | * 37 | ``` 38 | 5. Write a program to add first seven terms of the following series using for loop: `1/!1+ 2/!2 + 3/!3 + ...` -------------------------------------------------------------------------------- /Lab_04/Source.cpp: -------------------------------------------------------------------------------- 1 | // Lab assignment #5 2 | // ID:U1910049; Name: Zokirov Rustam 3 | // Control structure - Nested Loop 4 | 5 | #include 6 | using namespace std; 7 | int main() 8 | { 9 | for (int i = 1; i <= 5; i++) 10 | { 11 | for (int j = 1; j <= i; j++) 12 | { 13 | cout << "*"; 14 | } 15 | cout << endl; 16 | } 17 | system("pause"); 18 | return 0; 19 | } -------------------------------------------------------------------------------- /Lab_04/Source1.cpp: -------------------------------------------------------------------------------- 1 | // Lab assignment #5 2 | // ID:U1910049; Name:Zokirov Rustam 3 | // Control structure - Nested Loop 4 | 5 | #include 6 | using namespace std; 7 | int main2() 8 | { 9 | for (int i = 1; i <= 5; i++) 10 | { 11 | for (int j = 5; j >= 1; j--) 12 | { 13 | if (i >= j) 14 | cout << "*"; 15 | else 16 | cout << " "; 17 | } 18 | cout << endl; 19 | } 20 | system("pause"); 21 | return 0; 22 | } -------------------------------------------------------------------------------- /Lab_04/Source2.cpp: -------------------------------------------------------------------------------- 1 | // Lab assignment #5 2 | // ID:U1910049; Name:Zokirov Rustam 3 | // Control structure - Nested Loop 4 | 5 | #include 6 | using namespace std; 7 | int main3() 8 | { 9 | for (int i = 1; i <= 5; i += 2) 10 | { 11 | for (int j = 3; j >= i; j -= 2) 12 | { 13 | cout << " "; 14 | } 15 | 16 | for (int j = 1; j <= i; j++) 17 | { 18 | cout << "*"; 19 | } 20 | cout << endl; 21 | } 22 | system("pause"); 23 | return 0; 24 | } -------------------------------------------------------------------------------- /Lab_04/Source3.cpp: -------------------------------------------------------------------------------- 1 | // Lab assignment #5 2 | // ID:U1910049; Name:Zokirov Rustam 3 | // Control structure - Nested Loop 4 | 5 | #include 6 | using namespace std; 7 | int main4() 8 | { 9 | for (int i = 1; i <= 5; i++) 10 | { 11 | for (int j = 1; j <= i; j++) 12 | { 13 | cout << "*"; 14 | } 15 | cout << endl; 16 | } 17 | for (int i = 1; i <= 5; i++) 18 | { 19 | for (int j = 5; j >= i; j--) 20 | { 21 | cout << "*"; 22 | } 23 | cout << endl; 24 | } 25 | system("pause"); 26 | return 0; 27 | } -------------------------------------------------------------------------------- /Lab_04/Source4.cpp: -------------------------------------------------------------------------------- 1 | // Lab assignment #5 2 | // ID:U1910049; Name: Zokirov Rustam 3 | // A program to add first seven terms of the following series using for loop:1 / !1 + 2 / !2 + 3 / !3 + ... 4 | 5 | #include 6 | using namespace std; 7 | int main5() 8 | { 9 | float sum = 0, fact = 1; 10 | for (int i = 1; i <= 7; i++) 11 | { 12 | fact = fact * i; 13 | sum += i / fact; 14 | } 15 | cout << "Sum is : " << sum << endl; 16 | system("pause"); 17 | return 0; 18 | } -------------------------------------------------------------------------------- /Lab_05/README.md: -------------------------------------------------------------------------------- 1 | # Practical Lab Assignment 2 | 3 | 1. Write a program to calculate area of a circle using functions. 4 | 2. Write a program to swap two values using functions. 5 | 3. Write a program to convert time to minutes using functions. (input 3 variables namely hours, minutes and seconds. Convert everything into minutes.) 6 | 4. Write a program to sum the series up to n (Input n) -------------------------------------------------------------------------------- /Lab_05/Source.cpp: -------------------------------------------------------------------------------- 1 | // Practical Lab Assignment-7(Week 9) 2 | // ID:U1910049 Name: Rustam Zokirov 3 | // Program to calculate area of a circle using functions 4 | 5 | #include 6 | #include //C++ libriry which is including "pow" and PI=3.14 7 | using namespace std; 8 | 9 | float area(float radius) 10 | { // function for calculating the area 11 | float area; 12 | area = (atan(1) * 4) * (pow(radius, 2)); //"atan" is the function which is finding the PI=3.14 13 | return area; 14 | } // end function "area" 15 | 16 | int main1() 17 | { 18 | float radius; 19 | cout << "Please enter the radius of circle: "; 20 | cin >> radius; // inputing the radius 21 | 22 | if (radius > 0) 23 | cout << area(radius) << endl; // calling the function "area" for calculating the Area of Circle 24 | 25 | else 26 | cout << "INVALID Radius!" << endl; // if radius is a negative number or equal to zero the program will show "Invalid radius" 27 | system("pause"); 28 | return 0; 29 | } -------------------------------------------------------------------------------- /Lab_05/Source1.cpp: -------------------------------------------------------------------------------- 1 | // Practical Lab Assignment-7(Week 9) 2 | // ID:U1910049 Name: Rustam Zokirov 3 | // Program to swap two values using functions 4 | 5 | #include 6 | #include //C++ libriry which is calculating "pow" and PI=3.14 7 | using namespace std; 8 | 9 | int main2() 10 | { 11 | int a, b; 12 | cout << "Enter two numbers: "; 13 | cin >> a >> b; 14 | swap(a, b); // C++ function to swap two numbers 15 | cout << a << " & " << b << endl; // swap is the function which is contained in c++ ==> 16 | //==> there is no need to open new function to swap 17 | return 0; 18 | } // ending the function main -------------------------------------------------------------------------------- /Lab_05/Source2.cpp: -------------------------------------------------------------------------------- 1 | // Practical Lab Assignment-7(Week 9) 2 | // ID:U1910049 Name: Rustam Zokirov 3 | // Program to convert into minutes 4 | 5 | #include 6 | using namespace std; 7 | 8 | double converting1(double hours, double minutes, double seconds) 9 | { // initializing the variables 10 | return (hours * 60) + (minutes) + (seconds / 60); // returning the function "converting" 11 | } 12 | 13 | int main3() 14 | { 15 | double hours, minutes, seconds; 16 | cout << "Hours: "; 17 | cin >> hours; // Prompting user for data and 18 | cout << "Minutes: "; // reading 3 numbers for user 19 | cin >> minutes; //! 20 | cout << "Seconds: "; 21 | cin >> seconds; 22 | if (hours >= 0 && minutes >= 0 && seconds >= 0) // the program will be executed when all numbers are positive 23 | cout << "The time in minutes is " << converting1(hours, minutes, seconds) << endl; 24 | else // calling function to calculate the main function 25 | cout << "Invalid inputs!" << endl; 26 | return 0; // indicates that the program will ended successfully 27 | } -------------------------------------------------------------------------------- /Lab_05/Source3.cpp: -------------------------------------------------------------------------------- 1 | // Practical Lab Assignment-7(Week 9) 2 | // ID:U1910049 Name: Rustam Zokirov 3 | // Program to sum the series up to n 4 | 5 | #include 6 | #include 7 | using namespace std; 8 | 9 | double qwerty(double n, double sum, double fact) 10 | { 11 | for (int i = 1; i <= n; i++) 12 | { 13 | fact = fact * i; // calculating the factorial of the numbers 14 | sum += (pow(i, i) / (fact)); // executing the sum of numbers 15 | } //"pow" is raising 'i' to power 'i' 16 | return sum; // 17 | } // end function qwerty 18 | 19 | int main() 20 | { 21 | double n; 22 | double sum = 0; 23 | double fact = 1; 24 | cout << "Please ebter the number: "; // outputing and inputing the number 25 | cin >> n; 26 | if (n > 0) // the program will calculate the sum when numbers is positive 27 | cout << "Sum is: " << qwerty(n, sum, fact) << endl; // calling the function qwerty 28 | else // when the number is negative 'else' will work 29 | cout << "INVALID INPUT!" << endl; 30 | system("pause"); 31 | return 0; 32 | } // ending the program successfully -------------------------------------------------------------------------------- /Lab_06/README.md: -------------------------------------------------------------------------------- 1 | # Practical Lab Assignment 2 | 3 | ``` 4 | 1. Write a program to calculate area of following figures using function overloading: 5 | Circle 6 | Rectangle 7 | Triangle 8 | Square 9 | (Hint: 1. create 4 functions with same name area. 2. Each function to calculate area of one figure.) 10 | 11 | 2. Write a program to calculate circumference of the following figures using function overloading: 12 | Circle 13 | Rectangle 14 | Triangle 15 | Square 16 | 17 | 3. Write a program using function overloading: 18 | To find largest among three integers. 19 | To find largest among three floating point numbers. 20 | 21 | 4. Convert function template for problem 3. 22 | ``` -------------------------------------------------------------------------------- /Lab_07/README.md: -------------------------------------------------------------------------------- 1 | # Practical Lab Assignment 2 | 3 | 1. Calculate the x^y (power) using recursion. 4 | 2. Find sum of natural numbers using recursion. 5 | 3. Display Fibonacci Series Using Recursion. 6 | 4. Find G.C.D for two integers using recursion. -------------------------------------------------------------------------------- /Lab_07/fibonacci.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | using namespace std; 4 | 5 | int fibonacci(int num) 6 | { // new function 'fibonacci' for calculating fibonacci series 7 | if (num <= 1) 8 | { 9 | return num; 10 | } 11 | else 12 | { 13 | return (fibonacci(num - 1) + fibonacci(num - 2)); 14 | } 15 | } 16 | int main() 17 | { 18 | cout << "\t\t\t***Program to calculate the sum of natural numbers using recursion***" << endl; 19 | cout << "Enter how many numbers would you like to output : "; 20 | int num; 21 | cin >> num; 22 | cout << "Fibonnaci Series: "; // inputing the quantity of numbers 23 | for (int i = 0; i < num; i++) // for loop for displaying series 24 | cout << " " << fibonacci(i); // calling function 25 | cout << endl; 26 | system("pause"); 27 | return 0; 28 | } -------------------------------------------------------------------------------- /Lab_07/gcd.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | using namespace std; 4 | 5 | int gcd(int x, int y) 6 | { 7 | if (x == 0 || y == 0) 8 | return y, x; // will input non-zero number when even one number input in zero 9 | if (x == y) 10 | return x; // will return first number when both of the numbers are equal 11 | if (x > y) 12 | return gcd(x - y, y); // when first number is greater than second 13 | if (y > x) 14 | return gcd(x, y - x); // when second number is greater than first 15 | } 16 | 17 | int main4() 18 | { 19 | cout << "\t\t\t***Program to calculate the G.C.D for two integers using recursion.***" << endl; 20 | cout << "Please enter two integers: " << endl; 21 | int x, y; 22 | cin >> x >> y; 23 | cout << "The G.C.D of " << x << "and " << y << " is " << gcd(x, y); // calling function in the main function 24 | return 0; 25 | } -------------------------------------------------------------------------------- /Lab_07/power.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | using namespace std; 5 | 6 | long long int power(long long int x, long long int y) 7 | { 8 | if (y == 0) 9 | return 1; 10 | else 11 | return x * power(x, y - 1); 12 | } 13 | 14 | int main1() 15 | { 16 | cout << "\t\t\t***Program to calculate the x^y using recursion***" << endl; 17 | int x, y; 18 | cout << "Please enter the numbers x^y: "; 19 | cin >> x >> y; // inpuing the interval of the numbers 20 | cout << "Result: " << power(x, y); // calling function 'power' 21 | cout << endl; 22 | system("pause"); 23 | return 0; 24 | } -------------------------------------------------------------------------------- /Lab_07/sum.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | using namespace std; 4 | 5 | long long int sum(long long int n) 6 | { // fuction called 'sum' foe calculating the sum of the natural numbers 7 | if (n == 0) 8 | return 0; // will return '0' when number will come to 0 9 | else 10 | return n + sum(n - 1); // using recursion 11 | } 12 | 13 | int main2() 14 | { 15 | cout << "\t\t\t***Program to calculate the sum of natural numbers using recursion***" << endl; 16 | int num; 17 | cout << "Please enter the interval: "; 18 | cin >> num; // inpuing the interval of the numbers 19 | cout << "The sum is : " << sum(num); // calling function 'sum' 20 | return 0; 21 | } -------------------------------------------------------------------------------- /Lab_08/README.md: -------------------------------------------------------------------------------- 1 | # Practical Lab Assignment - Arrays 2 | 3 | 1. Write a program to display an array. 4 | 2. Write a program to find average of array elements. 5 | 3. Write a program to merge to sorted arrays. 6 | ``` 7 | a1[10] = [25, 27, 32, 98] 8 | a2[10] = [12, 23, 28, 51, 72, 85, 97] 9 | then a3[20] should be equal to = [12, 23, 25, 27, 28, 32, 51, 72, 85, 97, 98] 10 | ``` 11 | 4. Write a program to insert an element to an array. 12 | 5. Write a program to delete an element from an array. -------------------------------------------------------------------------------- /Lab_08/Sort.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | using namespace std; 3 | // function for merging two arrays into third array 4 | 5 | void merging(int arr1[], int arr2[], int arr3[]) 6 | { 7 | int i = 0, j = 0, k = 0; 8 | for (i = 0; i < 5 && j < 5;) 9 | { // comparing first array elements with second 10 | if (arr1[i] < arr2[j]) 11 | { 12 | arr3[k] = arr1[i]; 13 | k++; 14 | i++; 15 | } 16 | else 17 | { 18 | arr3[k] = arr2[j]; 19 | k++; 20 | j++; 21 | } 22 | } 23 | while (i < 5) 24 | { // comparing for other elements of first and third arrays 25 | arr3[k] = arr1[i]; 26 | k++; 27 | i++; 28 | } 29 | while (j < 5) 30 | { // comparing for other elements of second and third arrays 31 | arr3[k] = arr2[j]; 32 | k++; 33 | j++; 34 | } 35 | } 36 | 37 | int main() 38 | { 39 | 40 | int arr1[5], arr2[5]; 41 | int arr3[10]; 42 | int i; 43 | cout << "Input the elements for the first Array: "; 44 | for (i = 0; i < 5; i++) 45 | { 46 | cin >> arr1[i]; 47 | } 48 | cout << "Input the elements for the second Array: "; 49 | for (i = 0; i < 5; i++) 50 | { 51 | cin >> arr2[i]; 52 | } 53 | merging(arr1, arr2, arr3); // calling function merging 54 | cout << "Sorted Elements: "; 55 | for (i = 0; i < 10; i++) 56 | { 57 | cout << arr3[i] << " "; 58 | } 59 | cout << endl; 60 | return 0; 61 | } -------------------------------------------------------------------------------- /Lab_08/average.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | using namespace std; 3 | 4 | int main() 5 | { 6 | int a[10]; 7 | // input the arrays 8 | cout << "Input an Array Elements. " << endl; 9 | for (int i = 0; i < 10; i++) 10 | { 11 | cout << "array element [ " << i << " ] "; 12 | cin >> a[i]; 13 | } 14 | cout << endl; 15 | double sum = 0; 16 | // sum the elements of the array 17 | for (int i = 0; i < 10; i++) 18 | { 19 | sum += a[i]; 20 | } 21 | double average; 22 | // finding the elements of the array 23 | average = sum / 10; 24 | cout << "Average of array elements: " << average << endl; 25 | system("pause"); 26 | return 0; 27 | } -------------------------------------------------------------------------------- /Lab_08/deleting.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | using namespace std; 3 | 4 | int main() 5 | { 6 | int a[10]; 7 | int n = 10; 8 | cout << "Input numbers for into arrays." << endl; 9 | for (int i = 0; i < n; i++) 10 | { 11 | cout << "a[" << i << "] = "; // input array 12 | cin >> a[i]; 13 | } 14 | int value; 15 | int position; 16 | cout << "Enter value which you want to delete: "; 17 | cin >> value; 18 | for (int i = 0; i < n; i++) 19 | { // finding the position 20 | if (value == a[i]) 21 | position = i; 22 | } 23 | for (int i = position; i < n; i++) 24 | { // incrementing the array elements into 1 25 | a[i] = a[i + 1]; 26 | } 27 | n = n - 1; 28 | for (int i = 0; i < n; i++) 29 | { 30 | cout << "a[" << i << "] =" << a[i] << endl; // output arrays with correct order 31 | } 32 | a[9] = 0; 33 | return 0; 34 | } -------------------------------------------------------------------------------- /Lab_08/display.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | using namespace std; 3 | 4 | int main() 5 | { 6 | int a[10]; 7 | // code for the input the elements of the array 8 | cout << "Input an Array Elements. " << endl; 9 | for (int i = 0; i < 10; i++) 10 | { 11 | cout << "array element [ " << i << " ] "; 12 | cin >> a[i]; 13 | } 14 | cout << endl; 15 | // output tje arrays 16 | cout << "Displaying arrays: " << endl; 17 | for (int i = 0; i < 5; i++) 18 | { 19 | cout << "a[ " << i << " ] = " << a[i] << endl; 20 | } 21 | 22 | system("pause"); 23 | return 0; 24 | } -------------------------------------------------------------------------------- /Lab_08/inserting.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | using namespace std; 3 | 4 | int main() 5 | { 6 | int a[15], value, i, pos; 7 | int size = 10; 8 | cout << "Enter array elements: "; 9 | for (i = 0; i < 10; i++) // input the array elements 10 | { 11 | cout << "a[ " << i << " ] = "; 12 | cin >> a[i]; 13 | } 14 | // code for asking the value and the position to be inserted 15 | cout << "Enter element to be insert : "; 16 | cin >> value; 17 | cout << "At which position: "; 18 | cin >> pos; 19 | // changing the place of arrays 20 | for (i = 10; i > pos; i--) 21 | { 22 | a[i] = a[i - 1]; 23 | } 24 | a[pos] = value; 25 | // outputing correct araays order 26 | for (i = 0; i < size + 1; i++) 27 | { 28 | cout << a[i] << " "; 29 | } 30 | system("pause"); 31 | return 0; 32 | } -------------------------------------------------------------------------------- /Lab_09/Pascal.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | using namespace std; 3 | 4 | int main() 5 | { 6 | cout << "\t\t\tPalcal's Triangle\n"; 7 | int a[7][7] = {}; 8 | int row = 0, col = 0; 9 | for (int row = 0; row < 7; row++) 10 | { 11 | for (int col = 0; col < row; col++) 12 | { 13 | a[0][0] = 1; 14 | a[row + 1][1] = 1; 15 | 16 | cout << a[row][col]; 17 | } 18 | cout << endl; 19 | } 20 | 21 | system("pause"); 22 | return 0; 23 | } -------------------------------------------------------------------------------- /Lab_09/Pascal2.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | using namespace std; 3 | int main1() 4 | { 5 | cout << "\t\t\tPascal's triangle\n"; 6 | int row = 0, col = 0; 7 | int a[7][7] = {}; 8 | a[0][0] = 1; // giving the value for the array with address a[0][0] 9 | for (row = 0; row < 7; row++) // rows 10 | { 11 | for (col = 0; col <= row; col++) // columns 12 | { 13 | // code for the borders of the triangle 14 | // giving to then the value 1 15 | if (col == 0 || row == col) 16 | { 17 | a[row][col] = 1; 18 | cout << " " << a[row][col]; 19 | } 20 | // code for the finding the values for the inside numbers of the triangle 21 | else 22 | { 23 | a[row][col] = a[row - 1][col - 1] + a[row - 1][col]; 24 | cout << " " << a[row][col]; 25 | } 26 | } 27 | cout << endl; 28 | } 29 | system("pause"); 30 | return 0; 31 | } -------------------------------------------------------------------------------- /Lab_09/README.md: -------------------------------------------------------------------------------- 1 | # Practical Lab Assignment - Arrays 2 | 3 | 1. Write a program to generate Pascal’s triangle. 4 | ``` 5 | 1 6 | 1 1 7 | 1 2 1 8 | 1 3 3 1 9 | 1 4 6 4 1 10 | 1 5 10 10 5 1 11 | 1 6 15 20 15 6 1 12 | ``` 13 | 2. Write a menu driven program to read and display an m × n matrix. Also find the sum, transpose and product of two m × n matrices. 14 | 3. In a small company there are five salesman. Each salesman is supposed to sell three products. Write a program using 2D array to print the total sales by each salesman and total sales of each item. -------------------------------------------------------------------------------- /Lab_09/Source2.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | using namespace std; 4 | 5 | void main_menu_view1() 6 | { 7 | cout << "\t\t\t\tSALESMAN & PRODUCTS\n"; 8 | cout << "===================================================================================\n"; 9 | cout << "= || Salesman 1 || Salesman 2 || Salesman 3 || Salesman 4 || Salesman 5 =\n"; 10 | cout << "===================================================================================\n"; 11 | cout << "= Product 1 || || || || || =\n"; 12 | cout << "= Product 2 || || || || || =\n"; 13 | cout << "= Product 3 || || || || || =\n"; 14 | cout << "===================================================================================\n"; 15 | } 16 | 17 | void salesman_sum(int a[3][5]) 18 | { 19 | int row, col, sum = 0; 20 | // finding the column sum 21 | for (row = 0; row < 5; ++row) 22 | { 23 | for (col = 0; col < 3; ++col) 24 | { 25 | 26 | // Add the element 27 | sum = sum + a[col][row]; 28 | } 29 | // Print the column sum 30 | cout << "The Total sales of Salesman " << row + 1 << " is " << sum << endl; 31 | // Reset the sum 32 | sum = 0; 33 | } 34 | } 35 | 36 | void sales_sum(int a[3][5]) 37 | { 38 | int sum = 0; 39 | for (int row = 0; row < 3; row++) 40 | { 41 | for (int col = 0; col < 5; col++) 42 | { 43 | sum += a[row][col]; // adding all arrays 44 | } 45 | cout << "The Total sales of Product " << row + 1 << " is " << sum << endl; 46 | sum = 0; // reset the sum 47 | } 48 | } 49 | 50 | int main() 51 | { 52 | main_menu_view1(); 53 | int a[3][5]; 54 | // inputting numbers for the 2D array 55 | cout << "Please input 5 Sales for Salesman 1, Salesman 2 and Salesman 3: \n "; 56 | for (int row = 0; row < 3; row++) 57 | { 58 | for (int col = 0; col < 5; col++) 59 | { 60 | cin >> a[row][col]; 61 | } 62 | } 63 | cout << "Main table of Salesman and Sales: \n"; 64 | for (int row = 0; row < 3; row++) 65 | { 66 | for (int col = 0; col < 5; col++) 67 | { 68 | cout << a[row][col] << " "; 69 | } 70 | cout << endl; 71 | } 72 | cout << endl; 73 | salesman_sum(a); 74 | cout << endl; 75 | sales_sum(a); 76 | system("pause"); 77 | return 0; 78 | } -------------------------------------------------------------------------------- /Lab_10/README.md: -------------------------------------------------------------------------------- 1 | # Practical Lab Assignment - Introduction to class and object with `set()` and `get()` methods 2 | 3 | **Note: In class diagram + for public, - for private.** 4 | 5 | 1. Define a class student with the following specification. 6 | ``` 7 | Student 8 | --- 9 | - Student_ID: String 10 | - Student_Name: String 11 | - OOP2_Score: double 12 | - Maths_Score: double 13 | - English_Score: double 14 | - Total_Score: double 15 | --- 16 | - ctotal(): Function to calculate eng + math + OOP-2 with double return type. 17 | + Takedata(): Function to accept values for student id, Student Name, eng, OOP-2, maths and invoke ctotal() to calculate total. 18 | + Showdata(): Function to display all the data members on the screen. 19 | ``` 20 | 21 | 2. Write C++ header file Employee.h with class Employee with following details. 22 | 23 | ``` 24 | Employee 25 | --- 26 | - Employee_ID: String 27 | - Employee_Name: String 28 | - No_of_Hours_Work: int 29 | - Rate_per_Hour: int 30 | --- 31 | + setEmployee_ID(String) 32 | + getEmployee_ID(): String 33 | + setEmployee_Name(String) 34 | + getEmployee_Name(): String 35 | + setNo_of_Hours_Work(int) 36 | + getNo_of_Hours_Work(): int 37 | + setRate_per_Hour(int) 38 | + getRate_per_Hour(): int 39 | + getTotal_Monthly_Salary(): double 40 | ``` 41 | Write C++ menu driven program to get employee details, display employee details, and display monthly salary details of employee. 42 | -------------------------------------------------------------------------------- /Lab_10/studentCourseEvaluation.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | using namespace std; 5 | 6 | // creating a class named "Student" 7 | class Student 8 | { 9 | private: 10 | string student_id; 11 | string student_name; 12 | double OOP2_Score; 13 | double math_Score; 14 | double english_Score; 15 | double total_Score; 16 | double ctotal() 17 | { 18 | total_Score = OOP2_Score + math_Score + english_Score; 19 | return total_Score; 20 | } 21 | 22 | public: 23 | void TakeData() 24 | { 25 | cout << "ID : "; 26 | cin >> student_id; 27 | cout << "Name: "; 28 | cin >> student_name; 29 | cout << "OOP2: "; 30 | cin >> OOP2_Score; 31 | cout << "Math: "; 32 | cin >> math_Score; 33 | cout << "English: "; 34 | cin >> english_Score; 35 | ctotal(); 36 | } 37 | void showData() 38 | { 39 | 40 | cout << "ID: " << student_id << endl; 41 | cout << "Name: " << student_name << endl; 42 | cout << "OOP2: " << OOP2_Score << endl; 43 | cout << "Math: " << math_Score << endl; 44 | cout << "English: " << english_Score << endl; 45 | cout << "Total score: " << total_Score << endl; 46 | } 47 | }; 48 | 49 | // creating a class named "Employee" 50 | class Employee 51 | { 52 | private: 53 | string Employee_ID; 54 | string Employee_Name; 55 | int Hours; 56 | int Rate; 57 | 58 | public: 59 | void setEmployee_ID(string x) 60 | { 61 | Employee_ID = x; 62 | } 63 | string getEmployee_ID() 64 | { 65 | return Employee_ID; 66 | } 67 | void setEmployee_Name(string y) 68 | { 69 | Employee_Name = y; 70 | } 71 | string getEmployee_Name() 72 | { 73 | return Employee_Name; 74 | } 75 | void setHours(int z) 76 | { 77 | Hours = z; 78 | } 79 | int getHours() 80 | { 81 | return Hours; 82 | } 83 | void setRate(int i) 84 | { 85 | Rate = i; 86 | } 87 | int getRate() 88 | { 89 | return Rate; 90 | } 91 | double total_salary() 92 | { 93 | int total; 94 | total = Hours * Rate; 95 | return total; 96 | } 97 | }; 98 | 99 | int main() 100 | { 101 | int choice; 102 | cout << "1. Student" << endl; 103 | cout << "2. Employee" << endl; 104 | cout << "Your choice: "; 105 | cin >> choice; 106 | cout << endl; 107 | 108 | Student student; // creating an object of a class "Student" 109 | Employee employee; // creating an object of a class "Employee" 110 | switch (choice) 111 | { 112 | case 1: 113 | { 114 | student.TakeData(); 115 | cout << endl; 116 | student.showData(); 117 | } 118 | break; 119 | case 2: 120 | { 121 | while (true) 122 | { 123 | system("cls"); 124 | int choice_employee; 125 | 126 | cout << "1. Input Employee Details\n"; 127 | cout << "2. Display Employee Details\n"; 128 | cout << "3. Display Salary\n"; 129 | cin >> choice_employee; 130 | switch (choice_employee) 131 | { 132 | case 1: 133 | { 134 | string x, y; 135 | int z, i; 136 | system("cls"); 137 | cout << "\t\t\tEmployee information\n"; 138 | cout << "Employee_ID: "; 139 | cin >> x; 140 | cout << "Employee_Name: "; 141 | cin >> y; 142 | cout << "Number of worked Hours: "; 143 | cin >> z; 144 | cout << "Rate per Hour: "; 145 | cin >> i; 146 | cout << endl; 147 | employee.setEmployee_ID(x); 148 | employee.setEmployee_Name(y); 149 | employee.setHours(z); 150 | employee.setRate(i); 151 | system("pause"); 152 | } 153 | break; 154 | case 2: 155 | { 156 | system("cls"); 157 | cout << "ID: " << employee.getEmployee_ID() << endl; 158 | cout << "Name: " << employee.getEmployee_Name() << endl; 159 | cout << "Hours: " << employee.getHours() << endl; 160 | cout << "Rate: " << employee.getRate() << endl; 161 | system("pause"); 162 | } 163 | break; 164 | case 3: 165 | { 166 | system("cls"); 167 | cout << "Total salary: " << employee.total_salary() << endl; 168 | system("pause"); 169 | } 170 | break; 171 | default: 172 | cout << "Incorrect input! Try again!" << endl; 173 | break; 174 | } 175 | } 176 | } 177 | break; 178 | default: 179 | cout << "Incorrect input! Try again!" << endl; 180 | break; 181 | } 182 | system("pause"); 183 | return 0; 184 | } 185 | -------------------------------------------------------------------------------- /Lab_11/README.md: -------------------------------------------------------------------------------- 1 | # Practical Lab Assignment - Separation of the interface from implementation constructors and destructors 2 | 3 | **Note: In class diagram + for public, - for private.** 4 | 5 | ### Program 1 6 | The class Person with private attributes name(string) and age(int). 7 | 8 | The class contains three functions. 9 | - One with no parameter (for initializing default value). 10 | - With two parameter (one parameter with default value). 11 | - Function to display the data. 12 | 13 | ``` 14 | Person 15 | --- 16 | - Name: String 17 | - Age: int 18 | --- 19 | + Display() 20 | + Person() 21 | + Person(a: int) 22 | ``` 23 | 24 | ### Program 2 25 | Construct a class to hold personnel records class name is Records. Use the following data members, and keep them private: 26 | ``` 27 | string name; 28 | float salary; 29 | string date_of_birth; 30 | ``` 31 | Create two constructors, one to initialize the record with its necessary values and one default. 32 | 33 | Create member functions to alter the individual’s name, salary, and date of birth. 34 | 35 | Create two objects use one object to refer member function through pointer and other object will be accessing through dot operator. 36 | 37 | 38 | ### Program 3 39 | Write a class Account that represents your bank account. 40 | - It contains information like name(string), account number(string) and balance(float). (All are private) 41 | - Add constructors and destructors. 42 | - Create some objects, 43 | - Write a code to display message when it is created and similarly display message when it will be destroyed. 44 | 45 | 46 | ### Program 4 47 | Write C++ header file Triangle.h with class Triangle with data members and member functions as per following class diagram. In Triangle.h file only implement get and set methods. (Consider right angle Triangle) 48 | ``` 49 | Triangle 50 | --- 51 | - Height: double 52 | - Base: double 53 | --- 54 | <> + Triangle(double, double) 55 | <> +~ Triangle() # +~ stands for destructor 56 | + getHeight(): double 57 | + setHeight(double) 58 | + getBase(): double 59 | + setBase(double) 60 | + getArea(): double 61 | + getPerimeter(): double 62 | ``` 63 | Write C++ program to include header file Triangle.h in your program. Implement constructor (with default value for height and width will be 0), getArea() and getPerimeter() member functions of Class Triangle and write menu driven program to get Height and Width details, display measurement (Area and Perimeter) of Triangle object. -------------------------------------------------------------------------------- /Lab_12/README.md: -------------------------------------------------------------------------------- 1 | # Practical Lab Assignment - Const member function, friend function, composition, friend functions and `this` pointer 2 | 3 | **Note: In class diagram + for public, - for private.** 4 | 5 | 6 | ### Program 1 7 | Define a class FullName and Player with the following specifications: 8 | 9 | ``` 10 | FullName 11 | --- 12 | - FirstName: string 13 | - MiddleName: string 14 | - LastName: string 15 | --- 16 | <> + FullName() 17 | <> +~ FullName() 18 | + setFirstName(string) 19 | + getFirstName(): string 20 | + setMiddleName(string) 21 | + getMiddleName(): string 22 | + setLastName(string) 23 | + getLastName(): string 24 | ``` 25 | ``` 26 | Player 27 | --- 28 | -Player_ID: string 29 | -Player_Name: FullName 30 | -Matches_Played: int 31 | -Goals_Scored: int 32 | --- 33 | <> + Player() 34 | <> +~ Player() 35 | + setPlayer_ID(string) 36 | + getPlayer_ID(): string 37 | + setMatches_Played(int) 38 | + getMatches_Played(): int 39 | + setGoals_Scored(int) 40 | + getGoals_Scored(): int 41 | + setPlayer_Name(FullName) 42 | + getPlayer_Name() 43 | <> + Increase_GoalsScored(Player, int) 44 | ``` 45 | 46 | `Increase_GoalsScored(int)` is friend function for Player: This function will increase Goal_scored by some int every time when called. 47 | 48 | Write C++ create object pointer(through new) to Class Player and menu driven program to add player details (allocate memory for object and get player details), display player details, increase player goal scored delete player from memory. -------------------------------------------------------------------------------- /Lab_13/README.md: -------------------------------------------------------------------------------- 1 | # Practical Lab Assignment - Operator Overloading 2 | 3 | ### Program 1 4 | Define a class DayTime: 5 | ``` 6 | private: 7 | int hour, minute, second; 8 | public: 9 | • parameterized constructor to initialize value 10 | • int getHour() const{ return hour; } 11 | • int getMinute() const { return minute; } 12 | • int getSecond() const { return second; } 13 | • int asSeconds() const // Daytime in seconds 14 | • overload increment operator to increment the value of seconds. 15 | • Overload decrement operator to decrement the value of minutes. 16 | ``` 17 | Write a menu driven program and create following menu options: 18 | 1. To Display Time. 19 | 2. To Display Time in Seconds. 20 | 3. To Increment seconds. 21 | 4. To decrements minutes. 22 | 0. To exit. 23 | 24 | ### PRogram 2 25 | Define a class Dollar: 26 | ``` 27 | private: 28 | float currency, mktrate, offrate 29 | public: 30 | • float getDollar() { return currency in dollar } 31 | • float getMarketSoums() { return currency in soums } 32 | • float getofficialSoums() { return currency in soums } 33 | • void setRates() { // input current date market and official rates } 34 | • overload operator "<<" to print the details of a Dollar. 35 | ``` 36 | Inside main declare one object and show the results similar to Program 1. 37 | -------------------------------------------------------------------------------- /Lab_14/README.md: -------------------------------------------------------------------------------- 1 | # Practical Lab Assignment - Binary Operator Overloading 2 | 3 | ### Program 1 4 | ``` 5 | Create a class Rectangle. 6 | Private members of class Rectangle: Length, breadth. 7 | Create Member function: 8 | Public: 9 | double getArea() 10 | void setLength(double) 11 | void setBreadth(double) 12 | ``` 13 | Declare overloading function use **(+)** operator to add two Rectangle objects. 14 | In the `main()` function set rectangle length, breadth with member functions and use area function to print area of each rectangle. 15 | Then declare a third object use overloading function to get area of third object. 16 | 17 | ### Program 2 18 | ``` 19 | Create a class Distance. 20 | Private members of class Distance: Kilometer, meter. 21 | Create default constructor and parameter constructor. 22 | Create Member function: 23 | void showDistance() 24 | ``` 25 | Declare overloading function use **(==)** operator to compare two distances. 26 | In the `main()` function set Distance kilometer, meter and use show distance to print of each distance. 27 | Then use overloading function to get difference of two distances. 28 | -------------------------------------------------------------------------------- /Lab_14/Source.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | using namespace std; 4 | 5 | // class 'Rectangle' 6 | class Rectangle 7 | { 8 | private: 9 | double length, breadth; 10 | 11 | public: 12 | double getArea() 13 | { 14 | return length * breadth; 15 | } 16 | void setLength(double length) 17 | { 18 | this->length = length; 19 | } 20 | void setBreadth(double breadth) 21 | { 22 | this->breadth = breadth; 23 | } 24 | Rectangle operator+(Rectangle &r2) 25 | { 26 | Rectangle temp; 27 | temp.setLength(length + r2.length); 28 | temp.setBreadth(breadth + r2.breadth); 29 | return temp; 30 | } 31 | }; 32 | // void function for the inputing data for class 'Rectangle' & uisng the overloading 33 | void RectangleFirst() 34 | { 35 | Rectangle r3, r1, r2; 36 | int temp; 37 | cout << "Rectangle 1" << endl; 38 | cout << "Length: "; 39 | cin >> temp; 40 | r1.setLength(temp); 41 | cout << "Breadth: "; 42 | cin >> temp; 43 | r1.setBreadth(temp); 44 | cout << "Area: " << r1.getArea() << endl 45 | << endl; 46 | 47 | cout << "Rectangle 2" << endl; 48 | cout << "Length: "; 49 | cin >> temp; 50 | r2.setLength(temp); 51 | cout << "Breadth: "; 52 | cin >> temp; 53 | r2.setBreadth(temp); 54 | cout << "Area: " << r2.getArea() << endl 55 | << endl; 56 | 57 | r3 = r1 + r2; // overloading by the binary operator 58 | cout << "Rectangle 3 Area: " << r3.getArea() << endl; 59 | } 60 | 61 | class Distance 62 | { 63 | private: 64 | float Km, M; 65 | 66 | public: 67 | void setKm(int Km) 68 | { 69 | this->Km = Km; 70 | } 71 | void setM(int M) 72 | { 73 | this->M = M; 74 | } 75 | Distance operator==(Distance &d) 76 | { 77 | if ((Km == d.Km) && (M == d.M)) 78 | { 79 | cout << "They are EQUAL.\n"; 80 | return *this; 81 | } 82 | else 83 | { 84 | cout << "NOT EQUAL.\n"; 85 | return *this; 86 | } 87 | } 88 | }; 89 | void DistanceSecond() 90 | { 91 | Distance d1, d2; 92 | float k1, m1, k2, m2; 93 | cout << "First distance: \n"; 94 | cout << "Kilometers: "; 95 | cin >> k1; 96 | cout << "Meters: "; 97 | cin >> m1; 98 | if (m1 > 1000) 99 | { 100 | k1 = m1 / 1000; 101 | } 102 | cout << endl 103 | << endl; 104 | 105 | cout << "Second distance: \n"; 106 | cout << "Kilometers: "; 107 | cin >> k2; 108 | cout << "Meters: "; 109 | cin >> m2; 110 | if (m2 > 1000) 111 | { 112 | k2 = m2 / 1000; 113 | } 114 | d1 == d2; 115 | } 116 | int main() 117 | { 118 | int choice; 119 | 120 | do 121 | { 122 | 123 | cout << "1. Rectangle" << endl 124 | << "2. Distance" << endl 125 | << "3. Exit" << endl 126 | << "Your choice: "; 127 | cin >> choice; 128 | switch (choice) 129 | { 130 | case 1: 131 | system("cls"); 132 | RectangleFirst(); 133 | system("pause"); 134 | case 2: 135 | system("cls"); 136 | DistanceSecond(); 137 | system("pause"); 138 | default: 139 | break; 140 | } 141 | } while (choice != 3); 142 | 143 | return 0; 144 | } -------------------------------------------------------------------------------- /Lab_15/README.md: -------------------------------------------------------------------------------- 1 | # Practical Lab Assignment - Inheritance 2 | 3 | ### Program 1 4 | Imagine a publishing company that markets both book and audio cassette version of its works. Create a class Publication that stores the `title` (a string) and `price` (type float) of a publication. 5 | 6 | From this class derive two classes: 7 | - `Book`, which adds a page count (type int). 8 | - `Tape`, which add playing time in minutes (type float). 9 | 10 | Each of these three classes should have: 11 | - `getdata() function to display its data 12 | - `setdata()` function to get its data from the user at the keyboard. 13 | 14 | Write a main() program to test the Book and Tape classes by creating instances of them, asking the user to fill with data with `setdata()`, and then displaying the data with `getdata()`. 15 | 16 | ### Program 2 17 | Assume that a bank maintains two kinds of accounts for customers, one called as saving and the other called as current account. 18 | 19 | The saving account provides interest and withdrawal facilities but no cheque book facility. 20 | 21 | The current account provides cheque book facility but no interest. Current account holders should also maintain a minimum balance and if the balance falls below this level a service charge is imposed. 22 | 23 | Create a class `ACCOUNT` that stores customer name, account number and type of account. 24 | 25 | From this derive the classes `CURR_ACCT` and `SAV_ACCT` to make them more specific to their requirements. 26 | 27 | Do not use any constructors. Use member functions to initialize the class members. Include necessary member functions in order to achieve all the tasks: 28 | 29 | Design a menu based program where user selects the type of account and perform the following tasks: 30 | - Accept deposit from a customer and update the balance. 31 | - Display the balance. 32 | - Compute and deposit interest. 33 | - Permit withdrawal and update the balance. 34 | - Check for the minimum balance, impose penalty, necessary and upload the balance. 35 | 36 | ``` 37 | CURR_ACCT: 38 | --- 39 | amount, penalty 40 | --- 41 | Deposit() – will deposit the money and update amount 42 | Balance() - will display the balance of account 43 | Withdraw() – will allow to withdraw from account (check if withdrawal amount is less than balance and update balance) 44 | Penalty() – apply penalty of USD 2 for maintaining balance less than 100 USD 45 | ``` 46 | ``` 47 | SAV_ACCT: 48 | --- 49 | amount 50 | --- 51 | Deposit() – will deposit the money and update amount 52 | Balance() - will display the balance of account 53 | Compute_Interest() – calculate interest based on given condition [ROI is 4% per annum] 54 | Withdraw() – will allow to withdraw from account (check if withdrawal amount is less than balance and update balance) 55 | ``` -------------------------------------------------------------------------------- /Lab_16/README.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rustam-Z/cpp-programming/06538733047f92de287f061a40927ffaf44a561a/Lab_16/README.docx -------------------------------------------------------------------------------- /Lab_17/Activity-1.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rustam-Z/cpp-programming/06538733047f92de287f061a40927ffaf44a561a/Lab_17/Activity-1.docx -------------------------------------------------------------------------------- /Lab_18/README.md: -------------------------------------------------------------------------------- 1 | # Practical Lab Assignment - Virtual function 2 | 3 | ### Program 1 4 | Create a base class called shape. 5 | 6 | Use this class to store two double type values that could be used to compute the area of figures. 7 | 8 | Add to the base class, a member function: 9 | ``` 10 | get_data(): to initialize base class data members. 11 | display_area(): to compute and display area of figures. 12 | ``` 13 | Make display area as a virtual function and override this function into the derived classes to suit their requirements. 14 | 15 | Derive two classes called triangle and rectangle from the base shape. 16 | 17 | Using these three classes, design a program that will accept dimension of a triangle or a rectangle interactively, and display the area. 18 | 19 | (Remember the two values given as input will be treated as length of two sides in case of rectangles, and as base and heights in the case of triangles.) 20 | 21 | ### Program 1a 22 | Extend the above program to display area of circles. 23 | 24 | This requires addition of a new derived class ‘circle’ that computes the area of a circle. 25 | 26 | Remember, for a circle we need only one value its radius, but the get_data function in the base class requires two values to be passed. 27 | -------------------------------------------------------------------------------- /Lab_19/README.md: -------------------------------------------------------------------------------- 1 | # Practical Lab Assignment - File Handling 2 | 3 | 1. Create two file “one.txt” and “two.txt” which contains first 10 even numbers and first ten multiples of 5 respectively; Read the two files, find the sum of all the number of these two files and store it in the variable TOTAL. Write this value in third file named “total.txt”. 4 | 5 | 2. A file contains a list of telephone numbers in the following form: 6 | ``` 7 | John 23456 8 | Ahmed 9876 9 | ... ... 10 | ``` 11 | The names contain only one word and the names and telephone numbers are separated by white spaces. Write a program to read the file and output the list in the two columns. 12 | 13 | 3. Enter 20 numbers in a file named “Numbers.txt”. Ask user to enter any number and search if it exists in the file or not. 14 | -------------------------------------------------------------------------------- /Lab_19/contacts.txt: -------------------------------------------------------------------------------- 1 | Rustam 985 2 | -------------------------------------------------------------------------------- /Lab_19/numbers.txt: -------------------------------------------------------------------------------- 1 | 1 2 | 2 3 | 11 4 | 111 5 | 1111 6 | 1111 7 | 1 8 | 1 9 | 1 10 | 1 11 | 1 12 | 1 13 | 1 14 | 1 15 | 1 16 | 1 17 | 122 18 | 22 19 | 2 20 | 2 21 | -------------------------------------------------------------------------------- /Lab_19/one.txt: -------------------------------------------------------------------------------- 1 | 2 2 | 4 3 | 6 4 | 8 5 | 10 6 | 12 7 | 14 8 | 16 9 | 18 10 | 20 11 | -------------------------------------------------------------------------------- /Lab_19/total.txt: -------------------------------------------------------------------------------- 1 | 385 2 | -------------------------------------------------------------------------------- /Lab_19/two.txt: -------------------------------------------------------------------------------- 1 | 5 2 | 10 3 | 15 4 | 20 5 | 25 6 | 30 7 | 35 8 | 40 9 | 45 10 | 50 11 | -------------------------------------------------------------------------------- /Lab_20/README.md: -------------------------------------------------------------------------------- 1 | # Practical Lab Assignment - File Handling Operations 2 | 3 | Create a class Person with two private members name and telephone number 4 | 5 | Write a program that will create a data file containing name and telephone numbers of person. Use a class object to store each set of data. Read the file contents and display it on screen. 6 | - Write an interactive menu driven program that will access the file created in program no. 1 and implement the following tasks: 7 | - Determine the telephone number of the specified person. 8 | - Determine the name if telephone number is known. 9 | - Delete a record. 10 | - Add a record to a specific position. 11 | -------------------------------------------------------------------------------- /Lab_20/contacts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rustam-Z/cpp-programming/06538733047f92de287f061a40927ffaf44a561a/Lab_20/contacts -------------------------------------------------------------------------------- /Project_Bank_Management_System/Project3.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rustam-Z/cpp-programming/06538733047f92de287f061a40927ffaf44a561a/Project_Bank_Management_System/Project3.exe -------------------------------------------------------------------------------- /Project_Bank_Management_System/data.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rustam-Z/cpp-programming/06538733047f92de287f061a40927ffaf44a561a/Project_Bank_Management_System/data.txt -------------------------------------------------------------------------------- /Project_Bank_Management_System/main.cpp: -------------------------------------------------------------------------------- 1 | #include "Header.h" 2 | 3 | int main() 4 | { 5 | srand(time(0)); 6 | ::available = rand() % 200000; 7 | MainMenu(); 8 | 9 | system("color 9E"); 10 | system("pause"); 11 | return 0; 12 | } 13 | 14 | void MainMenu() 15 | { 16 | system("color 9E"); 17 | char num; 18 | char choice; 19 | do 20 | { 21 | 22 | bool checked = false; 23 | string checkName, checkPassword; 24 | accounts data; 25 | accounts oldData[50]; 26 | cout << "\n Choose what you want:"; 27 | cout << "\n 1.Sign in"; 28 | cout << "\n 2.Registration"; 29 | cout << "\n 3.Exit"; 30 | cout << "\n "; 31 | choice = _getch(); 32 | switch (choice) 33 | { 34 | case 49: 35 | outData(oldData); 36 | system("CLS"); 37 | cout << "\n Please enter your name:"; 38 | cout << "\n "; 39 | cin >> checkName; 40 | cout << "\n Please enter your password:"; 41 | cout << "\n "; 42 | cin >> checkPassword; 43 | for (int i = 0; i < ::increaments; i++) 44 | { 45 | 46 | if (oldData[i].name == checkName && oldData[i].password == checkPassword) 47 | { 48 | ::accountNum = i; 49 | ::balance = oldData[i].balance; 50 | ::borrow = oldData[i].borrowed; 51 | checked = true; 52 | } 53 | } 54 | if (checked) 55 | { 56 | do 57 | { 58 | system("CLS"); 59 | cout << "\n Hello " << oldData[::accountNum].name << endl; 60 | cout << "\n What would you like to do?" << endl; 61 | cout << "\n 1.Actions with card" << endl; 62 | cout << "\n 2.Check balance" << endl; 63 | cout << "\n 0.Exit" << endl; 64 | num = _getch(); 65 | switch (num) 66 | { 67 | case 48: 68 | break; 69 | case 49: 70 | Menu(oldData); 71 | break; 72 | case 50: 73 | CheckBalance(); 74 | break; 75 | default: 76 | cout << "\n Error! Section not found. Please try one more time." << endl 77 | << endl; 78 | system("pause"); 79 | break; 80 | } 81 | 82 | } while (num != '0'); 83 | } 84 | else 85 | cout << "\n Wrong name or password\n"; 86 | break; 87 | case 50: 88 | system("CLS"); 89 | cout << "\n Input your name without space"; 90 | cout << "\n "; 91 | cin >> data.name; 92 | cout << "\n Input your password without space"; 93 | cout << "\n "; 94 | cin >> data.password; 95 | data.balance = 0; 96 | data.borrowed = 0; 97 | inputNewData(data); 98 | break; 99 | case 51: 100 | break; 101 | default: 102 | cout << "\n There is no such section"; 103 | cout << "\n Please try one more time"; 104 | break; 105 | } 106 | } while (choice != 51); 107 | 108 | cout << "\n "; 109 | } 110 | -------------------------------------------------------------------------------- /Project_E-Commerce_App_V1.0/BreadBakery.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rustam-Z/cpp-programming/06538733047f92de287f061a40927ffaf44a561a/Project_E-Commerce_App_V1.0/BreadBakery.h -------------------------------------------------------------------------------- /Project_E-Commerce_App_V1.0/Header.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #include 3 | #include // Text 4 | #include // Time 5 | #include // Validation 6 | #include // Getch 7 | #include // Loading 8 | using namespace std; 9 | 10 | // Global Identifires for validation 11 | int Num_Upper = 0, Num_Lower = 0, Num_Number = 0, Validation = 0; 12 | string Login_Sign, Parol_Sign; 13 | // Identifires for File Hendling 14 | string Name_Memory, Login_Memory, Parol_Memory, TellNum_Memory; 15 | 16 | class Security { 17 | private: 18 | // Identifires 19 | string Name, Login, Parol, TellNum; 20 | public: 21 | 22 | // Defoult Constructor 23 | Security() { 24 | Name = ""; 25 | Login = ""; 26 | Parol = ""; 27 | TellNum = ""; 28 | } 29 | 30 | //Function display 31 | void Display() { 32 | cout << "\t\t\tUser Information:" << endl << endl; 33 | cout << "\t\tUser Name : " << Name << endl; 34 | cout << "\t\tTelephone : " << TellNum << endl; 35 | cout << "\t\tLogin : " << Login << endl; 36 | cout << "\t\tPassword : " << Parol << endl; 37 | } 38 | 39 | // Set Info of User 40 | void SetUser() { 41 | cout << "\t\t\t\t Register User:" << endl << endl; 42 | cout << "\t\t\t\t User Name : "; cin >> Name; 43 | cout << "\t\t\t\t Telephone : "; cin >> TellNum; 44 | cout << "\t\t\t\t Login : "; cin >> Login; 45 | cout << "\t\t\t\t Password : "; cin >> Parol; 46 | 47 | // Info sended to Memory 48 | Name_Memory = Name; 49 | Parol_Memory = Parol; 50 | Login_Memory = Login; 51 | TellNum_Memory = TellNum; 52 | } 53 | 54 | // Friend Functions 55 | //Validation Check for parol 56 | friend void ValidationParol(Security User) { 57 | if (User.Parol.length() >= 6 && User.Parol.length() <= 15) { 58 | for (int i = 0; i < User.Parol.length(); i++) { 59 | if (isupper(User.Parol[i])) { // Number of Upper Letters 60 | Num_Upper += 1; 61 | } 62 | if (islower(User.Parol[i])) { // Number of Lower Letters 63 | Num_Lower += 1; 64 | } 65 | if (isdigit(User.Parol[i])) { // Number of Digits 66 | Num_Number += 1; 67 | } 68 | } 69 | if (Num_Upper >= 1 && Num_Upper <= 10 && Num_Lower >= 4 && Num_Lower <= 10 && Num_Number >= 2 && Num_Number <= 10) { 70 | Validation++; 71 | Num_Upper = 0; Num_Lower = 0; Num_Number = 0; 72 | } 73 | else { Num_Upper = 0; Num_Lower = 0; Num_Number = 0; } 74 | } 75 | else { Num_Upper = 0; Num_Lower = 0; Num_Number = 0; } 76 | } 77 | //Validation Check for Name 78 | friend void ValidationName(Security User) { 79 | if (User.Name.length() >= 1 && User.Name.length() <= 15) { 80 | for (int i = 0; i < User.Name.length(); i++) { 81 | if (isupper(User.Name[i])) { 82 | Num_Upper += 1; 83 | } 84 | if (islower(User.Name[i])) { 85 | Num_Lower += 1; 86 | } 87 | if (isdigit(User.Name[i])) { 88 | Num_Number += 1; 89 | } 90 | } 91 | 92 | if (Num_Upper <= 1 && Num_Lower >= 1 && Num_Lower <= 14 && Num_Number == 0) { 93 | Validation++; 94 | Num_Upper = 0; Num_Lower = 0; Num_Number = 0; 95 | } 96 | else { Num_Upper = 0; Num_Lower = 0; Num_Number = 0; } 97 | } 98 | else { Num_Upper = 0; Num_Lower = 0; Num_Number = 0; } 99 | } 100 | //Validation Check for TellNum 101 | friend void ValidationTellNum(Security User) { 102 | if (User.TellNum.length() >= 9 && User.TellNum.length() <= 12) { 103 | for (int i = 0; i < User.TellNum.length(); i++) { 104 | if (isupper(User.TellNum[i])) { 105 | Num_Upper += 1; 106 | } 107 | if (islower(User.TellNum[i])) { 108 | Num_Lower += 1; 109 | } 110 | if (isdigit(User.TellNum[i])) { 111 | Num_Number += 1; 112 | } 113 | } 114 | if (Num_Upper == 0 && Num_Lower == 0 && Num_Number >= 9 && Num_Number <= 12) { 115 | Validation++; 116 | Num_Upper = 0; Num_Lower = 0; Num_Number = 0; 117 | } 118 | else { Num_Upper = 0; Num_Lower = 0; Num_Number = 0; } 119 | } 120 | else { Num_Upper = 0; Num_Lower = 0; Num_Number = 0; } 121 | } 122 | 123 | }; -------------------------------------------------------------------------------- /Project_E-Commerce_App_V1.0/Loading.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #include 3 | #include // Time 4 | #include // Loading 5 | 6 | void gotoXY(int x, int y) { 7 | //'COORD' is a built in function for positioning the objects 8 | COORD d; 9 | d.X = x; 10 | d.Y = y; 11 | SetConsoleCursorPosition(GetStdHandle(STD_OUTPUT_HANDLE), d); 12 | } 13 | 14 | void F_Loading() { 15 | cout << "\n\n\n\n\n\n"; 16 | cout << "\t\t\t ------------------------------------- \n"; 17 | cout << "\t\t\t E I G H T S O F T A C A D E M Y \n"; 18 | cout << "\t\t\t ------------------------------------- \n"; 19 | cout << "\t\t\t A L I B A Z A R \n"; 20 | cout << "\t\t\t _____________________________________ \n"; 21 | 22 | char a = 219; 23 | gotoXY(45, 14); 24 | 25 | cout << "LOADING... " << endl; 26 | 27 | gotoXY(37, 16); 28 | for (int r = 1; r <= 26; r++) 29 | { 30 | //for speed 31 | for (int speed = 0; speed <= 110000000; speed++); 32 | cout << a; 33 | } 34 | cout << endl; 35 | } -------------------------------------------------------------------------------- /Project_E-Commerce_App_V1.0/Vegetables.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rustam-Z/cpp-programming/06538733047f92de287f061a40927ffaf44a561a/Project_E-Commerce_App_V1.0/Vegetables.h -------------------------------------------------------------------------------- /Project_E-Commerce_App_V1.0/Water.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rustam-Z/cpp-programming/06538733047f92de287f061a40927ffaf44a561a/Project_E-Commerce_App_V1.0/Water.h -------------------------------------------------------------------------------- /Project_E-Commerce_App_V1.0/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rustam-Z/cpp-programming/06538733047f92de287f061a40927ffaf44a561a/Project_E-Commerce_App_V1.0/main.cpp -------------------------------------------------------------------------------- /Project_E-Commerce_App_V2.0/Loading_Page.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #include 3 | #include // Time 4 | #include // Loading 5 | 6 | void gotoXY(int x, int y) { 7 | //'COORD' is a built in function for positioning the objects 8 | COORD d; 9 | d.X = x; 10 | d.Y = y; 11 | SetConsoleCursorPosition(GetStdHandle(STD_OUTPUT_HANDLE), d); 12 | } 13 | 14 | void F_Loading() { 15 | cout << "\n\n\n\n\n\n"; 16 | cout << "\t\t\t ------------------------------------- \n"; 17 | cout << "\t\t\t E I G H T S O F T A C A D E M Y \n"; 18 | cout << "\t\t\t ------------------------------------- \n"; 19 | cout << "\t\t\t A L I B A Z A R \n"; 20 | cout << "\t\t\t _____________________________________ \n"; 21 | 22 | char a = 219; 23 | gotoXY(45, 14); 24 | 25 | cout << "LOADING... " << endl; 26 | 27 | gotoXY(37, 16); 28 | for (int r = 1; r <= 26; r++) 29 | { 30 | //for speed 31 | for (int speed = 0; speed <= 12000000; speed++); 32 | cout << a; 33 | } 34 | cout << endl; 35 | } 36 | -------------------------------------------------------------------------------- /Project_E-Commerce_App_V2.0/Person.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include // I/O stream 4 | #include // Text 5 | #include // Time sleep 6 | #include // Validation 7 | #include // Getch 8 | #include // Loading 9 | #include // File handling 10 | #include // setfill 11 | 12 | //////////////////////////////////////////////// 13 | class Person { 14 | protected: 15 | string name; 16 | string tell; 17 | public: 18 | // Constructor for Person class 19 | Person(string name, string tell) { 20 | this->name = name; this->tell = tell; 21 | } 22 | 23 | virtual void Display() = 0; 24 | }; 25 | 26 | 27 | ///////////////////////////////////////////////// 28 | class Security : public Person { // Sub class of Person 29 | protected: 30 | string login; 31 | string password; 32 | public: 33 | 34 | // Constructor for Securoty class 35 | Security(string name, string tell, string login, string password) :Person(name, tell) { 36 | this->login = login; this->password = password; 37 | } 38 | 39 | }; 40 | 41 | 42 | ///////////////////////////////////////////////// 43 | class User : public Security { // 1st Sub class of Securit 44 | public: 45 | // Storage 46 | int Potatoes_User = 0, Onion_User = 0, Carrot_User = 0; 47 | int Water_User = 0, Pepsi_User = 0, Nectar_User = 0; 48 | int Pizza_User = 0, Burger_User = 0, Fries_User = 0; 49 | 50 | // Constructor for User's sign up 51 | User(string name, string tell, string login, string password) : Security(name, tell, login, password) { 52 | this->name = name; 53 | this->tell = tell; 54 | this->login = login; 55 | this->password = password; 56 | } 57 | // get Name of User 58 | string getName() { 59 | return name; 60 | } 61 | // get Tell of User 62 | string getTell() { 63 | return tell; 64 | } 65 | // get Login of User 66 | string getLogin() { 67 | return login; 68 | } 69 | // get Password of User 70 | string getPassword() { 71 | return password; 72 | } 73 | // Display Info 74 | void Display() { 75 | cout << "\t\tName : " << name << endl; 76 | cout << "\t\tTell : " << tell << endl; 77 | cout << "\t\tLogin : " << login << endl; 78 | cout << "\t\tPassword: " << password << endl; 79 | } 80 | }; 81 | 82 | 83 | ///////////////////////////////////////////////// 84 | class Owner : public Security { // 2nd Sub class of Security 85 | public: 86 | // Constructor for User's sign up 87 | Owner(string name, string tell, string login, string password) : Security(name, tell, login, password) { } 88 | // get Name of User 89 | string getName() { 90 | return name; 91 | } 92 | // get Tell of User 93 | string getTell() { 94 | return tell; 95 | } 96 | // get Login of User 97 | string getLogin() { 98 | return login; 99 | } 100 | // get Password of User 101 | string getPassword() { 102 | return password; 103 | } 104 | // Display Info 105 | void Display() { 106 | cout << "Name: " << name << endl; 107 | cout << "Tell: " << tell << endl; 108 | cout << "Login: " << login << endl; 109 | cout << "Password: " << password << endl; 110 | } 111 | }; 112 | -------------------------------------------------------------------------------- /Project_E-Commerce_App_V2.0/Products.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #include // I/O stream 3 | #include // Text 4 | 5 | using namespace std; 6 | 7 | //////////////////////////////////////////////// price and name of Products //// virtual class 8 | class Products 9 | { 10 | public: 11 | string name; double price; 12 | 13 | public: 14 | Products(string name, double price) { 15 | this->name = name; this->price = price; 16 | } 17 | virtual void Display() = 0; 18 | }; 19 | 20 | 21 | ///////////////////////////////////////////////// 22 | class Vegetables : public Products 23 | { 24 | public: 25 | int quantity; 26 | 27 | public: 28 | Vegetables(string name, double price, int quantity) : Products(name, price) { 29 | this->quantity = quantity; 30 | } 31 | 32 | string getName() { 33 | return name; 34 | } 35 | 36 | double getPrice() { 37 | return price; 38 | } 39 | 40 | int getQuantity() { 41 | return quantity; 42 | } 43 | 44 | void Display() { 45 | cout << setw(11) << name << "\t" << price << setw(4) << "\t" << quantity << endl; 46 | } 47 | 48 | }; 49 | 50 | 51 | ///////////////////////////////////////////////// 52 | class Drinks : public Products 53 | { 54 | public: 55 | int quantity; 56 | 57 | public: 58 | Drinks(string name, double price, int quantity) : Products(name, price) { 59 | this->quantity = quantity; 60 | } 61 | 62 | string getName() { 63 | return name; 64 | } 65 | 66 | double getPrice() { 67 | return price; 68 | } 69 | 70 | int getQuantity() { 71 | return quantity; 72 | } 73 | 74 | void Display() { 75 | cout << setw(11) << name << "\t" << price << setw(4) << "\t" << quantity << endl; 76 | } 77 | }; 78 | 79 | 80 | ///////////////////////////////////////////////// 81 | class Foods : public Products 82 | { 83 | public: 84 | int quantity; 85 | 86 | public: 87 | Foods(string name, double price, int quantity) : Products(name, price) { 88 | this->quantity = quantity; 89 | } 90 | 91 | string getName() { 92 | return name; 93 | } 94 | 95 | double getPrice() { 96 | return price; 97 | } 98 | 99 | int getQuantity() { 100 | return quantity; 101 | } 102 | 103 | void Display() { 104 | cout << setw(11) << name << "\t" << price << setw(4) << "\t" << quantity << endl; 105 | } 106 | }; 107 | -------------------------------------------------------------------------------- /Project_E-Commerce_App_V2.0/User_Info.txt: -------------------------------------------------------------------------------- 1 | Rustam 2 | 123456789 3 | Rustam202 4 | Rustam202 5 | 6 | Alimov 7 | 123456789 8 | Alimov808 9 | Alimov808 10 | 11 | Rustam 12 | 123456789 13 | 1 14 | 1 15 | Alimov 16 | 123456789 17 | Alimov_8 18 | Alimov808 19 | Rddfrbd 20 | 123422222 21 | Rssss3_3 22 | Errffgh543 23 | Rustam 24 | 1345646985 25 | Alimov_8 26 | Rustam202 27 | -------------------------------------------------------------------------------- /Project_E-Commerce_App_V2.0/Validation.h: -------------------------------------------------------------------------------- 1 | #include 2 | #include // Text 3 | #include // Time 4 | #include // Validation 5 | #include // Getch 6 | #include // Loading 7 | 8 | using namespace std; 9 | 10 | 11 | // Global Identifires for validation 12 | int Num_Upper = 0, Num_Lower = 0, Num_Number = 0, Validation = 0; 13 | string Login_Sign, Parol_Sign; 14 | 15 | 16 | // Identifires for File Hendling 17 | string Name_Memory, Login_Memory, Parol_Memory, TellNum_Memory; 18 | 19 | 20 | class Validation_C { 21 | private: 22 | // Identifires 23 | string Name, Login, Parol, TellNum; 24 | public: 25 | 26 | // Defoult Constructor 27 | Validation_C() { 28 | Name = ""; 29 | Login = ""; 30 | Parol = ""; 31 | TellNum = ""; 32 | } 33 | 34 | //Function display 35 | void Display() { 36 | cout << "\t\t\tUser Information:" << endl << endl; 37 | cout << "\t\tUser Name : " << Name << endl; 38 | cout << "\t\tTelephone : " << TellNum << endl; 39 | cout << "\t\tLogin : " << Login << endl; 40 | cout << "\t\tPassword : " << Parol << endl; 41 | } 42 | 43 | // Set Info of User 44 | void SetUser() { 45 | cout << "\t\t\t\t Register User:" << endl << endl; 46 | cout << "\t\t\t\t User Name : "; cin >> Name; 47 | cout << "\t\t\t\t Telephone : "; cin >> TellNum; 48 | cout << "\t\t\t\t Login : "; cin >> Login; 49 | cout << "\t\t\t\t Password : "; cin >> Parol; 50 | 51 | // Info sended to Memory 52 | Name_Memory = Name; 53 | Parol_Memory = Parol; 54 | Login_Memory = Login; 55 | TellNum_Memory = TellNum; 56 | } 57 | 58 | // Friend Functions 59 | //Validation Check for parol 60 | friend void ValidationParol(Validation_C User) { 61 | if (User.Parol.length() >= 6 && User.Parol.length() <= 15) { 62 | for (int i = 0; i < User.Parol.length(); i++) { 63 | if (isupper(User.Parol[i])) { // Number of Upper Letters 64 | Num_Upper += 1; 65 | } 66 | if (islower(User.Parol[i])) { // Number of Lower Letters 67 | Num_Lower += 1; 68 | } 69 | if (isdigit(User.Parol[i])) { // Number of Digits 70 | Num_Number += 1; 71 | } 72 | } 73 | if (Num_Upper >= 1 && Num_Upper <= 10 && Num_Lower >= 4 && Num_Lower <= 10 && Num_Number >= 2 && Num_Number <= 10) { 74 | Validation++; 75 | Num_Upper = 0; Num_Lower = 0; Num_Number = 0; 76 | } 77 | else { Num_Upper = 0; Num_Lower = 0; Num_Number = 0; } 78 | } 79 | else { Num_Upper = 0; Num_Lower = 0; Num_Number = 0; } 80 | } 81 | //Validation Check for Name 82 | friend void ValidationName(Validation_C User) { 83 | if (User.Name.length() >= 1 && User.Name.length() <= 15) { 84 | for (int i = 0; i < User.Name.length(); i++) { 85 | if (isupper(User.Name[i])) { 86 | Num_Upper += 1; 87 | } 88 | if (islower(User.Name[i])) { 89 | Num_Lower += 1; 90 | } 91 | if (isdigit(User.Name[i])) { 92 | Num_Number += 1; 93 | } 94 | } 95 | 96 | if (Num_Upper <= 1 && Num_Lower >= 1 && Num_Lower <= 14 && Num_Number == 0) { 97 | Validation++; 98 | Num_Upper = 0; Num_Lower = 0; Num_Number = 0; 99 | } 100 | else { Num_Upper = 0; Num_Lower = 0; Num_Number = 0; } 101 | } 102 | else { Num_Upper = 0; Num_Lower = 0; Num_Number = 0; } 103 | } 104 | //Validation Check for TellNum 105 | friend void ValidationTellNum(Validation_C User) { 106 | if (User.TellNum.length() >= 9 && User.TellNum.length() <= 12) { 107 | for (int i = 0; i < User.TellNum.length(); i++) { 108 | if (isupper(User.TellNum[i])) { 109 | Num_Upper += 1; 110 | } 111 | if (islower(User.TellNum[i])) { 112 | Num_Lower += 1; 113 | } 114 | if (isdigit(User.TellNum[i])) { 115 | Num_Number += 1; 116 | } 117 | } 118 | if (Num_Upper == 0 && Num_Lower == 0 && Num_Number >= 9 && Num_Number <= 12) { 119 | Validation++; 120 | Num_Upper = 0; Num_Lower = 0; Num_Number = 0; 121 | } 122 | else { Num_Upper = 0; Num_Lower = 0; Num_Number = 0; } 123 | } 124 | else { Num_Upper = 0; Num_Lower = 0; Num_Number = 0; } 125 | } 126 | 127 | }; -------------------------------------------------------------------------------- /Project_E-Commerce_App_V2.0/screenshots/authentication.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rustam-Z/cpp-programming/06538733047f92de287f061a40927ffaf44a561a/Project_E-Commerce_App_V2.0/screenshots/authentication.png -------------------------------------------------------------------------------- /Project_E-Commerce_App_V2.0/screenshots/authorization.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rustam-Z/cpp-programming/06538733047f92de287f061a40927ffaf44a561a/Project_E-Commerce_App_V2.0/screenshots/authorization.png -------------------------------------------------------------------------------- /Project_E-Commerce_App_V2.0/screenshots/loading.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rustam-Z/cpp-programming/06538733047f92de287f061a40927ffaf44a561a/Project_E-Commerce_App_V2.0/screenshots/loading.png -------------------------------------------------------------------------------- /Project_E-Commerce_App_V2.0/screenshots/menu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rustam-Z/cpp-programming/06538733047f92de287f061a40927ffaf44a561a/Project_E-Commerce_App_V2.0/screenshots/menu.png -------------------------------------------------------------------------------- /Project_E-Commerce_App_V2.0/screenshots/product list.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rustam-Z/cpp-programming/06538733047f92de287f061a40927ffaf44a561a/Project_E-Commerce_App_V2.0/screenshots/product list.png -------------------------------------------------------------------------------- /Project_E-Commerce_App_V3.0/Loading_Page.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #include 3 | #include // Time 4 | #include // Loading 5 | 6 | void gotoXY(int x, int y) { 7 | //'COORD' is a built in function for positioning the objects 8 | COORD d; 9 | d.X = x; 10 | d.Y = y; 11 | SetConsoleCursorPosition(GetStdHandle(STD_OUTPUT_HANDLE), d); 12 | } 13 | 14 | void F_Loading() { 15 | cout << "\n\n\n\n\n\n"; 16 | cout << "\t\t\t ------------------------------------- \n"; 17 | cout << "\t\t\t E I G H T S O F T A C A D E M Y \n"; 18 | cout << "\t\t\t ------------------------------------- \n"; 19 | cout << "\t\t\t A L I B A Z A R \n"; 20 | cout << "\t\t\t _____________________________________ \n"; 21 | 22 | char a = 219; 23 | gotoXY(45, 14); 24 | 25 | cout << "LOADING... " << endl; 26 | 27 | gotoXY(37, 16); 28 | for (int r = 1; r <= 26; r++) 29 | { 30 | //for speed 31 | for (int speed = 0; speed <= 30000000; speed++); 32 | cout << a; 33 | } 34 | cout << endl; 35 | } 36 | -------------------------------------------------------------------------------- /Project_E-Commerce_App_V3.0/Person.h: -------------------------------------------------------------------------------- 1 | // USER Registration - Name, Telephone Number, 2 | // class User which takes the values of products which a specific user has bought 3 | 4 | #pragma once 5 | #include // I/O stream 6 | #include // Text 7 | #include // Time sleep 8 | #include // Validation 9 | #include // Getch 10 | #include // Loading 11 | #include // File handling 12 | #include // setfill 13 | 14 | ///////////////////////////////////////////////// 15 | class Person { 16 | protected: 17 | string name; 18 | string tell; 19 | 20 | public: 21 | // Constructor for Person class 22 | Person(string name, string tell) { 23 | this->name = name; 24 | this->tell = tell; 25 | } 26 | 27 | // pure virtual function 'Display' 28 | virtual void Display() = 0; 29 | }; 30 | 31 | 32 | ///////////////////////////////////////////////// 33 | // Sub class of Person 34 | class Security : public Person { 35 | protected: 36 | string login; 37 | string password; 38 | 39 | public: 40 | // Constructor for Security class 41 | Security(string name, string tell, string login, string password) : Person(name, tell) { 42 | this->login = login; 43 | this->password = password; 44 | } 45 | }; 46 | 47 | 48 | ///////////////////////////////////////////////// 49 | // 1st Sub class of Security 50 | class User : public Security { 51 | public: 52 | // Storage 53 | int Product1_1_User = 0, Product1_2_User = 0, Product1_3_User = 0; 54 | int Product2_1_User = 0, Product2_2_User = 0, Product2_3_User = 0; 55 | int Product3_1_User = 0, Product3_2_User = 0, Product3_3_User = 0; 56 | 57 | // Constructor for User's sign up 58 | User(string name, string tell, string login, string password) : Security(name, tell, login, password) { 59 | this->name = name; 60 | this->tell = tell; 61 | this->login = login; 62 | this->password = password; 63 | } 64 | 65 | // get Name of User 66 | string getName() { 67 | return name; 68 | } 69 | // get Tell of User 70 | string getTell() { 71 | return tell; 72 | } 73 | 74 | // get Login of User 75 | string getLogin() { 76 | return login; 77 | } 78 | 79 | // get Password of User 80 | string getPassword() { 81 | return password; 82 | } 83 | 84 | // Display Info 85 | void Display() { 86 | cout << "\t\tName : " << name << endl; 87 | cout << "\t\tTell : " << tell << endl; 88 | cout << "\t\tLogin : " << login << endl; 89 | cout << "\t\tPassword : " << password << endl; 90 | } 91 | }; 92 | 93 | 94 | ///////////////////////////////////////////////// 95 | // 2nd Sub class of Security 96 | class Owner : public Security { 97 | public: 98 | // Constructor for User's sign up 99 | Owner(string name, string tell, string login, string password) : Security(name, tell, login, password) { } 100 | // get Name of User 101 | string getName() { 102 | return name; 103 | } 104 | 105 | // get Tell of User 106 | string getTell() { 107 | return tell; 108 | } 109 | 110 | // get Login of User 111 | string getLogin() { 112 | return login; 113 | } 114 | 115 | // get Password of User 116 | string getPassword() { 117 | return password; 118 | } 119 | 120 | // Display Info 121 | void Display() { 122 | cout << "\t\tName : " << name << endl; 123 | cout << "\t\tTell : " << tell << endl; 124 | cout << "\t\tLogin : " << login << endl; 125 | cout << "\t\tPassword : " << password << endl; 126 | } 127 | }; 128 | -------------------------------------------------------------------------------- /Project_E-Commerce_App_V3.0/Products.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #include // I/O stream 3 | #include // Text 4 | 5 | using namespace std; 6 | 7 | int position1 = 1; // for numbering the products 8 | 9 | //////////////////////////////////////////////// price and name of Products 10 | class Products 11 | { 12 | public: 13 | string name; 14 | string class_of_products; 15 | double price; 16 | 17 | public: 18 | Products(string name, string class_of_products, double price) { 19 | this->name = name; 20 | this->class_of_products = class_of_products; 21 | this->price = price; 22 | } 23 | 24 | virtual void Display() = 0; // pure virtual function 25 | }; 26 | 27 | 28 | ///////////////////////////////////////////////// Vegetables 29 | class Class_Of_Products1 : public Products 30 | { 31 | public: 32 | int quantity; 33 | 34 | public: 35 | Class_Of_Products1(string name, string class_of_products, double price, int quantity) : Products(name, class_of_products, price) { 36 | this->quantity = quantity; 37 | } 38 | 39 | string getName() { 40 | return name; 41 | } 42 | 43 | string getClassOfProducts() { 44 | return class_of_products; 45 | } 46 | 47 | double getPrice() { 48 | return price; 49 | } 50 | 51 | int getQuantity() { 52 | return quantity; 53 | } 54 | 55 | void Display() { 56 | cout << " " << position1 << ". " << left << setw(32) << name << left << setw(27) << class_of_products << left << setw(18) << price << quantity << endl; 57 | position1++; 58 | } 59 | 60 | }; 61 | 62 | 63 | ///////////////////////////////////////////////// 64 | class Class_Of_Products2 : public Products 65 | { 66 | public: 67 | int quantity; 68 | 69 | public: 70 | Class_Of_Products2(string name, string class_of_products, double price, int quantity) : Products(name, class_of_products, price) { 71 | this->quantity = quantity; 72 | } 73 | 74 | string getName() { 75 | return name; 76 | } 77 | 78 | string getClassOfProducts() { 79 | return class_of_products; 80 | } 81 | 82 | double getPrice() { 83 | return price; 84 | } 85 | 86 | int getQuantity() { 87 | return quantity; 88 | } 89 | 90 | void Display() { 91 | cout << " " << position1 << ". " << left << setw(32) << name << left << setw(27) << class_of_products << left << setw(18) << price << quantity << endl; 92 | position1++; 93 | } 94 | }; 95 | 96 | 97 | ///////////////////////////////////////////////// 98 | class Class_Of_Products3 : public Products 99 | { 100 | public: 101 | int quantity; 102 | 103 | public: 104 | Class_Of_Products3(string name, string class_of_products, double price, int quantity) : Products(name, class_of_products, price) { 105 | this->quantity = quantity; 106 | } 107 | 108 | string getName() { 109 | return name; 110 | } 111 | 112 | string getClassOfProducts() { 113 | return class_of_products; 114 | } 115 | 116 | double getPrice() { 117 | return price; 118 | } 119 | 120 | int getQuantity() { 121 | return quantity; 122 | } 123 | 124 | void Display() { 125 | cout << " " << position1 << ". " << left << setw(32) << name << left << setw(27) << class_of_products << left << setw(18) << price << quantity << endl; 126 | position1++; 127 | } 128 | }; 129 | 130 | -------------------------------------------------------------------------------- /Project_E-Commerce_App_V3.0/User_Info.txt: -------------------------------------------------------------------------------- 1 | Rustam 2 | 974060656 3 | Rustam202 4 | Rustam202 5 | Alimov 6 | 974056585 7 | Alimov808 8 | Alimov808 9 | Rustam 10 | 974060656 11 | Rusam8 12 | Rustam808 13 | -------------------------------------------------------------------------------- /Project_E-Commerce_App_V3.0/Validation.h: -------------------------------------------------------------------------------- 1 | #include 2 | #include // Text 3 | #include // Time 4 | #include // Validation 5 | #include // Getch 6 | #include // Loading 7 | 8 | using namespace std; 9 | 10 | 11 | // Global Identifires for validation 12 | int Num_Upper = 0, Num_Lower = 0, Num_Number = 0, Validation = 0; 13 | string Login_Sign, Parol_Sign; 14 | 15 | 16 | // Identifires for File Hendling 17 | string Name_Memory, Login_Memory, Parol_Memory, TellNum_Memory; 18 | 19 | 20 | class Validation_C { 21 | private: 22 | // Identifires 23 | string Name, Login, Parol, TellNum; 24 | public: 25 | 26 | // Defoult Constructor 27 | Validation_C() { 28 | Name = ""; 29 | Login = ""; 30 | Parol = ""; 31 | TellNum = ""; 32 | } 33 | 34 | //Function display 35 | void Display() { 36 | cout << "\t\t\tUser Information :" << endl << endl; 37 | cout << "\t\tUser Name : " << Name << endl; 38 | cout << "\t\tTelephone : " << TellNum << endl; 39 | cout << "\t\tLogin : " << Login << endl; 40 | cout << "\t\tPassword : " << Parol << endl; 41 | } 42 | 43 | // Set Info of User 44 | void SetUser() { 45 | cout << "\t\t\t\t Register User :" << endl << endl; 46 | cout << "\t\t\t\t User Name : "; cin >> Name; 47 | cout << "\t\t\t\t Telephone : "; cin >> TellNum; 48 | cout << "\t\t\t\t Login : "; cin >> Login; 49 | cout << "\t\t\t\t Password : "; cin >> Parol; 50 | 51 | // Info sended to Memory 52 | Name_Memory = Name; 53 | Parol_Memory = Parol; 54 | Login_Memory = Login; 55 | TellNum_Memory = TellNum; 56 | } 57 | 58 | // Friend Functions 59 | //Validation Check for parol 60 | friend void ValidationParol(Validation_C User) { 61 | if (User.Parol.length() >= 6 && User.Parol.length() <= 15) { 62 | for (int i = 0; i < User.Parol.length(); i++) { 63 | if (isupper(User.Parol[i])) { // Number of Upper Letters 64 | Num_Upper += 1; 65 | } 66 | if (islower(User.Parol[i])) { // Number of Lower Letters 67 | Num_Lower += 1; 68 | } 69 | if (isdigit(User.Parol[i])) { // Number of Digits 70 | Num_Number += 1; 71 | } 72 | } 73 | if (Num_Upper >= 1 && Num_Upper <= 10 && Num_Lower >= 4 && Num_Lower <= 10 && Num_Number >= 2 && Num_Number <= 10) { 74 | Validation++; 75 | Num_Upper = 0; Num_Lower = 0; Num_Number = 0; 76 | } 77 | else { Num_Upper = 0; Num_Lower = 0; Num_Number = 0; } 78 | } 79 | else { Num_Upper = 0; Num_Lower = 0; Num_Number = 0; } 80 | } 81 | 82 | //Validation Check for Name 83 | friend void ValidationName(Validation_C User) { 84 | if (User.Name.length() >= 1 && User.Name.length() <= 15) { 85 | for (int i = 0; i < User.Name.length(); i++) { 86 | if (isupper(User.Name[i])) { 87 | Num_Upper += 1; 88 | } 89 | if (islower(User.Name[i])) { 90 | Num_Lower += 1; 91 | } 92 | if (isdigit(User.Name[i])) { 93 | Num_Number += 1; 94 | } 95 | } 96 | 97 | if (Num_Upper <= 1 && Num_Lower >= 1 && Num_Lower <= 14 && Num_Number == 0) { 98 | Validation++; 99 | Num_Upper = 0; Num_Lower = 0; Num_Number = 0; 100 | } 101 | else { Num_Upper = 0; Num_Lower = 0; Num_Number = 0; } 102 | } 103 | else { Num_Upper = 0; Num_Lower = 0; Num_Number = 0; } 104 | } 105 | 106 | //Validation Check for TellNum 107 | friend void ValidationTellNum(Validation_C User) { 108 | if (User.TellNum.length() >= 9 && User.TellNum.length() <= 12) { 109 | for (int i = 0; i < User.TellNum.length(); i++) { 110 | if (isupper(User.TellNum[i])) { 111 | Num_Upper += 1; 112 | } 113 | if (islower(User.TellNum[i])) { 114 | Num_Lower += 1; 115 | } 116 | if (isdigit(User.TellNum[i])) { 117 | Num_Number += 1; 118 | } 119 | } 120 | if (Num_Upper == 0 && Num_Lower == 0 && Num_Number >= 9 && Num_Number <= 12) { 121 | Validation++; 122 | Num_Upper = 0; Num_Lower = 0; Num_Number = 0; 123 | } 124 | else { Num_Upper = 0; Num_Lower = 0; Num_Number = 0; } 125 | } 126 | else { Num_Upper = 0; Num_Lower = 0; Num_Number = 0; } 127 | } 128 | 129 | }; 130 | -------------------------------------------------------------------------------- /Project_E-Commerce_App_V3.0/screenshots/authentication.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rustam-Z/cpp-programming/06538733047f92de287f061a40927ffaf44a561a/Project_E-Commerce_App_V3.0/screenshots/authentication.png -------------------------------------------------------------------------------- /Project_E-Commerce_App_V3.0/screenshots/authorization.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rustam-Z/cpp-programming/06538733047f92de287f061a40927ffaf44a561a/Project_E-Commerce_App_V3.0/screenshots/authorization.png -------------------------------------------------------------------------------- /Project_E-Commerce_App_V3.0/screenshots/loading.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rustam-Z/cpp-programming/06538733047f92de287f061a40927ffaf44a561a/Project_E-Commerce_App_V3.0/screenshots/loading.png -------------------------------------------------------------------------------- /Project_E-Commerce_App_V3.0/screenshots/menu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rustam-Z/cpp-programming/06538733047f92de287f061a40927ffaf44a561a/Project_E-Commerce_App_V3.0/screenshots/menu.png -------------------------------------------------------------------------------- /Project_E-Commerce_App_V3.0/screenshots/product list.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rustam-Z/cpp-programming/06538733047f92de287f061a40927ffaf44a561a/Project_E-Commerce_App_V3.0/screenshots/product list.png -------------------------------------------------------------------------------- /Project_Labirint_Game/sfml/bin/openal32.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rustam-Z/cpp-programming/06538733047f92de287f061a40927ffaf44a561a/Project_Labirint_Game/sfml/bin/openal32.dll -------------------------------------------------------------------------------- /Project_Labirint_Game/sfml/bin/sfml-audio-2.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rustam-Z/cpp-programming/06538733047f92de287f061a40927ffaf44a561a/Project_Labirint_Game/sfml/bin/sfml-audio-2.dll -------------------------------------------------------------------------------- /Project_Labirint_Game/sfml/bin/sfml-audio-d-2.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rustam-Z/cpp-programming/06538733047f92de287f061a40927ffaf44a561a/Project_Labirint_Game/sfml/bin/sfml-audio-d-2.dll -------------------------------------------------------------------------------- /Project_Labirint_Game/sfml/bin/sfml-graphics-2.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rustam-Z/cpp-programming/06538733047f92de287f061a40927ffaf44a561a/Project_Labirint_Game/sfml/bin/sfml-graphics-2.dll -------------------------------------------------------------------------------- /Project_Labirint_Game/sfml/bin/sfml-graphics-d-2.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rustam-Z/cpp-programming/06538733047f92de287f061a40927ffaf44a561a/Project_Labirint_Game/sfml/bin/sfml-graphics-d-2.dll -------------------------------------------------------------------------------- /Project_Labirint_Game/sfml/bin/sfml-network-2.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rustam-Z/cpp-programming/06538733047f92de287f061a40927ffaf44a561a/Project_Labirint_Game/sfml/bin/sfml-network-2.dll -------------------------------------------------------------------------------- /Project_Labirint_Game/sfml/bin/sfml-network-d-2.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rustam-Z/cpp-programming/06538733047f92de287f061a40927ffaf44a561a/Project_Labirint_Game/sfml/bin/sfml-network-d-2.dll -------------------------------------------------------------------------------- /Project_Labirint_Game/sfml/bin/sfml-system-2.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rustam-Z/cpp-programming/06538733047f92de287f061a40927ffaf44a561a/Project_Labirint_Game/sfml/bin/sfml-system-2.dll -------------------------------------------------------------------------------- /Project_Labirint_Game/sfml/bin/sfml-system-d-2.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rustam-Z/cpp-programming/06538733047f92de287f061a40927ffaf44a561a/Project_Labirint_Game/sfml/bin/sfml-system-d-2.dll -------------------------------------------------------------------------------- /Project_Labirint_Game/sfml/bin/sfml-window-2.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rustam-Z/cpp-programming/06538733047f92de287f061a40927ffaf44a561a/Project_Labirint_Game/sfml/bin/sfml-window-2.dll -------------------------------------------------------------------------------- /Project_Labirint_Game/sfml/bin/sfml-window-d-2.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rustam-Z/cpp-programming/06538733047f92de287f061a40927ffaf44a561a/Project_Labirint_Game/sfml/bin/sfml-window-d-2.dll -------------------------------------------------------------------------------- /Project_Labirint_Game/sfml/include/SFML/Audio.hpp: -------------------------------------------------------------------------------- 1 | //////////////////////////////////////////////////////////// 2 | // 3 | // SFML - Simple and Fast Multimedia Library 4 | // Copyright (C) 2007-2018 Laurent Gomila (laurent@sfml-dev.org) 5 | // 6 | // This software is provided 'as-is', without any express or implied warranty. 7 | // In no event will the authors be held liable for any damages arising from the use of this software. 8 | // 9 | // Permission is granted to anyone to use this software for any purpose, 10 | // including commercial applications, and to alter it and redistribute it freely, 11 | // subject to the following restrictions: 12 | // 13 | // 1. The origin of this software must not be misrepresented; 14 | // you must not claim that you wrote the original software. 15 | // If you use this software in a product, an acknowledgment 16 | // in the product documentation would be appreciated but is not required. 17 | // 18 | // 2. Altered source versions must be plainly marked as such, 19 | // and must not be misrepresented as being the original software. 20 | // 21 | // 3. This notice may not be removed or altered from any source distribution. 22 | // 23 | //////////////////////////////////////////////////////////// 24 | 25 | #ifndef SFML_AUDIO_HPP 26 | #define SFML_AUDIO_HPP 27 | 28 | //////////////////////////////////////////////////////////// 29 | // Headers 30 | //////////////////////////////////////////////////////////// 31 | 32 | #include 33 | #include 34 | #include 35 | #include 36 | #include 37 | #include 38 | #include 39 | #include 40 | #include 41 | #include 42 | #include 43 | #include 44 | #include 45 | #include 46 | 47 | 48 | #endif // SFML_AUDIO_HPP 49 | 50 | //////////////////////////////////////////////////////////// 51 | /// \defgroup audio Audio module 52 | /// 53 | /// Sounds, streaming (musics or custom sources), recording, 54 | /// spatialization. 55 | /// 56 | //////////////////////////////////////////////////////////// 57 | -------------------------------------------------------------------------------- /Project_Labirint_Game/sfml/include/SFML/Audio/AlResource.hpp: -------------------------------------------------------------------------------- 1 | //////////////////////////////////////////////////////////// 2 | // 3 | // SFML - Simple and Fast Multimedia Library 4 | // Copyright (C) 2007-2018 Laurent Gomila (laurent@sfml-dev.org) 5 | // 6 | // This software is provided 'as-is', without any express or implied warranty. 7 | // In no event will the authors be held liable for any damages arising from the use of this software. 8 | // 9 | // Permission is granted to anyone to use this software for any purpose, 10 | // including commercial applications, and to alter it and redistribute it freely, 11 | // subject to the following restrictions: 12 | // 13 | // 1. The origin of this software must not be misrepresented; 14 | // you must not claim that you wrote the original software. 15 | // If you use this software in a product, an acknowledgment 16 | // in the product documentation would be appreciated but is not required. 17 | // 18 | // 2. Altered source versions must be plainly marked as such, 19 | // and must not be misrepresented as being the original software. 20 | // 21 | // 3. This notice may not be removed or altered from any source distribution. 22 | // 23 | //////////////////////////////////////////////////////////// 24 | 25 | #ifndef SFML_ALRESOURCE_HPP 26 | #define SFML_ALRESOURCE_HPP 27 | 28 | //////////////////////////////////////////////////////////// 29 | // Headers 30 | //////////////////////////////////////////////////////////// 31 | #include 32 | 33 | 34 | namespace sf 35 | { 36 | //////////////////////////////////////////////////////////// 37 | /// \brief Base class for classes that require an OpenAL context 38 | /// 39 | //////////////////////////////////////////////////////////// 40 | class SFML_AUDIO_API AlResource 41 | { 42 | protected: 43 | 44 | //////////////////////////////////////////////////////////// 45 | /// \brief Default constructor 46 | /// 47 | //////////////////////////////////////////////////////////// 48 | AlResource(); 49 | 50 | //////////////////////////////////////////////////////////// 51 | /// \brief Destructor 52 | /// 53 | //////////////////////////////////////////////////////////// 54 | ~AlResource(); 55 | }; 56 | 57 | } // namespace sf 58 | 59 | 60 | #endif // SFML_ALRESOURCE_HPP 61 | 62 | //////////////////////////////////////////////////////////// 63 | /// \class sf::AlResource 64 | /// \ingroup audio 65 | /// 66 | /// This class is for internal use only, it must be the base 67 | /// of every class that requires a valid OpenAL context in 68 | /// order to work. 69 | /// 70 | //////////////////////////////////////////////////////////// 71 | -------------------------------------------------------------------------------- /Project_Labirint_Game/sfml/include/SFML/Audio/Export.hpp: -------------------------------------------------------------------------------- 1 | //////////////////////////////////////////////////////////// 2 | // 3 | // SFML - Simple and Fast Multimedia Library 4 | // Copyright (C) 2007-2018 Laurent Gomila (laurent@sfml-dev.org) 5 | // 6 | // This software is provided 'as-is', without any express or implied warranty. 7 | // In no event will the authors be held liable for any damages arising from the use of this software. 8 | // 9 | // Permission is granted to anyone to use this software for any purpose, 10 | // including commercial applications, and to alter it and redistribute it freely, 11 | // subject to the following restrictions: 12 | // 13 | // 1. The origin of this software must not be misrepresented; 14 | // you must not claim that you wrote the original software. 15 | // If you use this software in a product, an acknowledgment 16 | // in the product documentation would be appreciated but is not required. 17 | // 18 | // 2. Altered source versions must be plainly marked as such, 19 | // and must not be misrepresented as being the original software. 20 | // 21 | // 3. This notice may not be removed or altered from any source distribution. 22 | // 23 | //////////////////////////////////////////////////////////// 24 | 25 | #ifndef SFML_AUDIO_EXPORT_HPP 26 | #define SFML_AUDIO_EXPORT_HPP 27 | 28 | //////////////////////////////////////////////////////////// 29 | // Headers 30 | //////////////////////////////////////////////////////////// 31 | #include 32 | 33 | 34 | //////////////////////////////////////////////////////////// 35 | // Define portable import / export macros 36 | //////////////////////////////////////////////////////////// 37 | #if defined(SFML_AUDIO_EXPORTS) 38 | 39 | #define SFML_AUDIO_API SFML_API_EXPORT 40 | 41 | #else 42 | 43 | #define SFML_AUDIO_API SFML_API_IMPORT 44 | 45 | #endif 46 | 47 | 48 | #endif // SFML_AUDIO_EXPORT_HPP 49 | -------------------------------------------------------------------------------- /Project_Labirint_Game/sfml/include/SFML/Audio/SoundFileFactory.inl: -------------------------------------------------------------------------------- 1 | //////////////////////////////////////////////////////////// 2 | // 3 | // SFML - Simple and Fast Multimedia Library 4 | // Copyright (C) 2007-2018 Laurent Gomila (laurent@sfml-dev.org) 5 | // 6 | // This software is provided 'as-is', without any express or implied warranty. 7 | // In no event will the authors be held liable for any damages arising from the use of this software. 8 | // 9 | // Permission is granted to anyone to use this software for any purpose, 10 | // including commercial applications, and to alter it and redistribute it freely, 11 | // subject to the following restrictions: 12 | // 13 | // 1. The origin of this software must not be misrepresented; 14 | // you must not claim that you wrote the original software. 15 | // If you use this software in a product, an acknowledgment 16 | // in the product documentation would be appreciated but is not required. 17 | // 18 | // 2. Altered source versions must be plainly marked as such, 19 | // and must not be misrepresented as being the original software. 20 | // 21 | // 3. This notice may not be removed or altered from any source distribution. 22 | // 23 | //////////////////////////////////////////////////////////// 24 | 25 | //////////////////////////////////////////////////////////// 26 | // Headers 27 | //////////////////////////////////////////////////////////// 28 | 29 | 30 | namespace sf 31 | { 32 | namespace priv 33 | { 34 | template SoundFileReader* createReader() {return new T;} 35 | template SoundFileWriter* createWriter() {return new T;} 36 | } 37 | 38 | //////////////////////////////////////////////////////////// 39 | template 40 | void SoundFileFactory::registerReader() 41 | { 42 | // Make sure the same class won't be registered twice 43 | unregisterReader(); 44 | 45 | // Create a new factory with the functions provided by the class 46 | ReaderFactory factory; 47 | factory.check = &T::check; 48 | factory.create = &priv::createReader; 49 | 50 | // Add it 51 | s_readers.push_back(factory); 52 | } 53 | 54 | 55 | //////////////////////////////////////////////////////////// 56 | template 57 | void SoundFileFactory::unregisterReader() 58 | { 59 | // Remove the instance(s) of the reader from the array of factories 60 | for (ReaderFactoryArray::iterator it = s_readers.begin(); it != s_readers.end(); ) 61 | { 62 | if (it->create == &priv::createReader) 63 | it = s_readers.erase(it); 64 | else 65 | ++it; 66 | } 67 | } 68 | 69 | //////////////////////////////////////////////////////////// 70 | template 71 | void SoundFileFactory::registerWriter() 72 | { 73 | // Make sure the same class won't be registered twice 74 | unregisterWriter(); 75 | 76 | // Create a new factory with the functions provided by the class 77 | WriterFactory factory; 78 | factory.check = &T::check; 79 | factory.create = &priv::createWriter; 80 | 81 | // Add it 82 | s_writers.push_back(factory); 83 | } 84 | 85 | 86 | //////////////////////////////////////////////////////////// 87 | template 88 | void SoundFileFactory::unregisterWriter() 89 | { 90 | // Remove the instance(s) of the writer from the array of factories 91 | for (WriterFactoryArray::iterator it = s_writers.begin(); it != s_writers.end(); ) 92 | { 93 | if (it->create == &priv::createWriter) 94 | it = s_writers.erase(it); 95 | else 96 | ++it; 97 | } 98 | } 99 | 100 | } // namespace sf 101 | -------------------------------------------------------------------------------- /Project_Labirint_Game/sfml/include/SFML/GpuPreference.hpp: -------------------------------------------------------------------------------- 1 | //////////////////////////////////////////////////////////// 2 | // 3 | // SFML - Simple and Fast Multimedia Library 4 | // Copyright (C) 2007-2018 Laurent Gomila (laurent@sfml-dev.org) 5 | // 6 | // This software is provided 'as-is', without any express or implied warranty. 7 | // In no event will the authors be held liable for any damages arising from the use of this software. 8 | // 9 | // Permission is granted to anyone to use this software for any purpose, 10 | // including commercial applications, and to alter it and redistribute it freely, 11 | // subject to the following restrictions: 12 | // 13 | // 1. The origin of this software must not be misrepresented; 14 | // you must not claim that you wrote the original software. 15 | // If you use this software in a product, an acknowledgment 16 | // in the product documentation would be appreciated but is not required. 17 | // 18 | // 2. Altered source versions must be plainly marked as such, 19 | // and must not be misrepresented as being the original software. 20 | // 21 | // 3. This notice may not be removed or altered from any source distribution. 22 | // 23 | //////////////////////////////////////////////////////////// 24 | 25 | #ifndef SFML_GPUPREFERENCE_HPP 26 | #define SFML_GPUPREFERENCE_HPP 27 | 28 | 29 | //////////////////////////////////////////////////////////// 30 | /// Headers 31 | //////////////////////////////////////////////////////////// 32 | #include 33 | 34 | 35 | //////////////////////////////////////////////////////////// 36 | /// \file 37 | /// 38 | /// \brief File containing SFML_DEFINE_DISCRETE_GPU_PREFERENCE 39 | /// 40 | //////////////////////////////////////////////////////////// 41 | 42 | 43 | //////////////////////////////////////////////////////////// 44 | /// \def SFML_DEFINE_DISCRETE_GPU_PREFERENCE 45 | /// 46 | /// \brief A macro to encourage usage of the discrete GPU 47 | /// 48 | /// In order to inform the Nvidia/AMD driver that an SFML 49 | /// application could benefit from using the more powerful 50 | /// discrete GPU, special symbols have to be publicly 51 | /// exported from the final executable. 52 | /// 53 | /// SFML defines a helper macro to easily do this. 54 | /// 55 | /// Place SFML_DEFINE_DISCRETE_GPU_PREFERENCE in the 56 | /// global scope of a source file that will be linked into 57 | /// the final executable. Typically it is best to place it 58 | /// where the main function is also defined. 59 | /// 60 | //////////////////////////////////////////////////////////// 61 | #if defined(SFML_SYSTEM_WINDOWS) 62 | 63 | #define SFML_DEFINE_DISCRETE_GPU_PREFERENCE \ 64 | extern "C" __declspec(dllexport) unsigned long NvOptimusEnablement = 1; \ 65 | extern "C" __declspec(dllexport) unsigned long AmdPowerXpressRequestHighPerformance = 1; 66 | 67 | #else 68 | 69 | #define SFML_DEFINE_DISCRETE_GPU_PREFERENCE 70 | 71 | #endif 72 | 73 | 74 | #endif // SFML_GPUPREFERENCE_HPP 75 | -------------------------------------------------------------------------------- /Project_Labirint_Game/sfml/include/SFML/Graphics.hpp: -------------------------------------------------------------------------------- 1 | //////////////////////////////////////////////////////////// 2 | // 3 | // SFML - Simple and Fast Multimedia Library 4 | // Copyright (C) 2007-2018 Laurent Gomila (laurent@sfml-dev.org) 5 | // 6 | // This software is provided 'as-is', without any express or implied warranty. 7 | // In no event will the authors be held liable for any damages arising from the use of this software. 8 | // 9 | // Permission is granted to anyone to use this software for any purpose, 10 | // including commercial applications, and to alter it and redistribute it freely, 11 | // subject to the following restrictions: 12 | // 13 | // 1. The origin of this software must not be misrepresented; 14 | // you must not claim that you wrote the original software. 15 | // If you use this software in a product, an acknowledgment 16 | // in the product documentation would be appreciated but is not required. 17 | // 18 | // 2. Altered source versions must be plainly marked as such, 19 | // and must not be misrepresented as being the original software. 20 | // 21 | // 3. This notice may not be removed or altered from any source distribution. 22 | // 23 | //////////////////////////////////////////////////////////// 24 | 25 | #ifndef SFML_GRAPHICS_HPP 26 | #define SFML_GRAPHICS_HPP 27 | 28 | //////////////////////////////////////////////////////////// 29 | // Headers 30 | //////////////////////////////////////////////////////////// 31 | 32 | #include 33 | #include 34 | #include 35 | #include 36 | #include 37 | #include 38 | #include 39 | #include 40 | #include 41 | #include 42 | #include 43 | #include 44 | #include 45 | #include 46 | #include 47 | #include 48 | #include 49 | #include 50 | #include 51 | #include 52 | #include 53 | #include 54 | #include 55 | #include 56 | #include 57 | #include 58 | #include 59 | 60 | 61 | #endif // SFML_GRAPHICS_HPP 62 | 63 | //////////////////////////////////////////////////////////// 64 | /// \defgroup graphics Graphics module 65 | /// 66 | /// 2D graphics module: sprites, text, shapes, ... 67 | /// 68 | //////////////////////////////////////////////////////////// 69 | -------------------------------------------------------------------------------- /Project_Labirint_Game/sfml/include/SFML/Graphics/Drawable.hpp: -------------------------------------------------------------------------------- 1 | //////////////////////////////////////////////////////////// 2 | // 3 | // SFML - Simple and Fast Multimedia Library 4 | // Copyright (C) 2007-2018 Laurent Gomila (laurent@sfml-dev.org) 5 | // 6 | // This software is provided 'as-is', without any express or implied warranty. 7 | // In no event will the authors be held liable for any damages arising from the use of this software. 8 | // 9 | // Permission is granted to anyone to use this software for any purpose, 10 | // including commercial applications, and to alter it and redistribute it freely, 11 | // subject to the following restrictions: 12 | // 13 | // 1. The origin of this software must not be misrepresented; 14 | // you must not claim that you wrote the original software. 15 | // If you use this software in a product, an acknowledgment 16 | // in the product documentation would be appreciated but is not required. 17 | // 18 | // 2. Altered source versions must be plainly marked as such, 19 | // and must not be misrepresented as being the original software. 20 | // 21 | // 3. This notice may not be removed or altered from any source distribution. 22 | // 23 | //////////////////////////////////////////////////////////// 24 | 25 | #ifndef SFML_DRAWABLE_HPP 26 | #define SFML_DRAWABLE_HPP 27 | 28 | //////////////////////////////////////////////////////////// 29 | // Headers 30 | //////////////////////////////////////////////////////////// 31 | #include 32 | #include 33 | 34 | 35 | namespace sf 36 | { 37 | class RenderTarget; 38 | 39 | //////////////////////////////////////////////////////////// 40 | /// \brief Abstract base class for objects that can be drawn 41 | /// to a render target 42 | /// 43 | //////////////////////////////////////////////////////////// 44 | class SFML_GRAPHICS_API Drawable 45 | { 46 | public: 47 | 48 | //////////////////////////////////////////////////////////// 49 | /// \brief Virtual destructor 50 | /// 51 | //////////////////////////////////////////////////////////// 52 | virtual ~Drawable() {} 53 | 54 | protected: 55 | 56 | friend class RenderTarget; 57 | 58 | //////////////////////////////////////////////////////////// 59 | /// \brief Draw the object to a render target 60 | /// 61 | /// This is a pure virtual function that has to be implemented 62 | /// by the derived class to define how the drawable should be 63 | /// drawn. 64 | /// 65 | /// \param target Render target to draw to 66 | /// \param states Current render states 67 | /// 68 | //////////////////////////////////////////////////////////// 69 | virtual void draw(RenderTarget& target, RenderStates states) const = 0; 70 | }; 71 | 72 | } // namespace sf 73 | 74 | 75 | #endif // SFML_DRAWABLE_HPP 76 | 77 | 78 | //////////////////////////////////////////////////////////// 79 | /// \class sf::Drawable 80 | /// \ingroup graphics 81 | /// 82 | /// sf::Drawable is a very simple base class that allows objects 83 | /// of derived classes to be drawn to a sf::RenderTarget. 84 | /// 85 | /// All you have to do in your derived class is to override the 86 | /// draw virtual function. 87 | /// 88 | /// Note that inheriting from sf::Drawable is not mandatory, 89 | /// but it allows this nice syntax "window.draw(object)" rather 90 | /// than "object.draw(window)", which is more consistent with other 91 | /// SFML classes. 92 | /// 93 | /// Example: 94 | /// \code 95 | /// class MyDrawable : public sf::Drawable 96 | /// { 97 | /// public: 98 | /// 99 | /// ... 100 | /// 101 | /// private: 102 | /// 103 | /// virtual void draw(sf::RenderTarget& target, sf::RenderStates states) const 104 | /// { 105 | /// // You can draw other high-level objects 106 | /// target.draw(m_sprite, states); 107 | /// 108 | /// // ... or use the low-level API 109 | /// states.texture = &m_texture; 110 | /// target.draw(m_vertices, states); 111 | /// 112 | /// // ... or draw with OpenGL directly 113 | /// glBegin(GL_QUADS); 114 | /// ... 115 | /// glEnd(); 116 | /// } 117 | /// 118 | /// sf::Sprite m_sprite; 119 | /// sf::Texture m_texture; 120 | /// sf::VertexArray m_vertices; 121 | /// }; 122 | /// \endcode 123 | /// 124 | /// \see sf::RenderTarget 125 | /// 126 | //////////////////////////////////////////////////////////// 127 | -------------------------------------------------------------------------------- /Project_Labirint_Game/sfml/include/SFML/Graphics/Export.hpp: -------------------------------------------------------------------------------- 1 | //////////////////////////////////////////////////////////// 2 | // 3 | // SFML - Simple and Fast Multimedia Library 4 | // Copyright (C) 2007-2018 Laurent Gomila (laurent@sfml-dev.org) 5 | // 6 | // This software is provided 'as-is', without any express or implied warranty. 7 | // In no event will the authors be held liable for any damages arising from the use of this software. 8 | // 9 | // Permission is granted to anyone to use this software for any purpose, 10 | // including commercial applications, and to alter it and redistribute it freely, 11 | // subject to the following restrictions: 12 | // 13 | // 1. The origin of this software must not be misrepresented; 14 | // you must not claim that you wrote the original software. 15 | // If you use this software in a product, an acknowledgment 16 | // in the product documentation would be appreciated but is not required. 17 | // 18 | // 2. Altered source versions must be plainly marked as such, 19 | // and must not be misrepresented as being the original software. 20 | // 21 | // 3. This notice may not be removed or altered from any source distribution. 22 | // 23 | //////////////////////////////////////////////////////////// 24 | 25 | #ifndef SFML_GRAPHICS_EXPORT_HPP 26 | #define SFML_GRAPHICS_EXPORT_HPP 27 | 28 | //////////////////////////////////////////////////////////// 29 | // Headers 30 | //////////////////////////////////////////////////////////// 31 | #include 32 | 33 | 34 | //////////////////////////////////////////////////////////// 35 | // Define portable import / export macros 36 | //////////////////////////////////////////////////////////// 37 | #if defined(SFML_GRAPHICS_EXPORTS) 38 | 39 | #define SFML_GRAPHICS_API SFML_API_EXPORT 40 | 41 | #else 42 | 43 | #define SFML_GRAPHICS_API SFML_API_IMPORT 44 | 45 | #endif 46 | 47 | 48 | #endif // SFML_GRAPHICS_EXPORT_HPP 49 | -------------------------------------------------------------------------------- /Project_Labirint_Game/sfml/include/SFML/Graphics/Glyph.hpp: -------------------------------------------------------------------------------- 1 | //////////////////////////////////////////////////////////// 2 | // 3 | // SFML - Simple and Fast Multimedia Library 4 | // Copyright (C) 2007-2018 Laurent Gomila (laurent@sfml-dev.org) 5 | // 6 | // This software is provided 'as-is', without any express or implied warranty. 7 | // In no event will the authors be held liable for any damages arising from the use of this software. 8 | // 9 | // Permission is granted to anyone to use this software for any purpose, 10 | // including commercial applications, and to alter it and redistribute it freely, 11 | // subject to the following restrictions: 12 | // 13 | // 1. The origin of this software must not be misrepresented; 14 | // you must not claim that you wrote the original software. 15 | // If you use this software in a product, an acknowledgment 16 | // in the product documentation would be appreciated but is not required. 17 | // 18 | // 2. Altered source versions must be plainly marked as such, 19 | // and must not be misrepresented as being the original software. 20 | // 21 | // 3. This notice may not be removed or altered from any source distribution. 22 | // 23 | //////////////////////////////////////////////////////////// 24 | 25 | #ifndef SFML_GLYPH_HPP 26 | #define SFML_GLYPH_HPP 27 | 28 | //////////////////////////////////////////////////////////// 29 | // Headers 30 | //////////////////////////////////////////////////////////// 31 | #include 32 | #include 33 | 34 | 35 | namespace sf 36 | { 37 | //////////////////////////////////////////////////////////// 38 | /// \brief Structure describing a glyph 39 | /// 40 | //////////////////////////////////////////////////////////// 41 | class SFML_GRAPHICS_API Glyph 42 | { 43 | public: 44 | 45 | //////////////////////////////////////////////////////////// 46 | /// \brief Default constructor 47 | /// 48 | //////////////////////////////////////////////////////////// 49 | Glyph() : advance(0) {} 50 | 51 | //////////////////////////////////////////////////////////// 52 | // Member data 53 | //////////////////////////////////////////////////////////// 54 | float advance; ///< Offset to move horizontally to the next character 55 | FloatRect bounds; ///< Bounding rectangle of the glyph, in coordinates relative to the baseline 56 | IntRect textureRect; ///< Texture coordinates of the glyph inside the font's texture 57 | }; 58 | 59 | } // namespace sf 60 | 61 | 62 | #endif // SFML_GLYPH_HPP 63 | 64 | 65 | //////////////////////////////////////////////////////////// 66 | /// \class sf::Glyph 67 | /// \ingroup graphics 68 | /// 69 | /// A glyph is the visual representation of a character. 70 | /// 71 | /// The sf::Glyph structure provides the information needed 72 | /// to handle the glyph: 73 | /// \li its coordinates in the font's texture 74 | /// \li its bounding rectangle 75 | /// \li the offset to apply to get the starting position of the next glyph 76 | /// 77 | /// \see sf::Font 78 | /// 79 | //////////////////////////////////////////////////////////// 80 | -------------------------------------------------------------------------------- /Project_Labirint_Game/sfml/include/SFML/Graphics/PrimitiveType.hpp: -------------------------------------------------------------------------------- 1 | //////////////////////////////////////////////////////////// 2 | // 3 | // SFML - Simple and Fast Multimedia Library 4 | // Copyright (C) 2007-2018 Laurent Gomila (laurent@sfml-dev.org) 5 | // 6 | // This software is provided 'as-is', without any express or implied warranty. 7 | // In no event will the authors be held liable for any damages arising from the use of this software. 8 | // 9 | // Permission is granted to anyone to use this software for any purpose, 10 | // including commercial applications, and to alter it and redistribute it freely, 11 | // subject to the following restrictions: 12 | // 13 | // 1. The origin of this software must not be misrepresented; 14 | // you must not claim that you wrote the original software. 15 | // If you use this software in a product, an acknowledgment 16 | // in the product documentation would be appreciated but is not required. 17 | // 18 | // 2. Altered source versions must be plainly marked as such, 19 | // and must not be misrepresented as being the original software. 20 | // 21 | // 3. This notice may not be removed or altered from any source distribution. 22 | // 23 | //////////////////////////////////////////////////////////// 24 | 25 | #ifndef SFML_PRIMITIVETYPE_HPP 26 | #define SFML_PRIMITIVETYPE_HPP 27 | 28 | namespace sf 29 | { 30 | //////////////////////////////////////////////////////////// 31 | /// \ingroup graphics 32 | /// \brief Types of primitives that a sf::VertexArray can render 33 | /// 34 | /// Points and lines have no area, therefore their thickness 35 | /// will always be 1 pixel, regardless the current transform 36 | /// and view. 37 | /// 38 | //////////////////////////////////////////////////////////// 39 | enum PrimitiveType 40 | { 41 | Points, ///< List of individual points 42 | Lines, ///< List of individual lines 43 | LineStrip, ///< List of connected lines, a point uses the previous point to form a line 44 | Triangles, ///< List of individual triangles 45 | TriangleStrip, ///< List of connected triangles, a point uses the two previous points to form a triangle 46 | TriangleFan, ///< List of connected triangles, a point uses the common center and the previous point to form a triangle 47 | Quads, ///< List of individual quads (deprecated, don't work with OpenGL ES) 48 | 49 | // Deprecated names 50 | LinesStrip = LineStrip, ///< \deprecated Use LineStrip instead 51 | TrianglesStrip = TriangleStrip, ///< \deprecated Use TriangleStrip instead 52 | TrianglesFan = TriangleFan ///< \deprecated Use TriangleFan instead 53 | }; 54 | 55 | } // namespace sf 56 | 57 | 58 | #endif // SFML_PRIMITIVETYPE_HPP 59 | -------------------------------------------------------------------------------- /Project_Labirint_Game/sfml/include/SFML/Main.hpp: -------------------------------------------------------------------------------- 1 | //////////////////////////////////////////////////////////// 2 | // 3 | // SFML - Simple and Fast Multimedia Library 4 | // Copyright (C) 2007-2018 Laurent Gomila (laurent@sfml-dev.org) 5 | // 6 | // This software is provided 'as-is', without any express or implied warranty. 7 | // In no event will the authors be held liable for any damages arising from the use of this software. 8 | // 9 | // Permission is granted to anyone to use this software for any purpose, 10 | // including commercial applications, and to alter it and redistribute it freely, 11 | // subject to the following restrictions: 12 | // 13 | // 1. The origin of this software must not be misrepresented; 14 | // you must not claim that you wrote the original software. 15 | // If you use this software in a product, an acknowledgment 16 | // in the product documentation would be appreciated but is not required. 17 | // 18 | // 2. Altered source versions must be plainly marked as such, 19 | // and must not be misrepresented as being the original software. 20 | // 21 | // 3. This notice may not be removed or altered from any source distribution. 22 | // 23 | //////////////////////////////////////////////////////////// 24 | 25 | #ifndef SFML_MAIN_HPP 26 | #define SFML_MAIN_HPP 27 | 28 | //////////////////////////////////////////////////////////// 29 | // Headers 30 | //////////////////////////////////////////////////////////// 31 | #include 32 | 33 | 34 | #if defined(SFML_SYSTEM_IOS) 35 | 36 | // On iOS, we have no choice but to have our own main, 37 | // so we need to rename the user one and call it later 38 | #define main sfmlMain 39 | 40 | #endif 41 | 42 | 43 | #endif // SFML_MAIN_HPP 44 | -------------------------------------------------------------------------------- /Project_Labirint_Game/sfml/include/SFML/Network.hpp: -------------------------------------------------------------------------------- 1 | //////////////////////////////////////////////////////////// 2 | // 3 | // SFML - Simple and Fast Multimedia Library 4 | // Copyright (C) 2007-2018 Laurent Gomila (laurent@sfml-dev.org) 5 | // 6 | // This software is provided 'as-is', without any express or implied warranty. 7 | // In no event will the authors be held liable for any damages arising from the use of this software. 8 | // 9 | // Permission is granted to anyone to use this software for any purpose, 10 | // including commercial applications, and to alter it and redistribute it freely, 11 | // subject to the following restrictions: 12 | // 13 | // 1. The origin of this software must not be misrepresented; 14 | // you must not claim that you wrote the original software. 15 | // If you use this software in a product, an acknowledgment 16 | // in the product documentation would be appreciated but is not required. 17 | // 18 | // 2. Altered source versions must be plainly marked as such, 19 | // and must not be misrepresented as being the original software. 20 | // 21 | // 3. This notice may not be removed or altered from any source distribution. 22 | // 23 | //////////////////////////////////////////////////////////// 24 | 25 | #ifndef SFML_NETWORK_HPP 26 | #define SFML_NETWORK_HPP 27 | 28 | //////////////////////////////////////////////////////////// 29 | // Headers 30 | //////////////////////////////////////////////////////////// 31 | 32 | #include 33 | #include 34 | #include 35 | #include 36 | #include 37 | #include 38 | #include 39 | #include 40 | #include 41 | #include 42 | #include 43 | 44 | 45 | #endif // SFML_NETWORK_HPP 46 | 47 | //////////////////////////////////////////////////////////// 48 | /// \defgroup network Network module 49 | /// 50 | /// Socket-based communication, utilities and higher-level 51 | /// network protocols (HTTP, FTP). 52 | /// 53 | //////////////////////////////////////////////////////////// 54 | -------------------------------------------------------------------------------- /Project_Labirint_Game/sfml/include/SFML/Network/Export.hpp: -------------------------------------------------------------------------------- 1 | //////////////////////////////////////////////////////////// 2 | // 3 | // SFML - Simple and Fast Multimedia Library 4 | // Copyright (C) 2007-2018 Laurent Gomila (laurent@sfml-dev.org) 5 | // 6 | // This software is provided 'as-is', without any express or implied warranty. 7 | // In no event will the authors be held liable for any damages arising from the use of this software. 8 | // 9 | // Permission is granted to anyone to use this software for any purpose, 10 | // including commercial applications, and to alter it and redistribute it freely, 11 | // subject to the following restrictions: 12 | // 13 | // 1. The origin of this software must not be misrepresented; 14 | // you must not claim that you wrote the original software. 15 | // If you use this software in a product, an acknowledgment 16 | // in the product documentation would be appreciated but is not required. 17 | // 18 | // 2. Altered source versions must be plainly marked as such, 19 | // and must not be misrepresented as being the original software. 20 | // 21 | // 3. This notice may not be removed or altered from any source distribution. 22 | // 23 | //////////////////////////////////////////////////////////// 24 | 25 | #ifndef SFML_NETWORK_EXPORT_HPP 26 | #define SFML_NETWORK_EXPORT_HPP 27 | 28 | //////////////////////////////////////////////////////////// 29 | // Headers 30 | //////////////////////////////////////////////////////////// 31 | #include 32 | 33 | 34 | //////////////////////////////////////////////////////////// 35 | // Define portable import / export macros 36 | //////////////////////////////////////////////////////////// 37 | #if defined(SFML_NETWORK_EXPORTS) 38 | 39 | #define SFML_NETWORK_API SFML_API_EXPORT 40 | 41 | #else 42 | 43 | #define SFML_NETWORK_API SFML_API_IMPORT 44 | 45 | #endif 46 | 47 | 48 | #endif // SFML_NETWORK_EXPORT_HPP 49 | -------------------------------------------------------------------------------- /Project_Labirint_Game/sfml/include/SFML/Network/SocketHandle.hpp: -------------------------------------------------------------------------------- 1 | //////////////////////////////////////////////////////////// 2 | // 3 | // SFML - Simple and Fast Multimedia Library 4 | // Copyright (C) 2007-2018 Laurent Gomila (laurent@sfml-dev.org) 5 | // 6 | // This software is provided 'as-is', without any express or implied warranty. 7 | // In no event will the authors be held liable for any damages arising from the use of this software. 8 | // 9 | // Permission is granted to anyone to use this software for any purpose, 10 | // including commercial applications, and to alter it and redistribute it freely, 11 | // subject to the following restrictions: 12 | // 13 | // 1. The origin of this software must not be misrepresented; 14 | // you must not claim that you wrote the original software. 15 | // If you use this software in a product, an acknowledgment 16 | // in the product documentation would be appreciated but is not required. 17 | // 18 | // 2. Altered source versions must be plainly marked as such, 19 | // and must not be misrepresented as being the original software. 20 | // 21 | // 3. This notice may not be removed or altered from any source distribution. 22 | // 23 | //////////////////////////////////////////////////////////// 24 | 25 | #ifndef SFML_SOCKETHANDLE_HPP 26 | #define SFML_SOCKETHANDLE_HPP 27 | 28 | //////////////////////////////////////////////////////////// 29 | // Headers 30 | //////////////////////////////////////////////////////////// 31 | #include 32 | 33 | #if defined(SFML_SYSTEM_WINDOWS) 34 | #include 35 | #endif 36 | 37 | 38 | namespace sf 39 | { 40 | //////////////////////////////////////////////////////////// 41 | // Define the low-level socket handle type, specific to 42 | // each platform 43 | //////////////////////////////////////////////////////////// 44 | #if defined(SFML_SYSTEM_WINDOWS) 45 | 46 | typedef UINT_PTR SocketHandle; 47 | 48 | #else 49 | 50 | typedef int SocketHandle; 51 | 52 | #endif 53 | 54 | } // namespace sf 55 | 56 | 57 | #endif // SFML_SOCKETHANDLE_HPP 58 | -------------------------------------------------------------------------------- /Project_Labirint_Game/sfml/include/SFML/OpenGL.hpp: -------------------------------------------------------------------------------- 1 | //////////////////////////////////////////////////////////// 2 | // 3 | // SFML - Simple and Fast Multimedia Library 4 | // Copyright (C) 2007-2018 Laurent Gomila (laurent@sfml-dev.org) 5 | // 6 | // This software is provided 'as-is', without any express or implied warranty. 7 | // In no event will the authors be held liable for any damages arising from the use of this software. 8 | // 9 | // Permission is granted to anyone to use this software for any purpose, 10 | // including commercial applications, and to alter it and redistribute it freely, 11 | // subject to the following restrictions: 12 | // 13 | // 1. The origin of this software must not be misrepresented; 14 | // you must not claim that you wrote the original software. 15 | // If you use this software in a product, an acknowledgment 16 | // in the product documentation would be appreciated but is not required. 17 | // 18 | // 2. Altered source versions must be plainly marked as such, 19 | // and must not be misrepresented as being the original software. 20 | // 21 | // 3. This notice may not be removed or altered from any source distribution. 22 | // 23 | //////////////////////////////////////////////////////////// 24 | 25 | #ifndef SFML_OPENGL_HPP 26 | #define SFML_OPENGL_HPP 27 | 28 | 29 | //////////////////////////////////////////////////////////// 30 | /// Headers 31 | //////////////////////////////////////////////////////////// 32 | #include 33 | 34 | 35 | //////////////////////////////////////////////////////////// 36 | /// This file just includes the OpenGL headers, 37 | /// which have actually different paths on each system 38 | //////////////////////////////////////////////////////////// 39 | #if defined(SFML_SYSTEM_WINDOWS) 40 | 41 | // The Visual C++ version of gl.h uses WINGDIAPI and APIENTRY but doesn't define them 42 | #ifdef _MSC_VER 43 | #include 44 | #endif 45 | 46 | #include 47 | 48 | #elif defined(SFML_SYSTEM_LINUX) || defined(SFML_SYSTEM_FREEBSD) || defined(SFML_SYSTEM_OPENBSD) 49 | 50 | #if defined(SFML_OPENGL_ES) 51 | #include 52 | #include 53 | #else 54 | #include 55 | #endif 56 | 57 | #elif defined(SFML_SYSTEM_MACOS) 58 | 59 | #include 60 | 61 | #elif defined (SFML_SYSTEM_IOS) 62 | 63 | #include 64 | #include 65 | 66 | #elif defined (SFML_SYSTEM_ANDROID) 67 | 68 | #include 69 | #include 70 | 71 | // We're not using OpenGL ES 2+ yet, but we can use the sRGB extension 72 | #include 73 | #include 74 | 75 | #endif 76 | 77 | 78 | #endif // SFML_OPENGL_HPP 79 | -------------------------------------------------------------------------------- /Project_Labirint_Game/sfml/include/SFML/System.hpp: -------------------------------------------------------------------------------- 1 | //////////////////////////////////////////////////////////// 2 | // 3 | // SFML - Simple and Fast Multimedia Library 4 | // Copyright (C) 2007-2018 Laurent Gomila (laurent@sfml-dev.org) 5 | // 6 | // This software is provided 'as-is', without any express or implied warranty. 7 | // In no event will the authors be held liable for any damages arising from the use of this software. 8 | // 9 | // Permission is granted to anyone to use this software for any purpose, 10 | // including commercial applications, and to alter it and redistribute it freely, 11 | // subject to the following restrictions: 12 | // 13 | // 1. The origin of this software must not be misrepresented; 14 | // you must not claim that you wrote the original software. 15 | // If you use this software in a product, an acknowledgment 16 | // in the product documentation would be appreciated but is not required. 17 | // 18 | // 2. Altered source versions must be plainly marked as such, 19 | // and must not be misrepresented as being the original software. 20 | // 21 | // 3. This notice may not be removed or altered from any source distribution. 22 | // 23 | //////////////////////////////////////////////////////////// 24 | 25 | #ifndef SFML_SYSTEM_HPP 26 | #define SFML_SYSTEM_HPP 27 | 28 | //////////////////////////////////////////////////////////// 29 | // Headers 30 | //////////////////////////////////////////////////////////// 31 | 32 | #include 33 | #include 34 | #include 35 | #include 36 | #include 37 | #include 38 | #include 39 | #include 40 | #include 41 | #include 42 | #include 43 | #include 44 | #include 45 | #include 46 | #include 47 | #include 48 | #include 49 | #include 50 | 51 | #endif // SFML_SYSTEM_HPP 52 | 53 | //////////////////////////////////////////////////////////// 54 | /// \defgroup system System module 55 | /// 56 | /// Base module of SFML, defining various utilities. It provides 57 | /// vector classes, Unicode strings and conversion functions, 58 | /// threads and mutexes, timing classes. 59 | /// 60 | //////////////////////////////////////////////////////////// 61 | -------------------------------------------------------------------------------- /Project_Labirint_Game/sfml/include/SFML/System/Clock.hpp: -------------------------------------------------------------------------------- 1 | //////////////////////////////////////////////////////////// 2 | // 3 | // SFML - Simple and Fast Multimedia Library 4 | // Copyright (C) 2007-2018 Laurent Gomila (laurent@sfml-dev.org) 5 | // 6 | // This software is provided 'as-is', without any express or implied warranty. 7 | // In no event will the authors be held liable for any damages arising from the use of this software. 8 | // 9 | // Permission is granted to anyone to use this software for any purpose, 10 | // including commercial applications, and to alter it and redistribute it freely, 11 | // subject to the following restrictions: 12 | // 13 | // 1. The origin of this software must not be misrepresented; 14 | // you must not claim that you wrote the original software. 15 | // If you use this software in a product, an acknowledgment 16 | // in the product documentation would be appreciated but is not required. 17 | // 18 | // 2. Altered source versions must be plainly marked as such, 19 | // and must not be misrepresented as being the original software. 20 | // 21 | // 3. This notice may not be removed or altered from any source distribution. 22 | // 23 | //////////////////////////////////////////////////////////// 24 | 25 | #ifndef SFML_CLOCK_HPP 26 | #define SFML_CLOCK_HPP 27 | 28 | //////////////////////////////////////////////////////////// 29 | // Headers 30 | //////////////////////////////////////////////////////////// 31 | #include 32 | #include 33 | 34 | 35 | namespace sf 36 | { 37 | //////////////////////////////////////////////////////////// 38 | /// \brief Utility class that measures the elapsed time 39 | /// 40 | //////////////////////////////////////////////////////////// 41 | class SFML_SYSTEM_API Clock 42 | { 43 | public: 44 | 45 | //////////////////////////////////////////////////////////// 46 | /// \brief Default constructor 47 | /// 48 | /// The clock starts automatically after being constructed. 49 | /// 50 | //////////////////////////////////////////////////////////// 51 | Clock(); 52 | 53 | //////////////////////////////////////////////////////////// 54 | /// \brief Get the elapsed time 55 | /// 56 | /// This function returns the time elapsed since the last call 57 | /// to restart() (or the construction of the instance if restart() 58 | /// has not been called). 59 | /// 60 | /// \return Time elapsed 61 | /// 62 | //////////////////////////////////////////////////////////// 63 | Time getElapsedTime() const; 64 | 65 | //////////////////////////////////////////////////////////// 66 | /// \brief Restart the clock 67 | /// 68 | /// This function puts the time counter back to zero. 69 | /// It also returns the time elapsed since the clock was started. 70 | /// 71 | /// \return Time elapsed 72 | /// 73 | //////////////////////////////////////////////////////////// 74 | Time restart(); 75 | 76 | private: 77 | 78 | //////////////////////////////////////////////////////////// 79 | // Member data 80 | //////////////////////////////////////////////////////////// 81 | Time m_startTime; ///< Time of last reset, in microseconds 82 | }; 83 | 84 | } // namespace sf 85 | 86 | 87 | #endif // SFML_CLOCK_HPP 88 | 89 | 90 | //////////////////////////////////////////////////////////// 91 | /// \class sf::Clock 92 | /// \ingroup system 93 | /// 94 | /// sf::Clock is a lightweight class for measuring time. 95 | /// 96 | /// Its provides the most precise time that the underlying 97 | /// OS can achieve (generally microseconds or nanoseconds). 98 | /// It also ensures monotonicity, which means that the returned 99 | /// time can never go backward, even if the system time is 100 | /// changed. 101 | /// 102 | /// Usage example: 103 | /// \code 104 | /// sf::Clock clock; 105 | /// ... 106 | /// Time time1 = clock.getElapsedTime(); 107 | /// ... 108 | /// Time time2 = clock.restart(); 109 | /// \endcode 110 | /// 111 | /// The sf::Time value returned by the clock can then be 112 | /// converted to a number of seconds, milliseconds or even 113 | /// microseconds. 114 | /// 115 | /// \see sf::Time 116 | /// 117 | //////////////////////////////////////////////////////////// 118 | -------------------------------------------------------------------------------- /Project_Labirint_Game/sfml/include/SFML/System/Err.hpp: -------------------------------------------------------------------------------- 1 | //////////////////////////////////////////////////////////// 2 | // 3 | // SFML - Simple and Fast Multimedia Library 4 | // Copyright (C) 2007-2018 Laurent Gomila (laurent@sfml-dev.org) 5 | // 6 | // This software is provided 'as-is', without any express or implied warranty. 7 | // In no event will the authors be held liable for any damages arising from the use of this software. 8 | // 9 | // Permission is granted to anyone to use this software for any purpose, 10 | // including commercial applications, and to alter it and redistribute it freely, 11 | // subject to the following restrictions: 12 | // 13 | // 1. The origin of this software must not be misrepresented; 14 | // you must not claim that you wrote the original software. 15 | // If you use this software in a product, an acknowledgment 16 | // in the product documentation would be appreciated but is not required. 17 | // 18 | // 2. Altered source versions must be plainly marked as such, 19 | // and must not be misrepresented as being the original software. 20 | // 21 | // 3. This notice may not be removed or altered from any source distribution. 22 | // 23 | //////////////////////////////////////////////////////////// 24 | 25 | #ifndef SFML_ERR_HPP 26 | #define SFML_ERR_HPP 27 | 28 | //////////////////////////////////////////////////////////// 29 | // Headers 30 | //////////////////////////////////////////////////////////// 31 | #include 32 | #include 33 | 34 | 35 | namespace sf 36 | { 37 | //////////////////////////////////////////////////////////// 38 | /// \brief Standard stream used by SFML to output warnings and errors 39 | /// 40 | //////////////////////////////////////////////////////////// 41 | SFML_SYSTEM_API std::ostream& err(); 42 | 43 | } // namespace sf 44 | 45 | 46 | #endif // SFML_ERR_HPP 47 | 48 | 49 | //////////////////////////////////////////////////////////// 50 | /// \fn sf::err 51 | /// \ingroup system 52 | /// 53 | /// By default, sf::err() outputs to the same location as std::cerr, 54 | /// (-> the stderr descriptor) which is the console if there's 55 | /// one available. 56 | /// 57 | /// It is a standard std::ostream instance, so it supports all the 58 | /// insertion operations defined by the STL 59 | /// (operator <<, manipulators, etc.). 60 | /// 61 | /// sf::err() can be redirected to write to another output, independently 62 | /// of std::cerr, by using the rdbuf() function provided by the 63 | /// std::ostream class. 64 | /// 65 | /// Example: 66 | /// \code 67 | /// // Redirect to a file 68 | /// std::ofstream file("sfml-log.txt"); 69 | /// std::streambuf* previous = sf::err().rdbuf(file.rdbuf()); 70 | /// 71 | /// // Redirect to nothing 72 | /// sf::err().rdbuf(NULL); 73 | /// 74 | /// // Restore the original output 75 | /// sf::err().rdbuf(previous); 76 | /// \endcode 77 | /// 78 | /// \return Reference to std::ostream representing the SFML error stream 79 | /// 80 | //////////////////////////////////////////////////////////// 81 | -------------------------------------------------------------------------------- /Project_Labirint_Game/sfml/include/SFML/System/Export.hpp: -------------------------------------------------------------------------------- 1 | //////////////////////////////////////////////////////////// 2 | // 3 | // SFML - Simple and Fast Multimedia Library 4 | // Copyright (C) 2007-2018 Laurent Gomila (laurent@sfml-dev.org) 5 | // 6 | // This software is provided 'as-is', without any express or implied warranty. 7 | // In no event will the authors be held liable for any damages arising from the use of this software. 8 | // 9 | // Permission is granted to anyone to use this software for any purpose, 10 | // including commercial applications, and to alter it and redistribute it freely, 11 | // subject to the following restrictions: 12 | // 13 | // 1. The origin of this software must not be misrepresented; 14 | // you must not claim that you wrote the original software. 15 | // If you use this software in a product, an acknowledgment 16 | // in the product documentation would be appreciated but is not required. 17 | // 18 | // 2. Altered source versions must be plainly marked as such, 19 | // and must not be misrepresented as being the original software. 20 | // 21 | // 3. This notice may not be removed or altered from any source distribution. 22 | // 23 | //////////////////////////////////////////////////////////// 24 | 25 | #ifndef SFML_SYSTEM_EXPORT_HPP 26 | #define SFML_SYSTEM_EXPORT_HPP 27 | 28 | //////////////////////////////////////////////////////////// 29 | // Headers 30 | //////////////////////////////////////////////////////////// 31 | #include 32 | 33 | 34 | //////////////////////////////////////////////////////////// 35 | // Define portable import / export macros 36 | //////////////////////////////////////////////////////////// 37 | #if defined(SFML_SYSTEM_EXPORTS) 38 | 39 | #define SFML_SYSTEM_API SFML_API_EXPORT 40 | 41 | #else 42 | 43 | #define SFML_SYSTEM_API SFML_API_IMPORT 44 | 45 | #endif 46 | 47 | 48 | #endif // SFML_SYSTEM_EXPORT_HPP 49 | -------------------------------------------------------------------------------- /Project_Labirint_Game/sfml/include/SFML/System/NativeActivity.hpp: -------------------------------------------------------------------------------- 1 | //////////////////////////////////////////////////////////// 2 | // 3 | // SFML - Simple and Fast Multimedia Library 4 | // Copyright (C) 2007-2018 Laurent Gomila (laurent@sfml-dev.org) 5 | // 6 | // This software is provided 'as-is', without any express or implied warranty. 7 | // In no event will the authors be held liable for any damages arising from the use of this software. 8 | // 9 | // Permission is granted to anyone to use this software for any purpose, 10 | // including commercial applications, and to alter it and redistribute it freely, 11 | // subject to the following restrictions: 12 | // 13 | // 1. The origin of this software must not be misrepresented; 14 | // you must not claim that you wrote the original software. 15 | // If you use this software in a product, an acknowledgment 16 | // in the product documentation would be appreciated but is not required. 17 | // 18 | // 2. Altered source versions must be plainly marked as such, 19 | // and must not be misrepresented as being the original software. 20 | // 21 | // 3. This notice may not be removed or altered from any source distribution. 22 | // 23 | //////////////////////////////////////////////////////////// 24 | 25 | #ifndef SFML_NATIVEACTIVITY_HPP 26 | #define SFML_NATIVEACTIVITY_HPP 27 | 28 | 29 | //////////////////////////////////////////////////////////// 30 | // Headers 31 | //////////////////////////////////////////////////////////// 32 | #include 33 | 34 | 35 | #if !defined(SFML_SYSTEM_ANDROID) 36 | #error NativeActivity.hpp: This header is Android only. 37 | #endif 38 | 39 | 40 | struct ANativeActivity; 41 | 42 | namespace sf 43 | { 44 | //////////////////////////////////////////////////////////// 45 | /// \ingroup system 46 | /// \brief Return a pointer to the Android native activity 47 | /// 48 | /// You shouldn't have to use this function, unless you want 49 | /// to implement very specific details, that SFML doesn't 50 | /// support, or to use a workaround for a known issue. 51 | /// 52 | /// \return Pointer to Android native activity structure 53 | /// 54 | /// \sfplatform{Android,SFML/System/NativeActivity.hpp} 55 | /// 56 | //////////////////////////////////////////////////////////// 57 | SFML_SYSTEM_API ANativeActivity* getNativeActivity(); 58 | 59 | } // namespace sf 60 | 61 | 62 | #endif // SFML_NATIVEACTIVITY_HPP 63 | -------------------------------------------------------------------------------- /Project_Labirint_Game/sfml/include/SFML/System/Sleep.hpp: -------------------------------------------------------------------------------- 1 | //////////////////////////////////////////////////////////// 2 | // 3 | // SFML - Simple and Fast Multimedia Library 4 | // Copyright (C) 2007-2018 Laurent Gomila (laurent@sfml-dev.org) 5 | // 6 | // This software is provided 'as-is', without any express or implied warranty. 7 | // In no event will the authors be held liable for any damages arising from the use of this software. 8 | // 9 | // Permission is granted to anyone to use this software for any purpose, 10 | // including commercial applications, and to alter it and redistribute it freely, 11 | // subject to the following restrictions: 12 | // 13 | // 1. The origin of this software must not be misrepresented; 14 | // you must not claim that you wrote the original software. 15 | // If you use this software in a product, an acknowledgment 16 | // in the product documentation would be appreciated but is not required. 17 | // 18 | // 2. Altered source versions must be plainly marked as such, 19 | // and must not be misrepresented as being the original software. 20 | // 21 | // 3. This notice may not be removed or altered from any source distribution. 22 | // 23 | //////////////////////////////////////////////////////////// 24 | 25 | #ifndef SFML_SLEEP_HPP 26 | #define SFML_SLEEP_HPP 27 | 28 | //////////////////////////////////////////////////////////// 29 | // Headers 30 | //////////////////////////////////////////////////////////// 31 | #include 32 | #include 33 | 34 | 35 | namespace sf 36 | { 37 | //////////////////////////////////////////////////////////// 38 | /// \ingroup system 39 | /// \brief Make the current thread sleep for a given duration 40 | /// 41 | /// sf::sleep is the best way to block a program or one of its 42 | /// threads, as it doesn't consume any CPU power. 43 | /// 44 | /// \param duration Time to sleep 45 | /// 46 | //////////////////////////////////////////////////////////// 47 | void SFML_SYSTEM_API sleep(Time duration); 48 | 49 | } // namespace sf 50 | 51 | 52 | #endif // SFML_SLEEP_HPP 53 | -------------------------------------------------------------------------------- /Project_Labirint_Game/sfml/include/SFML/System/String.inl: -------------------------------------------------------------------------------- 1 | //////////////////////////////////////////////////////////// 2 | // 3 | // SFML - Simple and Fast Multimedia Library 4 | // Copyright (C) 2007-2018 Laurent Gomila (laurent@sfml-dev.org) 5 | // 6 | // This software is provided 'as-is', without any express or implied warranty. 7 | // In no event will the authors be held liable for any damages arising from the use of this software. 8 | // 9 | // Permission is granted to anyone to use this software for any purpose, 10 | // including commercial applications, and to alter it and redistribute it freely, 11 | // subject to the following restrictions: 12 | // 13 | // 1. The origin of this software must not be misrepresented; 14 | // you must not claim that you wrote the original software. 15 | // If you use this software in a product, an acknowledgment 16 | // in the product documentation would be appreciated but is not required. 17 | // 18 | // 2. Altered source versions must be plainly marked as such, 19 | // and must not be misrepresented as being the original software. 20 | // 21 | // 3. This notice may not be removed or altered from any source distribution. 22 | // 23 | //////////////////////////////////////////////////////////// 24 | 25 | 26 | //////////////////////////////////////////////////////////// 27 | template 28 | String String::fromUtf8(T begin, T end) 29 | { 30 | String string; 31 | Utf8::toUtf32(begin, end, std::back_inserter(string.m_string)); 32 | return string; 33 | } 34 | 35 | 36 | //////////////////////////////////////////////////////////// 37 | template 38 | String String::fromUtf16(T begin, T end) 39 | { 40 | String string; 41 | Utf16::toUtf32(begin, end, std::back_inserter(string.m_string)); 42 | return string; 43 | } 44 | 45 | 46 | //////////////////////////////////////////////////////////// 47 | template 48 | String String::fromUtf32(T begin, T end) 49 | { 50 | String string; 51 | string.m_string.assign(begin, end); 52 | return string; 53 | } 54 | -------------------------------------------------------------------------------- /Project_Labirint_Game/sfml/include/SFML/System/Thread.inl: -------------------------------------------------------------------------------- 1 | //////////////////////////////////////////////////////////// 2 | // 3 | // SFML - Simple and Fast Multimedia Library 4 | // Copyright (C) 2007-2018 Laurent Gomila (laurent@sfml-dev.org) 5 | // 6 | // This software is provided 'as-is', without any express or implied warranty. 7 | // In no event will the authors be held liable for any damages arising from the use of this software. 8 | // 9 | // Permission is granted to anyone to use this software for any purpose, 10 | // including commercial applications, and to alter it and redistribute it freely, 11 | // subject to the following restrictions: 12 | // 13 | // 1. The origin of this software must not be misrepresented; 14 | // you must not claim that you wrote the original software. 15 | // If you use this software in a product, an acknowledgment 16 | // in the product documentation would be appreciated but is not required. 17 | // 18 | // 2. Altered source versions must be plainly marked as such, 19 | // and must not be misrepresented as being the original software. 20 | // 21 | // 3. This notice may not be removed or altered from any source distribution. 22 | // 23 | //////////////////////////////////////////////////////////// 24 | 25 | namespace priv 26 | { 27 | // Base class for abstract thread functions 28 | struct ThreadFunc 29 | { 30 | virtual ~ThreadFunc() {} 31 | virtual void run() = 0; 32 | }; 33 | 34 | // Specialization using a functor (including free functions) with no argument 35 | template 36 | struct ThreadFunctor : ThreadFunc 37 | { 38 | ThreadFunctor(T functor) : m_functor(functor) {} 39 | virtual void run() {m_functor();} 40 | T m_functor; 41 | }; 42 | 43 | // Specialization using a functor (including free functions) with one argument 44 | template 45 | struct ThreadFunctorWithArg : ThreadFunc 46 | { 47 | ThreadFunctorWithArg(F function, A arg) : m_function(function), m_arg(arg) {} 48 | virtual void run() {m_function(m_arg);} 49 | F m_function; 50 | A m_arg; 51 | }; 52 | 53 | // Specialization using a member function 54 | template 55 | struct ThreadMemberFunc : ThreadFunc 56 | { 57 | ThreadMemberFunc(void(C::*function)(), C* object) : m_function(function), m_object(object) {} 58 | virtual void run() {(m_object->*m_function)();} 59 | void(C::*m_function)(); 60 | C* m_object; 61 | }; 62 | 63 | } // namespace priv 64 | 65 | 66 | //////////////////////////////////////////////////////////// 67 | template 68 | Thread::Thread(F functor) : 69 | m_impl (NULL), 70 | m_entryPoint(new priv::ThreadFunctor(functor)) 71 | { 72 | } 73 | 74 | 75 | //////////////////////////////////////////////////////////// 76 | template 77 | Thread::Thread(F function, A argument) : 78 | m_impl (NULL), 79 | m_entryPoint(new priv::ThreadFunctorWithArg(function, argument)) 80 | { 81 | } 82 | 83 | 84 | //////////////////////////////////////////////////////////// 85 | template 86 | Thread::Thread(void(C::*function)(), C* object) : 87 | m_impl (NULL), 88 | m_entryPoint(new priv::ThreadMemberFunc(function, object)) 89 | { 90 | } 91 | -------------------------------------------------------------------------------- /Project_Labirint_Game/sfml/include/SFML/System/ThreadLocal.hpp: -------------------------------------------------------------------------------- 1 | //////////////////////////////////////////////////////////// 2 | // 3 | // SFML - Simple and Fast Multimedia Library 4 | // Copyright (C) 2007-2018 Laurent Gomila (laurent@sfml-dev.org) 5 | // 6 | // This software is provided 'as-is', without any express or implied warranty. 7 | // In no event will the authors be held liable for any damages arising from the use of this software. 8 | // 9 | // Permission is granted to anyone to use this software for any purpose, 10 | // including commercial applications, and to alter it and redistribute it freely, 11 | // subject to the following restrictions: 12 | // 13 | // 1. The origin of this software must not be misrepresented; 14 | // you must not claim that you wrote the original software. 15 | // If you use this software in a product, an acknowledgment 16 | // in the product documentation would be appreciated but is not required. 17 | // 18 | // 2. Altered source versions must be plainly marked as such, 19 | // and must not be misrepresented as being the original software. 20 | // 21 | // 3. This notice may not be removed or altered from any source distribution. 22 | // 23 | //////////////////////////////////////////////////////////// 24 | 25 | #ifndef SFML_THREADLOCAL_HPP 26 | #define SFML_THREADLOCAL_HPP 27 | 28 | //////////////////////////////////////////////////////////// 29 | // Headers 30 | //////////////////////////////////////////////////////////// 31 | #include 32 | #include 33 | #include 34 | 35 | 36 | namespace sf 37 | { 38 | namespace priv 39 | { 40 | class ThreadLocalImpl; 41 | } 42 | 43 | //////////////////////////////////////////////////////////// 44 | /// \brief Defines variables with thread-local storage 45 | /// 46 | //////////////////////////////////////////////////////////// 47 | class SFML_SYSTEM_API ThreadLocal : NonCopyable 48 | { 49 | public: 50 | 51 | //////////////////////////////////////////////////////////// 52 | /// \brief Default constructor 53 | /// 54 | /// \param value Optional value to initialize the variable 55 | /// 56 | //////////////////////////////////////////////////////////// 57 | ThreadLocal(void* value = NULL); 58 | 59 | //////////////////////////////////////////////////////////// 60 | /// \brief Destructor 61 | /// 62 | //////////////////////////////////////////////////////////// 63 | ~ThreadLocal(); 64 | 65 | //////////////////////////////////////////////////////////// 66 | /// \brief Set the thread-specific value of the variable 67 | /// 68 | /// \param value Value of the variable for the current thread 69 | /// 70 | //////////////////////////////////////////////////////////// 71 | void setValue(void* value); 72 | 73 | //////////////////////////////////////////////////////////// 74 | /// \brief Retrieve the thread-specific value of the variable 75 | /// 76 | /// \return Value of the variable for the current thread 77 | /// 78 | //////////////////////////////////////////////////////////// 79 | void* getValue() const; 80 | 81 | private: 82 | 83 | //////////////////////////////////////////////////////////// 84 | // Member data 85 | //////////////////////////////////////////////////////////// 86 | priv::ThreadLocalImpl* m_impl; ///< Pointer to the OS specific implementation 87 | }; 88 | 89 | } // namespace sf 90 | 91 | 92 | #endif // SFML_THREADLOCAL_HPP 93 | 94 | 95 | //////////////////////////////////////////////////////////// 96 | /// \class sf::ThreadLocal 97 | /// \ingroup system 98 | /// 99 | /// This class manipulates void* parameters and thus is not 100 | /// appropriate for strongly-typed variables. You should rather 101 | /// use the sf::ThreadLocalPtr template class. 102 | /// 103 | //////////////////////////////////////////////////////////// 104 | -------------------------------------------------------------------------------- /Project_Labirint_Game/sfml/include/SFML/System/ThreadLocalPtr.inl: -------------------------------------------------------------------------------- 1 | //////////////////////////////////////////////////////////// 2 | // 3 | // SFML - Simple and Fast Multimedia Library 4 | // Copyright (C) 2007-2018 Laurent Gomila (laurent@sfml-dev.org) 5 | // 6 | // This software is provided 'as-is', without any express or implied warranty. 7 | // In no event will the authors be held liable for any damages arising from the use of this software. 8 | // 9 | // Permission is granted to anyone to use this software for any purpose, 10 | // including commercial applications, and to alter it and redistribute it freely, 11 | // subject to the following restrictions: 12 | // 13 | // 1. The origin of this software must not be misrepresented; 14 | // you must not claim that you wrote the original software. 15 | // If you use this software in a product, an acknowledgment 16 | // in the product documentation would be appreciated but is not required. 17 | // 18 | // 2. Altered source versions must be plainly marked as such, 19 | // and must not be misrepresented as being the original software. 20 | // 21 | // 3. This notice may not be removed or altered from any source distribution. 22 | // 23 | //////////////////////////////////////////////////////////// 24 | 25 | 26 | namespace sf 27 | { 28 | //////////////////////////////////////////////////////////// 29 | template 30 | ThreadLocalPtr::ThreadLocalPtr(T* value) : 31 | ThreadLocal(value) 32 | { 33 | } 34 | 35 | 36 | //////////////////////////////////////////////////////////// 37 | template 38 | T& ThreadLocalPtr::operator *() const 39 | { 40 | return *static_cast(getValue()); 41 | } 42 | 43 | 44 | //////////////////////////////////////////////////////////// 45 | template 46 | T* ThreadLocalPtr::operator ->() const 47 | { 48 | return static_cast(getValue()); 49 | } 50 | 51 | 52 | //////////////////////////////////////////////////////////// 53 | template 54 | ThreadLocalPtr::operator T*() const 55 | { 56 | return static_cast(getValue()); 57 | } 58 | 59 | 60 | //////////////////////////////////////////////////////////// 61 | template 62 | ThreadLocalPtr& ThreadLocalPtr::operator =(T* value) 63 | { 64 | setValue(value); 65 | return *this; 66 | } 67 | 68 | 69 | //////////////////////////////////////////////////////////// 70 | template 71 | ThreadLocalPtr& ThreadLocalPtr::operator =(const ThreadLocalPtr& right) 72 | { 73 | setValue(right.getValue()); 74 | return *this; 75 | } 76 | 77 | } // namespace sf 78 | -------------------------------------------------------------------------------- /Project_Labirint_Game/sfml/include/SFML/Window.hpp: -------------------------------------------------------------------------------- 1 | //////////////////////////////////////////////////////////// 2 | // 3 | // SFML - Simple and Fast Multimedia Library 4 | // Copyright (C) 2007-2018 Laurent Gomila (laurent@sfml-dev.org) 5 | // 6 | // This software is provided 'as-is', without any express or implied warranty. 7 | // In no event will the authors be held liable for any damages arising from the use of this software. 8 | // 9 | // Permission is granted to anyone to use this software for any purpose, 10 | // including commercial applications, and to alter it and redistribute it freely, 11 | // subject to the following restrictions: 12 | // 13 | // 1. The origin of this software must not be misrepresented; 14 | // you must not claim that you wrote the original software. 15 | // If you use this software in a product, an acknowledgment 16 | // in the product documentation would be appreciated but is not required. 17 | // 18 | // 2. Altered source versions must be plainly marked as such, 19 | // and must not be misrepresented as being the original software. 20 | // 21 | // 3. This notice may not be removed or altered from any source distribution. 22 | // 23 | //////////////////////////////////////////////////////////// 24 | 25 | #ifndef SFML_SFML_WINDOW_HPP 26 | #define SFML_SFML_WINDOW_HPP 27 | 28 | //////////////////////////////////////////////////////////// 29 | // Headers 30 | //////////////////////////////////////////////////////////// 31 | 32 | #include 33 | #include 34 | #include 35 | #include 36 | #include 37 | #include 38 | #include 39 | #include 40 | #include 41 | #include 42 | #include 43 | #include 44 | #include 45 | #include 46 | #include 47 | 48 | 49 | 50 | #endif // SFML_SFML_WINDOW_HPP 51 | 52 | //////////////////////////////////////////////////////////// 53 | /// \defgroup window Window module 54 | /// 55 | /// Provides OpenGL-based windows, and abstractions for 56 | /// events and input handling. 57 | /// 58 | //////////////////////////////////////////////////////////// 59 | -------------------------------------------------------------------------------- /Project_Labirint_Game/sfml/include/SFML/Window/Export.hpp: -------------------------------------------------------------------------------- 1 | //////////////////////////////////////////////////////////// 2 | // 3 | // SFML - Simple and Fast Multimedia Library 4 | // Copyright (C) 2007-2018 Laurent Gomila (laurent@sfml-dev.org) 5 | // 6 | // This software is provided 'as-is', without any express or implied warranty. 7 | // In no event will the authors be held liable for any damages arising from the use of this software. 8 | // 9 | // Permission is granted to anyone to use this software for any purpose, 10 | // including commercial applications, and to alter it and redistribute it freely, 11 | // subject to the following restrictions: 12 | // 13 | // 1. The origin of this software must not be misrepresented; 14 | // you must not claim that you wrote the original software. 15 | // If you use this software in a product, an acknowledgment 16 | // in the product documentation would be appreciated but is not required. 17 | // 18 | // 2. Altered source versions must be plainly marked as such, 19 | // and must not be misrepresented as being the original software. 20 | // 21 | // 3. This notice may not be removed or altered from any source distribution. 22 | // 23 | //////////////////////////////////////////////////////////// 24 | 25 | #ifndef SFML_WINDOW_EXPORT_HPP 26 | #define SFML_WINDOW_EXPORT_HPP 27 | 28 | //////////////////////////////////////////////////////////// 29 | // Headers 30 | //////////////////////////////////////////////////////////// 31 | #include 32 | 33 | 34 | //////////////////////////////////////////////////////////// 35 | // Define portable import / export macros 36 | //////////////////////////////////////////////////////////// 37 | #if defined(SFML_WINDOW_EXPORTS) 38 | 39 | #define SFML_WINDOW_API SFML_API_EXPORT 40 | 41 | #else 42 | 43 | #define SFML_WINDOW_API SFML_API_IMPORT 44 | 45 | #endif 46 | 47 | 48 | #endif // SFML_WINDOW_EXPORT_HPP 49 | -------------------------------------------------------------------------------- /Project_Labirint_Game/sfml/include/SFML/Window/GlResource.hpp: -------------------------------------------------------------------------------- 1 | //////////////////////////////////////////////////////////// 2 | // 3 | // SFML - Simple and Fast Multimedia Library 4 | // Copyright (C) 2007-2018 Laurent Gomila (laurent@sfml-dev.org) 5 | // 6 | // This software is provided 'as-is', without any express or implied warranty. 7 | // In no event will the authors be held liable for any damages arising from the use of this software. 8 | // 9 | // Permission is granted to anyone to use this software for any purpose, 10 | // including commercial applications, and to alter it and redistribute it freely, 11 | // subject to the following restrictions: 12 | // 13 | // 1. The origin of this software must not be misrepresented; 14 | // you must not claim that you wrote the original software. 15 | // If you use this software in a product, an acknowledgment 16 | // in the product documentation would be appreciated but is not required. 17 | // 18 | // 2. Altered source versions must be plainly marked as such, 19 | // and must not be misrepresented as being the original software. 20 | // 21 | // 3. This notice may not be removed or altered from any source distribution. 22 | // 23 | //////////////////////////////////////////////////////////// 24 | 25 | #ifndef SFML_GLRESOURCE_HPP 26 | #define SFML_GLRESOURCE_HPP 27 | 28 | //////////////////////////////////////////////////////////// 29 | // Headers 30 | //////////////////////////////////////////////////////////// 31 | #include 32 | #include 33 | 34 | 35 | namespace sf 36 | { 37 | 38 | class Context; 39 | 40 | typedef void(*ContextDestroyCallback)(void*); 41 | 42 | //////////////////////////////////////////////////////////// 43 | /// \brief Base class for classes that require an OpenGL context 44 | /// 45 | //////////////////////////////////////////////////////////// 46 | class SFML_WINDOW_API GlResource 47 | { 48 | protected: 49 | 50 | //////////////////////////////////////////////////////////// 51 | /// \brief Default constructor 52 | /// 53 | //////////////////////////////////////////////////////////// 54 | GlResource(); 55 | 56 | //////////////////////////////////////////////////////////// 57 | /// \brief Destructor 58 | /// 59 | //////////////////////////////////////////////////////////// 60 | ~GlResource(); 61 | 62 | //////////////////////////////////////////////////////////// 63 | /// \brief Register a function to be called when a context is destroyed 64 | /// 65 | /// This is used for internal purposes in order to properly 66 | /// clean up OpenGL resources that cannot be shared between 67 | /// contexts. 68 | /// 69 | /// \param callback Function to be called when a context is destroyed 70 | /// \param arg Argument to pass when calling the function 71 | /// 72 | //////////////////////////////////////////////////////////// 73 | static void registerContextDestroyCallback(ContextDestroyCallback callback, void* arg); 74 | 75 | //////////////////////////////////////////////////////////// 76 | /// \brief RAII helper class to temporarily lock an available context for use 77 | /// 78 | //////////////////////////////////////////////////////////// 79 | class SFML_WINDOW_API TransientContextLock : NonCopyable 80 | { 81 | public: 82 | //////////////////////////////////////////////////////////// 83 | /// \brief Default constructor 84 | /// 85 | //////////////////////////////////////////////////////////// 86 | TransientContextLock(); 87 | 88 | //////////////////////////////////////////////////////////// 89 | /// \brief Destructor 90 | /// 91 | //////////////////////////////////////////////////////////// 92 | ~TransientContextLock(); 93 | }; 94 | }; 95 | 96 | } // namespace sf 97 | 98 | 99 | #endif // SFML_GLRESOURCE_HPP 100 | 101 | //////////////////////////////////////////////////////////// 102 | /// \class sf::GlResource 103 | /// \ingroup window 104 | /// 105 | /// This class is for internal use only, it must be the base 106 | /// of every class that requires a valid OpenGL context in 107 | /// order to work. 108 | /// 109 | //////////////////////////////////////////////////////////// 110 | -------------------------------------------------------------------------------- /Project_Labirint_Game/sfml/include/SFML/Window/WindowHandle.hpp: -------------------------------------------------------------------------------- 1 | //////////////////////////////////////////////////////////// 2 | // 3 | // SFML - Simple and Fast Multimedia Library 4 | // Copyright (C) 2007-2018 Laurent Gomila (laurent@sfml-dev.org) 5 | // 6 | // This software is provided 'as-is', without any express or implied warranty. 7 | // In no event will the authors be held liable for any damages arising from the use of this software. 8 | // 9 | // Permission is granted to anyone to use this software for any purpose, 10 | // including commercial applications, and to alter it and redistribute it freely, 11 | // subject to the following restrictions: 12 | // 13 | // 1. The origin of this software must not be misrepresented; 14 | // you must not claim that you wrote the original software. 15 | // If you use this software in a product, an acknowledgment 16 | // in the product documentation would be appreciated but is not required. 17 | // 18 | // 2. Altered source versions must be plainly marked as such, 19 | // and must not be misrepresented as being the original software. 20 | // 21 | // 3. This notice may not be removed or altered from any source distribution. 22 | // 23 | //////////////////////////////////////////////////////////// 24 | 25 | #ifndef SFML_WINDOWHANDLE_HPP 26 | #define SFML_WINDOWHANDLE_HPP 27 | 28 | //////////////////////////////////////////////////////////// 29 | // Headers 30 | //////////////////////////////////////////////////////////// 31 | #include 32 | 33 | // Windows' HWND is a typedef on struct HWND__* 34 | #if defined(SFML_SYSTEM_WINDOWS) 35 | struct HWND__; 36 | #endif 37 | 38 | namespace sf 39 | { 40 | #if defined(SFML_SYSTEM_WINDOWS) 41 | 42 | // Window handle is HWND (HWND__*) on Windows 43 | typedef HWND__* WindowHandle; 44 | 45 | #elif defined(SFML_SYSTEM_LINUX) || defined(SFML_SYSTEM_FREEBSD) || defined(SFML_SYSTEM_OPENBSD) 46 | 47 | // Window handle is Window (unsigned long) on Unix - X11 48 | typedef unsigned long WindowHandle; 49 | 50 | #elif defined(SFML_SYSTEM_MACOS) 51 | 52 | // Window handle is NSWindow or NSView (void*) on Mac OS X - Cocoa 53 | typedef void* WindowHandle; 54 | 55 | #elif defined(SFML_SYSTEM_IOS) 56 | 57 | // Window handle is UIWindow (void*) on iOS - UIKit 58 | typedef void* WindowHandle; 59 | 60 | #elif defined(SFML_SYSTEM_ANDROID) 61 | 62 | // Window handle is ANativeWindow* (void*) on Android 63 | typedef void* WindowHandle; 64 | 65 | #elif defined(SFML_DOXYGEN) 66 | 67 | // Define typedef symbol so that Doxygen can attach some documentation to it 68 | typedef "platform-specific" WindowHandle; 69 | 70 | #endif 71 | 72 | } // namespace sf 73 | 74 | 75 | #endif // SFML_WINDOWHANDLE_HPP 76 | 77 | //////////////////////////////////////////////////////////// 78 | /// \typedef sf::WindowHandle 79 | /// \ingroup window 80 | /// 81 | /// Define a low-level window handle type, specific to 82 | /// each platform. 83 | /// 84 | /// Platform | Type 85 | /// ----------------|------------------------------------------------------------ 86 | /// Windows | \p HWND 87 | /// Linux/FreeBSD | \p %Window 88 | /// Mac OS X | either \p NSWindow* or \p NSView*, disguised as \p void* 89 | /// iOS | \p UIWindow* 90 | /// Android | \p ANativeWindow* 91 | /// 92 | /// \par Mac OS X Specification 93 | /// 94 | /// On Mac OS X, a sf::Window can be created either from an 95 | /// existing \p NSWindow* or an \p NSView*. When the window 96 | /// is created from a window, SFML will use its content view 97 | /// as the OpenGL area. sf::Window::getSystemHandle() will 98 | /// return the handle that was used to create the window, 99 | /// which is a \p NSWindow* by default. 100 | /// 101 | //////////////////////////////////////////////////////////// 102 | -------------------------------------------------------------------------------- /Project_Labirint_Game/sfml/include/SFML/Window/WindowStyle.hpp: -------------------------------------------------------------------------------- 1 | //////////////////////////////////////////////////////////// 2 | // 3 | // SFML - Simple and Fast Multimedia Library 4 | // Copyright (C) 2007-2018 Laurent Gomila (laurent@sfml-dev.org) 5 | // 6 | // This software is provided 'as-is', without any express or implied warranty. 7 | // In no event will the authors be held liable for any damages arising from the use of this software. 8 | // 9 | // Permission is granted to anyone to use this software for any purpose, 10 | // including commercial applications, and to alter it and redistribute it freely, 11 | // subject to the following restrictions: 12 | // 13 | // 1. The origin of this software must not be misrepresented; 14 | // you must not claim that you wrote the original software. 15 | // If you use this software in a product, an acknowledgment 16 | // in the product documentation would be appreciated but is not required. 17 | // 18 | // 2. Altered source versions must be plainly marked as such, 19 | // and must not be misrepresented as being the original software. 20 | // 21 | // 3. This notice may not be removed or altered from any source distribution. 22 | // 23 | //////////////////////////////////////////////////////////// 24 | 25 | #ifndef SFML_WINDOWSTYLE_HPP 26 | #define SFML_WINDOWSTYLE_HPP 27 | 28 | 29 | namespace sf 30 | { 31 | namespace Style 32 | { 33 | //////////////////////////////////////////////////////////// 34 | /// \ingroup window 35 | /// \brief Enumeration of the window styles 36 | /// 37 | //////////////////////////////////////////////////////////// 38 | enum 39 | { 40 | None = 0, ///< No border / title bar (this flag and all others are mutually exclusive) 41 | Titlebar = 1 << 0, ///< Title bar + fixed border 42 | Resize = 1 << 1, ///< Title bar + resizable border + maximize button 43 | Close = 1 << 2, ///< Title bar + close button 44 | Fullscreen = 1 << 3, ///< Fullscreen mode (this flag and all others are mutually exclusive) 45 | 46 | Default = Titlebar | Resize | Close ///< Default window style 47 | }; 48 | } 49 | 50 | } // namespace sf 51 | 52 | 53 | #endif // SFML_WINDOWSTYLE_HPP 54 | -------------------------------------------------------------------------------- /Project_Labirint_Game/sfml/lib/cmake/SFML/SFMLConfigDependencies.cmake: -------------------------------------------------------------------------------- 1 | 2 | if (CMAKE_VERSION VERSION_LESS 3.5.2) 3 | include(CMakeParseArguments) 4 | endif() 5 | 6 | # in case of static linking, we must also define the list of all the dependencies of SFML libraries 7 | if(SFML_STATIC_LIBRARIES) 8 | # detect the OS 9 | if(${CMAKE_SYSTEM_NAME} MATCHES "Windows") 10 | set(FIND_SFML_OS_WINDOWS 1) 11 | elseif(${CMAKE_SYSTEM_NAME} MATCHES "Linux") 12 | set(FIND_SFML_OS_LINUX 1) 13 | elseif(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD") 14 | set(FIND_SFML_OS_FREEBSD 1) 15 | elseif(${CMAKE_SYSTEM_NAME} MATCHES "Darwin") 16 | if (DEFINED IOS) 17 | set(FIND_SFML_OS_IOS 1) 18 | else() 19 | set(FIND_SFML_OS_MACOSX 1) 20 | endif() 21 | endif() 22 | 23 | # start with an empty list 24 | set(FIND_SFML_DEPENDENCIES_NOTFOUND) 25 | 26 | # macro that searches for a 3rd-party library 27 | function(sfml_bind_dependency) 28 | cmake_parse_arguments(THIS "" "TARGET;FRIENDLY_NAME" "SEARCH_NAMES" ${ARGN}) 29 | if (THIS_UNPARSED_ARGUMENTS) 30 | message(FATAL_ERROR "Unknown arguments when calling sfml_bind_dependency: ${THIS_UNPARSED_ARGUMENTS}") 31 | endif() 32 | 33 | # No lookup in environment variables (PATH on Windows), as they may contain wrong library versions 34 | find_library(${THIS_FRIENDLY_NAME}_LIB NAMES ${THIS_SEARCH_NAMES} 35 | PATHS ${FIND_SFML_PATHS} PATH_SUFFIXES lib NO_SYSTEM_ENVIRONMENT_PATH) 36 | mark_as_advanced(${THIS_FRIENDLY_NAME}_LIB) 37 | if(${THIS_FRIENDLY_NAME}_LIB) 38 | set_property(TARGET ${THIS_TARGET} APPEND PROPERTY INTERFACE_LINK_LIBRARIES "${${THIS_FRIENDLY_NAME}_LIB}") 39 | else() 40 | set(FIND_SFML_DEPENDENCIES_NOTFOUND "${FIND_SFML_DEPENDENCIES_NOTFOUND} ${THIS_FRIENDLY_NAME}" PARENT_SCOPE) 41 | endif() 42 | endfunction() 43 | 44 | # sfml-window 45 | list(FIND SFML_FIND_COMPONENTS "window" FIND_SFML_WINDOW_COMPONENT_INDEX) 46 | if(FIND_SFML_WINDOW_COMPONENT_INDEX GREATER -1) 47 | if(FIND_SFML_OS_LINUX OR FIND_SFML_OS_FREEBSD) 48 | sfml_bind_dependency(TARGET X11 FRIENDLY_NAME "X11" SEARCH_NAMES "X11") 49 | sfml_bind_dependency(TARGET X11 FRIENDLY_NAME "Xrandr" SEARCH_NAMES "Xrandr") 50 | endif() 51 | 52 | if(FIND_SFML_OS_LINUX) 53 | sfml_bind_dependency(TARGET UDev FRIENDLY_NAME "UDev" SEARCH_NAMES "udev" "libudev") 54 | endif() 55 | 56 | if (FIND_SFML_OS_WINDOWS) 57 | set_property(TARGET OpenGL APPEND PROPERTY INTERFACE_LINK_LIBRARIES "OpenGL32") 58 | elseif(NOT FIND_SFML_OS_IOS) 59 | sfml_bind_dependency(TARGET OpenGL FRIENDLY_NAME "OpenGL" SEARCH_NAMES "OpenGL" "GL") 60 | endif() 61 | endif() 62 | 63 | # sfml-graphics 64 | list(FIND SFML_FIND_COMPONENTS "graphics" FIND_SFML_GRAPHICS_COMPONENT_INDEX) 65 | if(FIND_SFML_GRAPHICS_COMPONENT_INDEX GREATER -1) 66 | sfml_bind_dependency(TARGET Freetype FRIENDLY_NAME "FreeType" SEARCH_NAMES "freetype") 67 | endif() 68 | 69 | # sfml-audio 70 | list(FIND SFML_FIND_COMPONENTS "audio" FIND_SFML_AUDIO_COMPONENT_INDEX) 71 | if(FIND_SFML_AUDIO_COMPONENT_INDEX GREATER -1) 72 | sfml_bind_dependency(TARGET OpenAL FRIENDLY_NAME "OpenAL" SEARCH_NAMES "OpenAL" "openal" "openal32") 73 | if (NOT FIND_SFML_OS_IOS) 74 | sfml_bind_dependency(TARGET Vorbis FRIENDLY_NAME "VorbisFile" SEARCH_NAMES "vorbisfile") 75 | sfml_bind_dependency(TARGET Vorbis FRIENDLY_NAME "VorbisEnc" SEARCH_NAMES "vorbisenc") 76 | endif() 77 | sfml_bind_dependency(TARGET Vorbis FRIENDLY_NAME "Vorbis" SEARCH_NAMES "vorbis") 78 | sfml_bind_dependency(TARGET Vorbis FRIENDLY_NAME "Ogg" SEARCH_NAMES "ogg") 79 | sfml_bind_dependency(TARGET FLAC FRIENDLY_NAME "FLAC" SEARCH_NAMES "FLAC") 80 | endif() 81 | 82 | if (FIND_SFML_DEPENDENCIES_NOTFOUND) 83 | set(FIND_SFML_ERROR "SFML found but some of its dependencies are missing (${FIND_SFML_DEPENDENCIES_NOTFOUND})") 84 | set(SFML_FOUND FALSE) 85 | endif() 86 | endif() 87 | -------------------------------------------------------------------------------- /Project_Labirint_Game/sfml/lib/cmake/SFML/SFMLConfigVersion.cmake: -------------------------------------------------------------------------------- 1 | # This is a basic version file for the Config-mode of find_package(). 2 | # It is used by write_basic_package_version_file() as input file for configure_file() 3 | # to create a version-file which can be installed along a config.cmake file. 4 | # 5 | # The created file sets PACKAGE_VERSION_EXACT if the current version string and 6 | # the requested version string are exactly the same and it sets 7 | # PACKAGE_VERSION_COMPATIBLE if the current version is >= requested version, 8 | # but only if the requested major version is the same as the current one. 9 | # The variable CVF_VERSION must be set before calling configure_file(). 10 | 11 | 12 | set(PACKAGE_VERSION "2.5.1") 13 | 14 | if(PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION) 15 | set(PACKAGE_VERSION_COMPATIBLE FALSE) 16 | else() 17 | 18 | if("2.5.1" MATCHES "^([0-9]+)\\.") 19 | set(CVF_VERSION_MAJOR "${CMAKE_MATCH_1}") 20 | else() 21 | set(CVF_VERSION_MAJOR "2.5.1") 22 | endif() 23 | 24 | if(PACKAGE_FIND_VERSION_MAJOR STREQUAL CVF_VERSION_MAJOR) 25 | set(PACKAGE_VERSION_COMPATIBLE TRUE) 26 | else() 27 | set(PACKAGE_VERSION_COMPATIBLE FALSE) 28 | endif() 29 | 30 | if(PACKAGE_FIND_VERSION STREQUAL PACKAGE_VERSION) 31 | set(PACKAGE_VERSION_EXACT TRUE) 32 | endif() 33 | endif() 34 | 35 | 36 | # if the installed or the using project don't have CMAKE_SIZEOF_VOID_P set, ignore it: 37 | if("${CMAKE_SIZEOF_VOID_P}" STREQUAL "" OR "4" STREQUAL "") 38 | return() 39 | endif() 40 | 41 | # check that the installed version has the same 32/64bit-ness as the one which is currently searching: 42 | if(NOT CMAKE_SIZEOF_VOID_P STREQUAL "4") 43 | math(EXPR installedBits "4 * 8") 44 | set(PACKAGE_VERSION "${PACKAGE_VERSION} (${installedBits}bit)") 45 | set(PACKAGE_VERSION_UNSUITABLE TRUE) 46 | endif() 47 | -------------------------------------------------------------------------------- /Project_Labirint_Game/sfml/lib/cmake/SFML/SFMLSharedTargets-debug.cmake: -------------------------------------------------------------------------------- 1 | #---------------------------------------------------------------- 2 | # Generated CMake target import file for configuration "Debug". 3 | #---------------------------------------------------------------- 4 | 5 | # Commands may need to know the format version. 6 | set(CMAKE_IMPORT_FILE_VERSION 1) 7 | 8 | # Import target "sfml-system" for configuration "Debug" 9 | set_property(TARGET sfml-system APPEND PROPERTY IMPORTED_CONFIGURATIONS DEBUG) 10 | set_target_properties(sfml-system PROPERTIES 11 | IMPORTED_IMPLIB_DEBUG "${_IMPORT_PREFIX}/lib/sfml-system-d.lib" 12 | IMPORTED_LOCATION_DEBUG "${_IMPORT_PREFIX}/bin/sfml-system-d-2.dll" 13 | ) 14 | 15 | list(APPEND _IMPORT_CHECK_TARGETS sfml-system ) 16 | list(APPEND _IMPORT_CHECK_FILES_FOR_sfml-system "${_IMPORT_PREFIX}/lib/sfml-system-d.lib" "${_IMPORT_PREFIX}/bin/sfml-system-d-2.dll" ) 17 | 18 | # Import target "sfml-main" for configuration "Debug" 19 | set_property(TARGET sfml-main APPEND PROPERTY IMPORTED_CONFIGURATIONS DEBUG) 20 | set_target_properties(sfml-main PROPERTIES 21 | IMPORTED_LINK_INTERFACE_LANGUAGES_DEBUG "CXX" 22 | IMPORTED_LOCATION_DEBUG "${_IMPORT_PREFIX}/lib/sfml-main-d.lib" 23 | ) 24 | 25 | list(APPEND _IMPORT_CHECK_TARGETS sfml-main ) 26 | list(APPEND _IMPORT_CHECK_FILES_FOR_sfml-main "${_IMPORT_PREFIX}/lib/sfml-main-d.lib" ) 27 | 28 | # Import target "sfml-window" for configuration "Debug" 29 | set_property(TARGET sfml-window APPEND PROPERTY IMPORTED_CONFIGURATIONS DEBUG) 30 | set_target_properties(sfml-window PROPERTIES 31 | IMPORTED_IMPLIB_DEBUG "${_IMPORT_PREFIX}/lib/sfml-window-d.lib" 32 | IMPORTED_LOCATION_DEBUG "${_IMPORT_PREFIX}/bin/sfml-window-d-2.dll" 33 | ) 34 | 35 | list(APPEND _IMPORT_CHECK_TARGETS sfml-window ) 36 | list(APPEND _IMPORT_CHECK_FILES_FOR_sfml-window "${_IMPORT_PREFIX}/lib/sfml-window-d.lib" "${_IMPORT_PREFIX}/bin/sfml-window-d-2.dll" ) 37 | 38 | # Import target "sfml-network" for configuration "Debug" 39 | set_property(TARGET sfml-network APPEND PROPERTY IMPORTED_CONFIGURATIONS DEBUG) 40 | set_target_properties(sfml-network PROPERTIES 41 | IMPORTED_IMPLIB_DEBUG "${_IMPORT_PREFIX}/lib/sfml-network-d.lib" 42 | IMPORTED_LOCATION_DEBUG "${_IMPORT_PREFIX}/bin/sfml-network-d-2.dll" 43 | ) 44 | 45 | list(APPEND _IMPORT_CHECK_TARGETS sfml-network ) 46 | list(APPEND _IMPORT_CHECK_FILES_FOR_sfml-network "${_IMPORT_PREFIX}/lib/sfml-network-d.lib" "${_IMPORT_PREFIX}/bin/sfml-network-d-2.dll" ) 47 | 48 | # Import target "sfml-graphics" for configuration "Debug" 49 | set_property(TARGET sfml-graphics APPEND PROPERTY IMPORTED_CONFIGURATIONS DEBUG) 50 | set_target_properties(sfml-graphics PROPERTIES 51 | IMPORTED_IMPLIB_DEBUG "${_IMPORT_PREFIX}/lib/sfml-graphics-d.lib" 52 | IMPORTED_LOCATION_DEBUG "${_IMPORT_PREFIX}/bin/sfml-graphics-d-2.dll" 53 | ) 54 | 55 | list(APPEND _IMPORT_CHECK_TARGETS sfml-graphics ) 56 | list(APPEND _IMPORT_CHECK_FILES_FOR_sfml-graphics "${_IMPORT_PREFIX}/lib/sfml-graphics-d.lib" "${_IMPORT_PREFIX}/bin/sfml-graphics-d-2.dll" ) 57 | 58 | # Import target "sfml-audio" for configuration "Debug" 59 | set_property(TARGET sfml-audio APPEND PROPERTY IMPORTED_CONFIGURATIONS DEBUG) 60 | set_target_properties(sfml-audio PROPERTIES 61 | IMPORTED_IMPLIB_DEBUG "${_IMPORT_PREFIX}/lib/sfml-audio-d.lib" 62 | IMPORTED_LOCATION_DEBUG "${_IMPORT_PREFIX}/bin/sfml-audio-d-2.dll" 63 | ) 64 | 65 | list(APPEND _IMPORT_CHECK_TARGETS sfml-audio ) 66 | list(APPEND _IMPORT_CHECK_FILES_FOR_sfml-audio "${_IMPORT_PREFIX}/lib/sfml-audio-d.lib" "${_IMPORT_PREFIX}/bin/sfml-audio-d-2.dll" ) 67 | 68 | # Commands beyond this point should not need to know the version. 69 | set(CMAKE_IMPORT_FILE_VERSION) 70 | -------------------------------------------------------------------------------- /Project_Labirint_Game/sfml/lib/cmake/SFML/SFMLSharedTargets-release.cmake: -------------------------------------------------------------------------------- 1 | #---------------------------------------------------------------- 2 | # Generated CMake target import file for configuration "Release". 3 | #---------------------------------------------------------------- 4 | 5 | # Commands may need to know the format version. 6 | set(CMAKE_IMPORT_FILE_VERSION 1) 7 | 8 | # Import target "sfml-system" for configuration "Release" 9 | set_property(TARGET sfml-system APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE) 10 | set_target_properties(sfml-system PROPERTIES 11 | IMPORTED_IMPLIB_RELEASE "${_IMPORT_PREFIX}/lib/sfml-system.lib" 12 | IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/bin/sfml-system-2.dll" 13 | ) 14 | 15 | list(APPEND _IMPORT_CHECK_TARGETS sfml-system ) 16 | list(APPEND _IMPORT_CHECK_FILES_FOR_sfml-system "${_IMPORT_PREFIX}/lib/sfml-system.lib" "${_IMPORT_PREFIX}/bin/sfml-system-2.dll" ) 17 | 18 | # Import target "sfml-main" for configuration "Release" 19 | set_property(TARGET sfml-main APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE) 20 | set_target_properties(sfml-main PROPERTIES 21 | IMPORTED_LINK_INTERFACE_LANGUAGES_RELEASE "CXX" 22 | IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/lib/sfml-main.lib" 23 | ) 24 | 25 | list(APPEND _IMPORT_CHECK_TARGETS sfml-main ) 26 | list(APPEND _IMPORT_CHECK_FILES_FOR_sfml-main "${_IMPORT_PREFIX}/lib/sfml-main.lib" ) 27 | 28 | # Import target "sfml-window" for configuration "Release" 29 | set_property(TARGET sfml-window APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE) 30 | set_target_properties(sfml-window PROPERTIES 31 | IMPORTED_IMPLIB_RELEASE "${_IMPORT_PREFIX}/lib/sfml-window.lib" 32 | IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/bin/sfml-window-2.dll" 33 | ) 34 | 35 | list(APPEND _IMPORT_CHECK_TARGETS sfml-window ) 36 | list(APPEND _IMPORT_CHECK_FILES_FOR_sfml-window "${_IMPORT_PREFIX}/lib/sfml-window.lib" "${_IMPORT_PREFIX}/bin/sfml-window-2.dll" ) 37 | 38 | # Import target "sfml-network" for configuration "Release" 39 | set_property(TARGET sfml-network APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE) 40 | set_target_properties(sfml-network PROPERTIES 41 | IMPORTED_IMPLIB_RELEASE "${_IMPORT_PREFIX}/lib/sfml-network.lib" 42 | IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/bin/sfml-network-2.dll" 43 | ) 44 | 45 | list(APPEND _IMPORT_CHECK_TARGETS sfml-network ) 46 | list(APPEND _IMPORT_CHECK_FILES_FOR_sfml-network "${_IMPORT_PREFIX}/lib/sfml-network.lib" "${_IMPORT_PREFIX}/bin/sfml-network-2.dll" ) 47 | 48 | # Import target "sfml-graphics" for configuration "Release" 49 | set_property(TARGET sfml-graphics APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE) 50 | set_target_properties(sfml-graphics PROPERTIES 51 | IMPORTED_IMPLIB_RELEASE "${_IMPORT_PREFIX}/lib/sfml-graphics.lib" 52 | IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/bin/sfml-graphics-2.dll" 53 | ) 54 | 55 | list(APPEND _IMPORT_CHECK_TARGETS sfml-graphics ) 56 | list(APPEND _IMPORT_CHECK_FILES_FOR_sfml-graphics "${_IMPORT_PREFIX}/lib/sfml-graphics.lib" "${_IMPORT_PREFIX}/bin/sfml-graphics-2.dll" ) 57 | 58 | # Import target "sfml-audio" for configuration "Release" 59 | set_property(TARGET sfml-audio APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE) 60 | set_target_properties(sfml-audio PROPERTIES 61 | IMPORTED_IMPLIB_RELEASE "${_IMPORT_PREFIX}/lib/sfml-audio.lib" 62 | IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/bin/sfml-audio-2.dll" 63 | ) 64 | 65 | list(APPEND _IMPORT_CHECK_TARGETS sfml-audio ) 66 | list(APPEND _IMPORT_CHECK_FILES_FOR_sfml-audio "${_IMPORT_PREFIX}/lib/sfml-audio.lib" "${_IMPORT_PREFIX}/bin/sfml-audio-2.dll" ) 67 | 68 | # Commands beyond this point should not need to know the version. 69 | set(CMAKE_IMPORT_FILE_VERSION) 70 | -------------------------------------------------------------------------------- /Project_Labirint_Game/sfml/lib/cmake/SFML/SFMLStaticTargets-debug.cmake: -------------------------------------------------------------------------------- 1 | #---------------------------------------------------------------- 2 | # Generated CMake target import file for configuration "Debug". 3 | #---------------------------------------------------------------- 4 | 5 | # Commands may need to know the format version. 6 | set(CMAKE_IMPORT_FILE_VERSION 1) 7 | 8 | # Import target "sfml-system" for configuration "Debug" 9 | set_property(TARGET sfml-system APPEND PROPERTY IMPORTED_CONFIGURATIONS DEBUG) 10 | set_target_properties(sfml-system PROPERTIES 11 | IMPORTED_LINK_INTERFACE_LANGUAGES_DEBUG "CXX" 12 | IMPORTED_LOCATION_DEBUG "${_IMPORT_PREFIX}/lib/sfml-system-s-d.lib" 13 | ) 14 | 15 | list(APPEND _IMPORT_CHECK_TARGETS sfml-system ) 16 | list(APPEND _IMPORT_CHECK_FILES_FOR_sfml-system "${_IMPORT_PREFIX}/lib/sfml-system-s-d.lib" ) 17 | 18 | # Import target "sfml-main" for configuration "Debug" 19 | set_property(TARGET sfml-main APPEND PROPERTY IMPORTED_CONFIGURATIONS DEBUG) 20 | set_target_properties(sfml-main PROPERTIES 21 | IMPORTED_LINK_INTERFACE_LANGUAGES_DEBUG "CXX" 22 | IMPORTED_LOCATION_DEBUG "${_IMPORT_PREFIX}/lib/sfml-main-d.lib" 23 | ) 24 | 25 | list(APPEND _IMPORT_CHECK_TARGETS sfml-main ) 26 | list(APPEND _IMPORT_CHECK_FILES_FOR_sfml-main "${_IMPORT_PREFIX}/lib/sfml-main-d.lib" ) 27 | 28 | # Import target "sfml-window" for configuration "Debug" 29 | set_property(TARGET sfml-window APPEND PROPERTY IMPORTED_CONFIGURATIONS DEBUG) 30 | set_target_properties(sfml-window PROPERTIES 31 | IMPORTED_LINK_INTERFACE_LANGUAGES_DEBUG "CXX" 32 | IMPORTED_LOCATION_DEBUG "${_IMPORT_PREFIX}/lib/sfml-window-s-d.lib" 33 | ) 34 | 35 | list(APPEND _IMPORT_CHECK_TARGETS sfml-window ) 36 | list(APPEND _IMPORT_CHECK_FILES_FOR_sfml-window "${_IMPORT_PREFIX}/lib/sfml-window-s-d.lib" ) 37 | 38 | # Import target "sfml-network" for configuration "Debug" 39 | set_property(TARGET sfml-network APPEND PROPERTY IMPORTED_CONFIGURATIONS DEBUG) 40 | set_target_properties(sfml-network PROPERTIES 41 | IMPORTED_LINK_INTERFACE_LANGUAGES_DEBUG "CXX" 42 | IMPORTED_LOCATION_DEBUG "${_IMPORT_PREFIX}/lib/sfml-network-s-d.lib" 43 | ) 44 | 45 | list(APPEND _IMPORT_CHECK_TARGETS sfml-network ) 46 | list(APPEND _IMPORT_CHECK_FILES_FOR_sfml-network "${_IMPORT_PREFIX}/lib/sfml-network-s-d.lib" ) 47 | 48 | # Import target "sfml-graphics" for configuration "Debug" 49 | set_property(TARGET sfml-graphics APPEND PROPERTY IMPORTED_CONFIGURATIONS DEBUG) 50 | set_target_properties(sfml-graphics PROPERTIES 51 | IMPORTED_LINK_INTERFACE_LANGUAGES_DEBUG "CXX" 52 | IMPORTED_LOCATION_DEBUG "${_IMPORT_PREFIX}/lib/sfml-graphics-s-d.lib" 53 | ) 54 | 55 | list(APPEND _IMPORT_CHECK_TARGETS sfml-graphics ) 56 | list(APPEND _IMPORT_CHECK_FILES_FOR_sfml-graphics "${_IMPORT_PREFIX}/lib/sfml-graphics-s-d.lib" ) 57 | 58 | # Import target "sfml-audio" for configuration "Debug" 59 | set_property(TARGET sfml-audio APPEND PROPERTY IMPORTED_CONFIGURATIONS DEBUG) 60 | set_target_properties(sfml-audio PROPERTIES 61 | IMPORTED_LINK_INTERFACE_LANGUAGES_DEBUG "CXX" 62 | IMPORTED_LOCATION_DEBUG "${_IMPORT_PREFIX}/lib/sfml-audio-s-d.lib" 63 | ) 64 | 65 | list(APPEND _IMPORT_CHECK_TARGETS sfml-audio ) 66 | list(APPEND _IMPORT_CHECK_FILES_FOR_sfml-audio "${_IMPORT_PREFIX}/lib/sfml-audio-s-d.lib" ) 67 | 68 | # Commands beyond this point should not need to know the version. 69 | set(CMAKE_IMPORT_FILE_VERSION) 70 | -------------------------------------------------------------------------------- /Project_Labirint_Game/sfml/lib/cmake/SFML/SFMLStaticTargets-release.cmake: -------------------------------------------------------------------------------- 1 | #---------------------------------------------------------------- 2 | # Generated CMake target import file for configuration "Release". 3 | #---------------------------------------------------------------- 4 | 5 | # Commands may need to know the format version. 6 | set(CMAKE_IMPORT_FILE_VERSION 1) 7 | 8 | # Import target "sfml-system" for configuration "Release" 9 | set_property(TARGET sfml-system APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE) 10 | set_target_properties(sfml-system PROPERTIES 11 | IMPORTED_LINK_INTERFACE_LANGUAGES_RELEASE "CXX" 12 | IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/lib/sfml-system-s.lib" 13 | ) 14 | 15 | list(APPEND _IMPORT_CHECK_TARGETS sfml-system ) 16 | list(APPEND _IMPORT_CHECK_FILES_FOR_sfml-system "${_IMPORT_PREFIX}/lib/sfml-system-s.lib" ) 17 | 18 | # Import target "sfml-main" for configuration "Release" 19 | set_property(TARGET sfml-main APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE) 20 | set_target_properties(sfml-main PROPERTIES 21 | IMPORTED_LINK_INTERFACE_LANGUAGES_RELEASE "CXX" 22 | IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/lib/sfml-main.lib" 23 | ) 24 | 25 | list(APPEND _IMPORT_CHECK_TARGETS sfml-main ) 26 | list(APPEND _IMPORT_CHECK_FILES_FOR_sfml-main "${_IMPORT_PREFIX}/lib/sfml-main.lib" ) 27 | 28 | # Import target "sfml-window" for configuration "Release" 29 | set_property(TARGET sfml-window APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE) 30 | set_target_properties(sfml-window PROPERTIES 31 | IMPORTED_LINK_INTERFACE_LANGUAGES_RELEASE "CXX" 32 | IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/lib/sfml-window-s.lib" 33 | ) 34 | 35 | list(APPEND _IMPORT_CHECK_TARGETS sfml-window ) 36 | list(APPEND _IMPORT_CHECK_FILES_FOR_sfml-window "${_IMPORT_PREFIX}/lib/sfml-window-s.lib" ) 37 | 38 | # Import target "sfml-network" for configuration "Release" 39 | set_property(TARGET sfml-network APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE) 40 | set_target_properties(sfml-network PROPERTIES 41 | IMPORTED_LINK_INTERFACE_LANGUAGES_RELEASE "CXX" 42 | IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/lib/sfml-network-s.lib" 43 | ) 44 | 45 | list(APPEND _IMPORT_CHECK_TARGETS sfml-network ) 46 | list(APPEND _IMPORT_CHECK_FILES_FOR_sfml-network "${_IMPORT_PREFIX}/lib/sfml-network-s.lib" ) 47 | 48 | # Import target "sfml-graphics" for configuration "Release" 49 | set_property(TARGET sfml-graphics APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE) 50 | set_target_properties(sfml-graphics PROPERTIES 51 | IMPORTED_LINK_INTERFACE_LANGUAGES_RELEASE "CXX" 52 | IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/lib/sfml-graphics-s.lib" 53 | ) 54 | 55 | list(APPEND _IMPORT_CHECK_TARGETS sfml-graphics ) 56 | list(APPEND _IMPORT_CHECK_FILES_FOR_sfml-graphics "${_IMPORT_PREFIX}/lib/sfml-graphics-s.lib" ) 57 | 58 | # Import target "sfml-audio" for configuration "Release" 59 | set_property(TARGET sfml-audio APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE) 60 | set_target_properties(sfml-audio PROPERTIES 61 | IMPORTED_LINK_INTERFACE_LANGUAGES_RELEASE "CXX" 62 | IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/lib/sfml-audio-s.lib" 63 | ) 64 | 65 | list(APPEND _IMPORT_CHECK_TARGETS sfml-audio ) 66 | list(APPEND _IMPORT_CHECK_FILES_FOR_sfml-audio "${_IMPORT_PREFIX}/lib/sfml-audio-s.lib" ) 67 | 68 | # Commands beyond this point should not need to know the version. 69 | set(CMAKE_IMPORT_FILE_VERSION) 70 | -------------------------------------------------------------------------------- /Project_Labirint_Game/sfml/lib/flac.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rustam-Z/cpp-programming/06538733047f92de287f061a40927ffaf44a561a/Project_Labirint_Game/sfml/lib/flac.lib -------------------------------------------------------------------------------- /Project_Labirint_Game/sfml/lib/freetype.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rustam-Z/cpp-programming/06538733047f92de287f061a40927ffaf44a561a/Project_Labirint_Game/sfml/lib/freetype.lib -------------------------------------------------------------------------------- /Project_Labirint_Game/sfml/lib/ogg.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rustam-Z/cpp-programming/06538733047f92de287f061a40927ffaf44a561a/Project_Labirint_Game/sfml/lib/ogg.lib -------------------------------------------------------------------------------- /Project_Labirint_Game/sfml/lib/openal32.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rustam-Z/cpp-programming/06538733047f92de287f061a40927ffaf44a561a/Project_Labirint_Game/sfml/lib/openal32.lib -------------------------------------------------------------------------------- /Project_Labirint_Game/sfml/lib/sfml-audio-d.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rustam-Z/cpp-programming/06538733047f92de287f061a40927ffaf44a561a/Project_Labirint_Game/sfml/lib/sfml-audio-d.lib -------------------------------------------------------------------------------- /Project_Labirint_Game/sfml/lib/sfml-audio-d.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rustam-Z/cpp-programming/06538733047f92de287f061a40927ffaf44a561a/Project_Labirint_Game/sfml/lib/sfml-audio-d.pdb -------------------------------------------------------------------------------- /Project_Labirint_Game/sfml/lib/sfml-audio-s-d.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rustam-Z/cpp-programming/06538733047f92de287f061a40927ffaf44a561a/Project_Labirint_Game/sfml/lib/sfml-audio-s-d.lib -------------------------------------------------------------------------------- /Project_Labirint_Game/sfml/lib/sfml-audio-s-d.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rustam-Z/cpp-programming/06538733047f92de287f061a40927ffaf44a561a/Project_Labirint_Game/sfml/lib/sfml-audio-s-d.pdb -------------------------------------------------------------------------------- /Project_Labirint_Game/sfml/lib/sfml-audio-s.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rustam-Z/cpp-programming/06538733047f92de287f061a40927ffaf44a561a/Project_Labirint_Game/sfml/lib/sfml-audio-s.lib -------------------------------------------------------------------------------- /Project_Labirint_Game/sfml/lib/sfml-audio.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rustam-Z/cpp-programming/06538733047f92de287f061a40927ffaf44a561a/Project_Labirint_Game/sfml/lib/sfml-audio.lib -------------------------------------------------------------------------------- /Project_Labirint_Game/sfml/lib/sfml-graphics-d.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rustam-Z/cpp-programming/06538733047f92de287f061a40927ffaf44a561a/Project_Labirint_Game/sfml/lib/sfml-graphics-d.lib -------------------------------------------------------------------------------- /Project_Labirint_Game/sfml/lib/sfml-graphics-d.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rustam-Z/cpp-programming/06538733047f92de287f061a40927ffaf44a561a/Project_Labirint_Game/sfml/lib/sfml-graphics-d.pdb -------------------------------------------------------------------------------- /Project_Labirint_Game/sfml/lib/sfml-graphics-s-d.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rustam-Z/cpp-programming/06538733047f92de287f061a40927ffaf44a561a/Project_Labirint_Game/sfml/lib/sfml-graphics-s-d.lib -------------------------------------------------------------------------------- /Project_Labirint_Game/sfml/lib/sfml-graphics-s-d.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rustam-Z/cpp-programming/06538733047f92de287f061a40927ffaf44a561a/Project_Labirint_Game/sfml/lib/sfml-graphics-s-d.pdb -------------------------------------------------------------------------------- /Project_Labirint_Game/sfml/lib/sfml-graphics-s.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rustam-Z/cpp-programming/06538733047f92de287f061a40927ffaf44a561a/Project_Labirint_Game/sfml/lib/sfml-graphics-s.lib -------------------------------------------------------------------------------- /Project_Labirint_Game/sfml/lib/sfml-graphics.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rustam-Z/cpp-programming/06538733047f92de287f061a40927ffaf44a561a/Project_Labirint_Game/sfml/lib/sfml-graphics.lib -------------------------------------------------------------------------------- /Project_Labirint_Game/sfml/lib/sfml-main-d.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rustam-Z/cpp-programming/06538733047f92de287f061a40927ffaf44a561a/Project_Labirint_Game/sfml/lib/sfml-main-d.lib -------------------------------------------------------------------------------- /Project_Labirint_Game/sfml/lib/sfml-main-s-d.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rustam-Z/cpp-programming/06538733047f92de287f061a40927ffaf44a561a/Project_Labirint_Game/sfml/lib/sfml-main-s-d.pdb -------------------------------------------------------------------------------- /Project_Labirint_Game/sfml/lib/sfml-main.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rustam-Z/cpp-programming/06538733047f92de287f061a40927ffaf44a561a/Project_Labirint_Game/sfml/lib/sfml-main.lib -------------------------------------------------------------------------------- /Project_Labirint_Game/sfml/lib/sfml-network-d.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rustam-Z/cpp-programming/06538733047f92de287f061a40927ffaf44a561a/Project_Labirint_Game/sfml/lib/sfml-network-d.lib -------------------------------------------------------------------------------- /Project_Labirint_Game/sfml/lib/sfml-network-d.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rustam-Z/cpp-programming/06538733047f92de287f061a40927ffaf44a561a/Project_Labirint_Game/sfml/lib/sfml-network-d.pdb -------------------------------------------------------------------------------- /Project_Labirint_Game/sfml/lib/sfml-network-s-d.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rustam-Z/cpp-programming/06538733047f92de287f061a40927ffaf44a561a/Project_Labirint_Game/sfml/lib/sfml-network-s-d.lib -------------------------------------------------------------------------------- /Project_Labirint_Game/sfml/lib/sfml-network-s-d.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rustam-Z/cpp-programming/06538733047f92de287f061a40927ffaf44a561a/Project_Labirint_Game/sfml/lib/sfml-network-s-d.pdb -------------------------------------------------------------------------------- /Project_Labirint_Game/sfml/lib/sfml-network-s.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rustam-Z/cpp-programming/06538733047f92de287f061a40927ffaf44a561a/Project_Labirint_Game/sfml/lib/sfml-network-s.lib -------------------------------------------------------------------------------- /Project_Labirint_Game/sfml/lib/sfml-network.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rustam-Z/cpp-programming/06538733047f92de287f061a40927ffaf44a561a/Project_Labirint_Game/sfml/lib/sfml-network.lib -------------------------------------------------------------------------------- /Project_Labirint_Game/sfml/lib/sfml-system-d.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rustam-Z/cpp-programming/06538733047f92de287f061a40927ffaf44a561a/Project_Labirint_Game/sfml/lib/sfml-system-d.lib -------------------------------------------------------------------------------- /Project_Labirint_Game/sfml/lib/sfml-system-d.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rustam-Z/cpp-programming/06538733047f92de287f061a40927ffaf44a561a/Project_Labirint_Game/sfml/lib/sfml-system-d.pdb -------------------------------------------------------------------------------- /Project_Labirint_Game/sfml/lib/sfml-system-s-d.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rustam-Z/cpp-programming/06538733047f92de287f061a40927ffaf44a561a/Project_Labirint_Game/sfml/lib/sfml-system-s-d.lib -------------------------------------------------------------------------------- /Project_Labirint_Game/sfml/lib/sfml-system-s-d.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rustam-Z/cpp-programming/06538733047f92de287f061a40927ffaf44a561a/Project_Labirint_Game/sfml/lib/sfml-system-s-d.pdb -------------------------------------------------------------------------------- /Project_Labirint_Game/sfml/lib/sfml-system-s.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rustam-Z/cpp-programming/06538733047f92de287f061a40927ffaf44a561a/Project_Labirint_Game/sfml/lib/sfml-system-s.lib -------------------------------------------------------------------------------- /Project_Labirint_Game/sfml/lib/sfml-system.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rustam-Z/cpp-programming/06538733047f92de287f061a40927ffaf44a561a/Project_Labirint_Game/sfml/lib/sfml-system.lib -------------------------------------------------------------------------------- /Project_Labirint_Game/sfml/lib/sfml-window-d.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rustam-Z/cpp-programming/06538733047f92de287f061a40927ffaf44a561a/Project_Labirint_Game/sfml/lib/sfml-window-d.lib -------------------------------------------------------------------------------- /Project_Labirint_Game/sfml/lib/sfml-window-d.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rustam-Z/cpp-programming/06538733047f92de287f061a40927ffaf44a561a/Project_Labirint_Game/sfml/lib/sfml-window-d.pdb -------------------------------------------------------------------------------- /Project_Labirint_Game/sfml/lib/sfml-window-s-d.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rustam-Z/cpp-programming/06538733047f92de287f061a40927ffaf44a561a/Project_Labirint_Game/sfml/lib/sfml-window-s-d.lib -------------------------------------------------------------------------------- /Project_Labirint_Game/sfml/lib/sfml-window-s-d.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rustam-Z/cpp-programming/06538733047f92de287f061a40927ffaf44a561a/Project_Labirint_Game/sfml/lib/sfml-window-s-d.pdb -------------------------------------------------------------------------------- /Project_Labirint_Game/sfml/lib/sfml-window-s.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rustam-Z/cpp-programming/06538733047f92de287f061a40927ffaf44a561a/Project_Labirint_Game/sfml/lib/sfml-window-s.lib -------------------------------------------------------------------------------- /Project_Labirint_Game/sfml/lib/sfml-window.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rustam-Z/cpp-programming/06538733047f92de287f061a40927ffaf44a561a/Project_Labirint_Game/sfml/lib/sfml-window.lib -------------------------------------------------------------------------------- /Project_Labirint_Game/sfml/lib/vorbis.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rustam-Z/cpp-programming/06538733047f92de287f061a40927ffaf44a561a/Project_Labirint_Game/sfml/lib/vorbis.lib -------------------------------------------------------------------------------- /Project_Labirint_Game/sfml/lib/vorbisenc.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rustam-Z/cpp-programming/06538733047f92de287f061a40927ffaf44a561a/Project_Labirint_Game/sfml/lib/vorbisenc.lib -------------------------------------------------------------------------------- /Project_Labirint_Game/sfml/lib/vorbisfile.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rustam-Z/cpp-programming/06538733047f92de287f061a40927ffaf44a561a/Project_Labirint_Game/sfml/lib/vorbisfile.lib --------------------------------------------------------------------------------