摘要: #include <iostream> using namespace std; struct Student{ Student(char *name, int age, float score); void show(); char *m_name; int m_age; float m_score; }; Student::Student(char *name, int age, float 阅读全文
posted @ 2019-09-17 19:27 anobscureretreat 阅读(283) 评论(0) 推荐(0)
摘要: #include <iostream> using namespace std; class Address; //提前声明Address类 //声明Student类 class Student{ public: Student(char *name, int age, float score); public: void show(Address *addr); private: char *m 阅读全文
posted @ 2019-09-17 19:22 anobscureretreat 阅读(375) 评论(0) 推荐(0)
摘要: >>> import platform >>> platform.platform() 'Darwin-17.7.0-x86_64-i386-64bit' >>> platform.system() 'Darwin' >>> import platform >>> platform.system() 'Windows' >>> import platform >>> platform.system 阅读全文
posted @ 2019-09-17 18:17 anobscureretreat 阅读(1640) 评论(0) 推荐(0)