I am having problems calling my functions from my main program. These functions HAVE to be in my class. How do I access them from my int main()?
#inc
You are calling class methods as just waitSemaphore without creating the object of myCountingSemaphoreUsingBinarySemaphore.
waitSemaphore
You should create the object first.
myCountingSemaphoreUsingBinarySemaphore obj; obj.waitSemaphore(mutex1);