ITPub博客

首页 > 应用开发 > > C++。。。。。。

C++。。。。。。

作者:bluepeach 时间:2019-09-18 14:00:59 0 删除 编辑

chass Div_Exception

{

public:

Div_Exception():message("Attempted to divide by zero!"){}

const charCout_Message()

{

return message;

}

private:

const char

message;

},

想问一下 第四行是什么用法?

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/2558/viewspace-3159466/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
  • 博文量
    103
  • 访问量
    22747