摘要: const用于修饰函数时,一般是const修饰类的成员函数(函数定义体),表示在函数体中成员变量不能改变; 其函数形式为:int ff(void)const; const修饰函数的返回值,用于返回常量; 如const int ff(); //返回的是常量,所以必须这么调用 const int a... 阅读全文
posted @ 2014-03-04 18:20 byfei 阅读(155) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2014-03-04 16:10 byfei 阅读(121) 评论(0) 推荐(0) 编辑
摘要: windows下 C:\Python27\Tools\Scripts>python setup.py install 如果不行就执行你自己放pb的目录下,下面是我的 D:\lua-protobuf\protobuf-2.4.1\python>setup.py install 阅读全文
posted @ 2014-03-04 01:48 byfei 阅读(2293) 评论(0) 推荐(0) 编辑