StupidBeauty
Read times:760Posted at:Sun Sep 8 19:10:25 2013
- no title specified

转载:“warning: this decimal constant is unsigned only in ISO C90”的解决办法

标题中所说的这个警告,一般在妳于代码中使用咯一个其值特别大的整数型常量时出现,解决办法就是明确告诉编译器妳要求将这个常量作为一种更大容量的数据类型的常量对待。例如,4294907157这个大常量就写成4294907157U,表示要明确将它当成无符号整型常量来对待。

http://www.cnblogs.com/heart-runner/archive/2011/12/16/2290204.html

亮点:

强制转型

unsigned int i = 2394967295U ;


徐静蕾

Your opinions
Your name:Email:Website url:Opinion content:
- no title specified

HxLauncher: Launch Android applications by voice commands

 
Recent comments
2017年4月~2019年4月垃圾短信排行榜Posted at:Thu Sep 26 04:51:48 2024
Qt5.7文档翻译:QWebEngineCookieStore类,QWebEngineCookieStore ClassPosted at:Fri Aug 11 06:50:35 2023盲盒kill -9 18289 Grebe.20230517.211749.552.mp4