10 2023 档案

摘要:参考:https://www.cnblogs.com/schaepher/p/5561193.html#config_user 初始化仓库 git init 连接github git config --global user.name "dctwan15" git config --global u 阅读全文
posted @ 2023-10-24 16:52 dctwan 阅读(5) 评论(0) 推荐(0) 编辑
摘要:stat函数 头文件:#include <sys/stat.h> int stat(const char* restrict pathname,struct stat* restrict buf); 第一个参数pathname:文件名,需要获取该文件的信息 第二个参数buf:stat函数将pathn 阅读全文
posted @ 2023-10-17 17:17 dctwan 阅读(395) 评论(0) 推荐(0) 编辑
摘要:目录运算符重载继承多态抽象基类 运算符重载 重新定义+-*/操作,对同类对象使用,以时间类Time为例子进行理解 Time.h class Time{ private: int hour, minute; public: Time(); Time(int h, int m); void show_t 阅读全文
posted @ 2023-10-09 15:50 dctwan 阅读(13) 评论(0) 推荐(0) 编辑
摘要:目录类声明成员函数构造函数和析构函数文件组织this指针 类声明 class ClassName{ private: // data member declarations; public: // member funtion declarations; }; 成员函数 一般定义成员函数的方式是在类 阅读全文
posted @ 2023-10-08 19:21 dctwan 阅读(5) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示