| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 726 人关注过本帖
标题:各位高手請指點 class的簡單題目
只看楼主 加入收藏
FantasyLibra
Rank: 1
等 级:新手上路
帖 子:2
专家分:0
注 册:2008-4-4
收藏
 问题点数:0 回复次数:0 
各位高手請指點 class的簡單題目
definitions:

const int x = 17;
class A
{
public:
    A();
    A(int n);
    int f() const;
    int g(const A& x);
private:
    int i;
};

問:
Each of the three const keywords is a promise to the compiler that the compiler will enforce.
What is the promise in each case?
搜索更多相关主题的帖子: class int const compiler promise 
2008-06-20 15:04
快速回复:各位高手請指點 class的簡單題目
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.015249 second(s), 7 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved