SmartVessel

Foucs on C++

博客园 首页 新随笔 联系 订阅 管理

2011年5月5日 #

摘要: 'static' can indeed be used in C++ to do what you want - to create a Static Member Function. The compiler message is actually telling you that the 'static' keyword is not valid on the definition of the method, it should only be used in the class definition. So the following compiles 阅读全文
posted @ 2011-05-05 15:12 SmartVessel 阅读(379) 评论(0) 推荐(0)

摘要: cat /proc/acpi/thermal_zone/THM0/temperature最近笔记本的风扇老是转个不停,搜索了一些原因,说是无线网卡的原因,可以把无线网卡调到省电模式,sudo iwconfig wlan0 power on允许会有错误:Error for wireless request "Set Power Management" (8B2C) : SET failed on device wlan0 ; Operation not supported.继续寻找问题,发现有怀疑是netmanager正在允许,于是diable它:sudo /etc/init 阅读全文
posted @ 2011-05-05 06:53 SmartVessel 阅读(1307) 评论(0) 推荐(0)