im having trouble with this program it would be great if someone can help me out with it
Write a class called Digit. The class has a private member variable of type int. The
class also has at least two member functions. One is to overload the prefix
increment operator, and the other is to overload the postfix increment operator.
Write other member functions if need be. For example, you may need functions to
print out the object. Implement the overloading operators. Test the functionality in
a main function.
Please note that this is not a homework site. We won't do your homework for you. The purpose of homework is that you learn by doing. However we are always willing to help solve problems you encountered, correct mistakes you made in your code and answer your questions.
We didn't see your attempts to solve this problem yourself and so we cannot correct mistakes you didn't made and answer questions you didn't ask. To get help you should do something yourself and get real problems with something. If your problem is "I don't understand a thing", then you should go back to basics and study again.