Redian新闻
>
[c++] static function in a class
avatar
l*G
2
第一次用ubuntu是6.06,一点过热问题都没有。后来到了8.04 和8.10, 我的T60p 热的
不行,用CPU scale 后把2GHz CPU 当1G 用,才好了些,还是非常非常热。
用了9.04 版的虫虫们说说有没有改进?
avatar
G*A
3
即使不声明为static,无论建立多少个instances,class function始终只keep一个copy。
既然这样,请问为什么只有被声明为static function 才能 be called without an
instance of the class.
avatar
g*f
4
ft..

【在 d**w 的大作中提到】
: I thought they had a good union as well.....
avatar
a*i
5

I used my T60 with hardy and intrepid, never had overheat problem...

【在 l*******G 的大作中提到】
: 第一次用ubuntu是6.06,一点过热问题都没有。后来到了8.04 和8.10, 我的T60p 热的
: 不行,用CPU scale 后把2GHz CPU 当1G 用,才好了些,还是非常非常热。
: 用了9.04 版的虫虫们说说有没有改进?

avatar
h*s
6
不是static的函数调用的时候系统自己给牵头加上一个this指针作为第一个参数
如果没有instance,哪儿来得this指针啦
不是static的函数可以修改instance自己的私有变量啊,虽然只有一个,但是从哪里调
用还是有区别的

copy。

【在 G****A 的大作中提到】
: 即使不声明为static,无论建立多少个instances,class function始终只keep一个copy。
: 既然这样,请问为什么只有被声明为static function 才能 be called without an
: instance of the class.

avatar
p*g
7
wo....

【在 d**w 的大作中提到】
: I thought they had a good union as well.....
avatar
A*s
8
偶Z61t用hardy也没有任何问题

【在 l*******G 的大作中提到】
: 第一次用ubuntu是6.06,一点过热问题都没有。后来到了8.04 和8.10, 我的T60p 热的
: 不行,用CPU scale 后把2GHz CPU 当1G 用,才好了些,还是非常非常热。
: 用了9.04 版的虫虫们说说有没有改进?

avatar
b*n
9
你这简直连入门都谈不上啊。

copy。

【在 G****A 的大作中提到】
: 即使不声明为static,无论建立多少个instances,class function始终只keep一个copy。
: 既然这样,请问为什么只有被声明为static function 才能 be called without an
: instance of the class.

avatar
w*e
10
My T60 is fine with 8.04 too.
avatar
G*A
11
是啊,coding水平比本科时候还差。只有恶补了

【在 b********n 的大作中提到】
: 你这简直连入门都谈不上啊。
:
: copy。

avatar
O*y
12
过热倒是没有,但9.04风扇的声音好像比8.04的要大些

【在 l*******G 的大作中提到】
: 第一次用ubuntu是6.06,一点过热问题都没有。后来到了8.04 和8.10, 我的T60p 热的
: 不行,用CPU scale 后把2GHz CPU 当1G 用,才好了些,还是非常非常热。
: 用了9.04 版的虫虫们说说有没有改进?

avatar
y*e
13
能这样去思考问题,已经很不错了。继续努力!

【在 G****A 的大作中提到】
: 是啊,coding水平比本科时候还差。只有恶补了
avatar
l*G
14
Hi Ayanami,
Can you post your /etc/X11/xorg.conf file?
I'd see if that is the cause of it.
lego

【在 a*****i 的大作中提到】
:
: I used my T60 with hardy and intrepid, never had overheat problem...

avatar
N*w
15
8.10 以后不用手工改 xorg.conf 了, 都是自动的

【在 l*******G 的大作中提到】
: Hi Ayanami,
: Can you post your /etc/X11/xorg.conf file?
: I'd see if that is the cause of it.
: lego

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。