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

Search:

Type: Posts; User: @bhi

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    6,989

    Re: heap corruption after vector push_back

    I found the reason, Actually *ptr memory in structure was destroyed already by the bad usage of realloc() and when push_back in vector it tried to refer but didn't find data.
  2. Replies
    5
    Views
    6,989

    heap corruption after vector push_back

    I have been stuck in one problem of heap corruption.
    The problem i traced occurs after vector push_back.



    //I have two structures in cpp
    struct name
    {
    int a;
    int b;
Results 1 to 2 of 2





Click Here to Expand Forum to Full Width

Featured