Webcounter, get and reset

I'm doing a lab for my class but we don't seem to get it, how to get started. Can someone explain what is the Webcounter.Or how to use it in the program
This is the prompt half of the Webcounter class must be implemented: reset and get. A main() is attached above this text, which should be copied into your code. The main() function must not be modified in any way.


//code needed
int main()
{
Webcounter wc;
wc.reset();
cout << wc.get() << endl;
return 0;
}
Webcounter appears to be the class you are supposed to be writing. It will have function reset() and get(). The get() function will return something (presumably an int, because counters usually work with ints). The reset() function will probably reset the counter value to 0.
Topic archived. No new replies allowed.