assert

This is a discussion on assert within the C++ Programming forums, part of the General Programming Boards category; I want to ask how does the assert function work and how it's used, what I know is that it's ...

  1. #1
    Just a Member ammar's Avatar
    Join Date
    Jun 2002
    Posts
    953

    assert

    I want to ask how does the assert function work and how it's used, what I know is that it's used to check if the dynamic memory have been allocated.

    Thanks in advance...
    none...

  2. #2
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,789

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Assert command
    By Albinoswordfish in forum C Programming
    Replies: 14
    Last Post: 12-24-2008, 08:03 PM
  2. Can you check what is wrong with this code
    By Ron in forum C++ Programming
    Replies: 4
    Last Post: 08-01-2008, 10:59 PM
  3. Customized assert question...
    By Raigne in forum C++ Programming
    Replies: 10
    Last Post: 02-21-2008, 03:28 AM
  4. assert
    By George2 in forum C Programming
    Replies: 1
    Last Post: 10-22-2007, 03:17 AM
  5. Assert
    By Shamino in forum C++ Programming
    Replies: 8
    Last Post: 01-24-2006, 10:02 AM

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