摘要:一 ,Static 关键字的声明 static关键字只能在类体中进行声明,如: class MyStatic { private:: static const string name; } 二,static关键字的初始化 所有的static变量的初始化必须要在类体外进行初始化,象前面...
阅读全文
posted @ 2008-01-30 14:17
posted @ 2008-01-30 14:17
随笔 - 70, 文章 - 4, 评论 - 307
Copyright © 2021 少林
Powered by .NET 5.0 on Kubernetes