?? doctor.cpp
字號(hào):
#include <string.h>
#include "doctor.h"
void Doctor::init(char *ID,char *name,int age,char *depart,
char *lab,int paper)
{
strcpy(this->ID,ID);
strcpy(this->name,name);
this->age = age;
strcpy(this->depart,depart);
strcpy(this->lab,lab);
this->paper = paper;
}
void Doctor::display()
{
cout<<'D'<<"\t"
<<name<<"\t"
<<ID<<"\t"
<<age<<"\t"
<<depart<<"\t"
<<lab<<"\t"
<<paper<<endl;
}
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -