This repository contains exercises and homeworks done during the C++ Programming course provided by DevStyleR the Euro Games Technology company.
(in Alphabetical order)
Create Bank class with credit, debit and getBalance functions
Create class Book. Enter Book Data - amount of Books and title, author, year, price, qty find a book with minimal, maximal price, find books by author name - takes Books vector as argument find a book with maximal price - function take Books vector as argument
Box_Operator_Overloading_Homework
Да се реализира клас Box(кутия) с 3 полета за ширина, дължина и височина. Да се предефинират оператори които биха позволили следния запис да работи : box3 = box1 + box2; където box1, box2, box3 са обекти от Box
Creating a Car Class example - Introduction to classes. Code by following the lector's example
Following lector's example in class create Cinema, Hall, and Screening classes. Use vectors as class members. Testing the functionality.
Create a base Shape class with a draw() method and Circle and Rectangle classes that override the draw() method. Use a pointer in the example.
Classes - Exercises
Class Design and Objects:
Design a class named Book with private attributes for title (string), author (string), and pages (int). Include a constructor to initialize these attributes and a public method display() to print the book's details.
CodingTasks_Inheritance_Homework
Inheritance:
Create a base class Shape with a protected attribute color and a public method draw(). Derive two classes from it: Circle and Rectangle. Override the draw() method to print the shape's color and what shape it is (e.g., "Drawing a red circle").
CodingTasks_Polymorphism_Homework
Polymorphism:
Implement a function printArea() that takes a pointer to the base class Shape as an argument and calls a method area() that should be defined in both derived classes Circle and Rectangle. The area() method should return the area of the shape, assuming Circle has an attribute radius and Rectangle has width and height.
Date_Operator_Overloading_Homework
Add overloaded operators:
prefix decrement operator (--i) and postfix decrement operator (i--)
by following the example of the respective incrementing operators
Employee_Management_System_Homework
Develop a C++ program that models a simple employee management system. This program should include classes for employees and departments, showcasing the use of objects, methods, and pointers.
Write a C++ program that : Uses user - entered integers, checks whether a number is even or odd. If the number is even, "even" is displayed on the screen, if it is odd - "odd"
Create Football Federation System - homework on classes
Functions exercises and research on recursive functions (Euclidean algorithm, Euclid's' algorithm, custom Number to Binary(as string), Binary(as string) to Number [not recursive]
Create Library class that contains a vector of Book objects which in turn have Author object as member variable. Test functionality. Implement printData and findBook for the Library class.
Library_Management_System_Homework
Create a C++ program for a simple library management system. The program should include classes for books and library members, and demonstrate the use of objects, methods, and pointers.
Various exercises and personal research
Develop an Online Shop System using OOP concepts.
Polymorphism_Inheritance_Homework
Homework to develop a class Shape and derived from it Shape2d and derived from it Square class - showing polymprphiism and inheritance concepts in action.
Answers to questions in written form and simple code to show understanding of the studied material
Create Rectangle class and check if it is a square
RentACar System Homework
Homework - demonstrating the Riffle Shuffle method on Cards class
RoadsAndCars - demonstration of unique_pointer - adding additional functionality on top of the lecture code
Homeworks on libraries combined in subfolder by common topic - Drawing Shapes and Images, Animation, Using Sprite Sheets, Events Handling
Classes - School System Example - exsercise and homework
Classes - Shapes Classes Exercises - exsercise and homework
Classes - Shipping Packages System - Homework assignment
Exercises on Strings
XML_Parser - Homework assignment - reading from XML file using the pugixml library





