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

Search:

Type: Posts; User: shawnlau

Search: Search took 0.07 seconds.

  1. Replies
    2
    Views
    1,439

    Re: enum versus private enum

    Well it doesn't seem the type of cast matters, but using private enum as opposed to just enum does matter. I'm just wondering why. I'm going through Ivor Horton's Visual C++ 2010 book and ran into...
  2. Replies
    4
    Views
    1,577

    Re: enum versus private enum

    Well I guess not.
    I'm not looking for hall monitors, I'm looking for help and it appears I'm in the wrong place.

    Nice plaque - it swept me off my feet. Bye.
  3. Replies
    2
    Views
    1,439

    enum versus private enum

    The following code works in VC++ 2010 but generates numerous errors in VC++ 2012:

    #include "stdafx.h"

    using namespace System;

    enum class Months{January = 1, February, March, April };

    int...
  4. Replies
    4
    Views
    1,577

    Re: enum versus private enum

    I'm going to move it there. I hope you'll answer me there.
  5. Replies
    4
    Views
    1,577

    enum versus private enum

    The following code works in VC++ 2010 but generates numerous errors in VC++ 2012:

    #include "stdafx.h"

    using namespace System;

    enum class Months{January = 1, February, March, April };

    int...
Results 1 to 5 of 5





Click Here to Expand Forum to Full Width

Featured