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

Search:

Type: Posts; User: JohnW@Wessex

Search: Search took 0.29 seconds.

  1. Replies
    3
    Views
    1,305

    Re: Back to some basic stuff (enum range).

    Sorry, being a bit dumb there. :blush:
    dark & light by definition will have the values of 0 & 1
  2. Replies
    3
    Views
    1,305

    Re: Back to some basic stuff (enum range).

    Depends on the values of dark & light.
    If dark = 0 & light = 1 then the values can be represented in one bit.
    The range of an unsigned 1 bit number is 0 to 1


    In binary 3 = 11 & 9 = 1001
    You...
Results 1 to 2 of 2





Click Here to Expand Forum to Full Width

Featured