Thread: C++ program

  1. #1
    Registered User
    Join Date
    Nov 2010

    C++ program

    Hello there people.

    I've a problem here, related to this: _BLOCK_TYPE_IS_VALID(pHead->nBlockUse).

    I'd like to know if it's possible for you to help me out here with this.

    What could be causing this error? It pops up when the program finish running.

    The code is in C++ with standard library and I'm using classes.

    If someone could help me out, I can send the code.

    Best regards,

  2. #2
    Join Date
    Dec 2007
    You're somehow trashing your memory. You're going to have to show the code to get further help.

  3. #3
    Registered User
    Join Date
    Nov 2010
    Well, I could put in here but I rather prefer to send by PM. I've tried to send to you but I think I don't have that previlege (some message tell me that).

    How can I send to you?

    Best regards,

  4. #4
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    The edge of the known universe
    Posting it on the forum will get you the quickest (and eventually) the most accurate (in case the early responders get it wrong) answer.

    Plus everyone else has an opportunity to learn - which is why we're all here.

    > What could be causing this error?
    - You didn't allocate it to begin with
    - You deleted it more than once
    - You tried to use it after deleting it
    - You did new [ ], but only delete (or new + delete [ ])
    - You allocated x elements, but tried to access more than that
    + some others as well, take your pick.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Issue with program that's calling a function and has a loop
    By tigerfansince84 in forum C++ Programming
    Replies: 9
    Last Post: 11-12-2008, 01:38 PM
  2. Need help with a program, theres something in it for you
    By engstudent363 in forum C Programming
    Replies: 1
    Last Post: 02-29-2008, 01:41 PM
  3. Replies: 4
    Last Post: 02-21-2008, 10:39 AM
  4. My program, anyhelp
    By @licomb in forum C Programming
    Replies: 14
    Last Post: 08-14-2001, 10:04 PM