Hi, I am a first semester student, learning the OOPs basics. I need help for a program:

class Message{
	void input();
	int output();
	long token_number;// next token to be given to client


void Message::input()
	token_number = 1;

int Message::output()
	return token_number;
I dont know the right way to call these elements in the main()

int main(){
Message obj;

std::cout<< out_buffer<<obj.output()<<std::endl;//write the token number in the buffer
std::cout<<"Response received"<<++obj.input();//To update the input value and display