first semester files

This commit is contained in:
2024-02-22 14:31:08 -05:00
parent 0f26c9f73d
commit 2d4bbf49a4
242 changed files with 360411 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
#include "Counter.h"
#include <climits>
// Counter::Counter()
// {
// maxValue = INT_MAX;
// }
void Counter::setCount(int num)
{
value = num;
}
void Counter::increment()
{
++value;
}
void Counter::decrement()
{
--value;
}
int Counter::getCount()
{
return value;
}
int Counter::getMaxValue()
{
return maxValue;
}