Is my code correct for the following question?

Write the interface (.h file) of a class Counter containing: * A data member counter of type int . * A constructor that accepts no arguments . * A function called increment that accepts no parameters and returns no value . * A function called getValue that accepts no parameters . Write the interface (.h file) of a class Counter containing:
•A data member counter of type int .
•A constructor that accepts no arguments .
•A function called increment that accepts no parameters and returns no value .
•A function called getValue that accepts no parameters .

Code:
#ifndef COUNTER_H
#define COUNTER_H

class Counter
{
	private:
		int counter;
	public:
		Counter();	
		void increment();
		int getValue();
};
	
Counter::Counter(){
}
 
void Counter::increment(){
}

int Counter::getValue(){
}

#endif