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

Search:

Type: Posts; User: monarch_dodra

Search: Search took 0.03 seconds.

  1. Re: Stack around the variable '' was corrupted

    And just so you know, these kinds of check are usually much more frequent in debug builds than production builds (for obvious reasons).

    This is why you usually want to code in debug.
  2. Re: Stack around the variable '' was corrupted

    If you want my guess, global objects and local objects are not created in the same "space" (since locals can only be seen in a closed scope, and constantly built and destroyed. Globals are visible by...
  3. Re: Stack around the variable '' was corrupted

    for(a=0; a<=SIZE; a++)

    That should be


    for(a=0; a<SIZE; a++)

    If your array as a size of 10, then the last index is 9.

    Why did your first program run and not the second? I have no idea,...
Results 1 to 3 of 3





Click Here to Expand Forum to Full Width

Featured