Search:

Type: Posts; User: jrohde

Search: Search took 0.00 seconds.

  1. Replies
    5
    Views
    1,617

    The portion of source code you provided is not...

    The portion of source code you provided is not even 30+ lines long, so it's hard for us to tell where line 30 is. That's where your errors are, but there's no way for us to tell which line(s) of...
  2. Replies
    11
    Views
    1,963

    Why exactly just 2 reasons? In reality, there...

    Why exactly just 2 reasons?

    In reality, there are many more than just 2 reasons to use C and/or C++ (mostly C++ though). For one thing, don't let anyone tell you it's no longer relevant (heck,...
  3. Replies
    5
    Views
    7,122

    Good point. I should note that originally, this...

    Good point. I should note that originally, this class did not use std::vector internally, and those are relics from the old code I should have just eliminated. Had I done that in the first place,...
  4. Replies
    5
    Views
    7,122

    Judging by similar posts elsewhere (none exactly...

    Judging by similar posts elsewhere (none exactly similar to my situation), it appears to be an issue with iterator stuff specifically used in DEBUG mode. If one were to ask Microsoft, I'm sure...
  5. Replies
    5
    Views
    7,122

    Vector iterators incompatible

    Hello,

    First, let me state that I have solved the issue that was giving me the VC++ debug assertion: "Expression: vector iterators incompatible". It's just that I'm not exactly how my change made...
  6. Replies
    3
    Views
    1,009

    Yes, you'll use ": public Snake" in your AISnake...

    Yes, you'll use ": public Snake" in your AISnake declaration.

    Then, the next step is removing all the identical members from the derived class, since they will already exist in the base class. ...
  7. Replies
    4
    Views
    26,822

    The problem is that you cannot declare an array...

    The problem is that you cannot declare an array as a class member the way you have int the first version of your class declaration, since the compiler doesn't know how much memory to allocate on the...
  8. Replies
    4
    Views
    11,557

    You know what? I revisited MSDN, and it does...

    You know what? I revisited MSDN, and it does indeed say, "typically immediately before the program exits". I have no idea what page I saw that said "somewhere in your code". But I know it was...
  9. Replies
    4
    Views
    11,557

    MSDN wasn't specific as to exactly where to put...

    MSDN wasn't specific as to exactly where to put that line - they say the statement should be placed "somewhere in your code." I was under the impression that it simply turned on some kind of global...
  10. Replies
    4
    Views
    11,557

    Memory Leak in AppWizard-Generated Code

    Hello,

    Has anyone ever experienced memory leaks in AppWizard-generated projects? I won't waste

    time explaining what prompted me to check this out, but the ONLY code I have inserted into
    ...
  11. User-defined message problem in MFC dialog-based app

    Hello all,

    The very short MFC dialog-based app I'm testing is shown below - I'm having issues with the message map of my user-defined message.


    #define IDM_MYMESSAGE (WM_USER + 1)

    #include...
Results 1 to 11 of 11