Debug Assertion Failed. directly after exiting a member function (as I saw with step-into), happening I think in this part of my code:
//error happens right here, which is called upon leaving main().}
The ch is a private char pointer in the drinksAtWork class.
There is only one member function which has only cout and cin.
What is wrong?