C++ program

This is a discussion on C++ program within the C++ Programming forums, part of the General Programming Boards category; 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 ...

  1. #1
    Registered User
    Join Date
    Nov 2010
    Posts
    2

    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,
    Charles

  2. #2
    a_capitalist_story
    Join Date
    Dec 2007
    Posts
    2,655
    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
    Posts
    2
    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,
    Charles

  4. #4
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,828
    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.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

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, 11:04 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21