Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and beauty - Topics in Ophthalmic Plastic Surgery
Topics in Ophthalmic Plastic Surgery
There are two ways to write it:

Writing 1: class data type

{

Public:

Data type (); //constructor declaration

Protected:

}

.....

Data type:: Data type ()

{

char a;

int b;

Floating c;

}

* -

Writing Method 2: Class Data Type

{

Public:

Data type ()

{

char a;

int b;

Floating c;

}

Protected:

}

I don't know what specific requirements you have. If there is, it will be more convenient to chat with me on qq: 59366845.