Check out http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dncode/html/secure01142004.asp David LeBlanc introduces a SafeInt template class that throws exceptions whenever integer overflow occurs.
Loading User Information from Channel 9
Something went wrong getting user information from Channel 9
Loading User Information from MSDN
Something went wrong getting user information from MSDN
Loading Visual Studio Achievements
Something went wrong getting the Visual Studio Achievements
Check out http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dncode/html/secure01142004.asp David LeBlanc introduces a SafeInt template class that throws exceptions whenever integer overflow occurs.