上一页 1 ··· 245 246 247 248 249 250 251 252 253 ··· 345 下一页
摘要: link 前言 C语言的指针让我们有了直接操控内存的强大能力,同时指针也是使用C语言时最容易出问题的地方。C++在继承了C语言的指针... 阅读全文
posted @ 2022-08-19 22:48 luoganttcc 阅读(19) 评论(0) 推荐(0)
摘要: link 前言 C语言的指针让我们有了直接操控内存的强大能力,同时指针也是使用C语言时最容易出问题的地方。C++在继承了C语言的指针... 阅读全文
posted @ 2022-08-19 22:48 luoganttcc 阅读(18) 评论(0) 推荐(0)
摘要: #includeusing namespace std;int main(){ int x; float y; c... 阅读全文
posted @ 2022-08-19 22:48 luoganttcc 阅读(5) 评论(0) 推荐(0)
摘要: #includeusing namespace std;int main(){ int x; float y; c... 阅读全文
posted @ 2022-08-19 22:48 luoganttcc 阅读(8) 评论(0) 推荐(0)
摘要: 就像变量一样,对象也在声明为static时具有范围,直到程序的生命周期。 考虑以下程序,其中对象是非静态的。 动态对象 #inclu... 阅读全文
posted @ 2022-08-19 22:48 luoganttcc 阅读(4) 评论(0) 推荐(0)
摘要: 就像变量一样,对象也在声明为static时具有范围,直到程序的生命周期。 考虑以下程序,其中对象是非静态的。 动态对象 #inclu... 阅读全文
posted @ 2022-08-19 22:48 luoganttcc 阅读(5) 评论(0) 推荐(0)
摘要: 静态成员如果有n个同类的对象,那么每一个对象都分别有自己的数据成员,不同对象的数据成员各自有值,互不相干。但是有时人们希望有某一个或... 阅读全文
posted @ 2022-08-19 22:48 luoganttcc 阅读(27) 评论(0) 推荐(0)
摘要: 静态成员如果有n个同类的对象,那么每一个对象都分别有自己的数据成员,不同对象的数据成员各自有值,互不相干。但是有时人们希望有某一个或... 阅读全文
posted @ 2022-08-19 22:48 luoganttcc 阅读(15) 评论(0) 推荐(0)
摘要: 类中的静态变量应由用户使用类外的类名和范围解析运算符显式初始化 #includeusing namespace std;class ... 阅读全文
posted @ 2022-08-19 22:48 luoganttcc 阅读(10) 评论(0) 推荐(0)
摘要: 类中的静态变量应由用户使用类外的类名和范围解析运算符显式初始化 #includeusing namespace std;class ... 阅读全文
posted @ 2022-08-19 22:48 luoganttcc 阅读(5) 评论(0) 推荐(0)
上一页 1 ··· 245 246 247 248 249 250 251 252 253 ··· 345 下一页