盐与黑胡椒

导航

随笔分类 -  C/C++

【转】forbids in-class initialization of non-const static member不能在类内初始化非const static成员
摘要:转自: "forbids in class initialization of non const static member不能在类内初始化非const static成员" 今天写程序,出现一个新错误,好吧,感觉每次编程都能遇到新问题,我期待久病成医的那一天,哈哈。事故代码如下: 编译后: 我是不 阅读全文

posted @ 2018-11-16 17:40 盐与黑胡椒 阅读(714) 评论(0) 推荐(0)