正在加载图片...
在源程序文件 PERSON. CPP中 inline void Person: Register(const chark nm, int ag, char s) strcpy(Name, nm) Age = ag, Sex = s inline void Person: GetName(char* nm strcpy(nm, Name)在源程序文件 PERSON.CPP 中 inline void Person :: Register(const char* nm, int ag, char s) { strcpy(Name, nm); Age = ag; Sex = s; } inline void Person :: GetName(char* nm) { strcpy(nm, Name); }
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有