marcoyuuu / ServerGroup

Practice writing a class called ServerGroup to serve people waiting in line, with functions to manage a dynamic integer array representing server availability and time, as well as a destructor, overloaded assignment operator, and copy constructor for proper memory management and object assignment.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ServerGroup

Using C++, created a class called ServerGroup to serve people waiting in line. It includes a dynamic integer array, a special-purpose server variable, and functions to check server availability, use a server, decrement time, and print values. Additionally, a destructor, an overloaded assignment operator, and a copy constructor for proper memory management and object assignment.

About

Practice writing a class called ServerGroup to serve people waiting in line, with functions to manage a dynamic integer array representing server availability and time, as well as a destructor, overloaded assignment operator, and copy constructor for proper memory management and object assignment.


Languages

Language:C++ 100.0%