a******g 发帖数: 320 | 1 【 以下文字转载自 Programming 讨论区,原文如下 】
发信人: alexwang (alex), 信区: Programming
标 题: How to detect overflow in C?
发信站: Unknown Space - 未名空间 (Wed Jun 8 16:58:45 2005) WWW-POST
Overflow like: Try to use an int32 type to represent a 64-bit integer. Is
there any command or easy way to judge this in C?
Thanks a lot!
Xuan | b******p 发帖数: 23 | 2 turn on all compiler warnings
【在 a******g 的大作中提到】 : 【 以下文字转载自 Programming 讨论区,原文如下 】 : 发信人: alexwang (alex), 信区: Programming : 标 题: How to detect overflow in C? : 发信站: Unknown Space - 未名空间 (Wed Jun 8 16:58:45 2005) WWW-POST : Overflow like: Try to use an int32 type to represent a 64-bit integer. Is : there any command or easy way to judge this in C? : Thanks a lot! : Xuan
|
|