Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: rainbringer

Search: Search took 0.01 seconds.

  1. Replies
    6
    Views
    516

    Re: Minimal integer value rolled-up

    O.K., I got it.
    Thanks to all for your quick answers!
  2. Replies
    6
    Views
    516

    Re: Minimal integer value rolled-up

    I've checked in <limits.h>. INT_MIN defined as -2147483647-1. Why? Why not -2147483648 ?
    Why if I define #define MIN_VAL -2147483648 and do cout << MIN_VAL, I get +2147483648 ?

    I compile with...
  3. Replies
    6
    Views
    516

    Minimal integer value rolled-up

    Please explain me a strange (to me) behavior of the following piece of code:

    #include <iostream>
    using namespace std;

    #define MIN_VAL -2147483648

    typedef enum E_TEST
    {
Results 1 to 3 of 3


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center