This is for C++. I am having trouble with this code. Make a full class definition for a class named Counter, and containing the following members: This is for C++. I am having trouble with this code. Any help would be appreciated.classclassnamedA data member counter of type int.A constructor that accepts no arguments and initializes the counter data...