| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
The assert command
Could anybody give me an explination of what the assert() command does. Thanks for any help.
|
|
#2
|
|||
|
|||
|
The ANSI assert macro is typically used to identify logic errors during program development by implementing the expression argument to evaluate to false only when the program is operating incorrectly. After debugging is complete, assertion checking can be turned off without modifying the source file by defining the identifier NDEBUG. NDEBUG can be defined with a /D command-line option or with a #define directive. If NDEBUG is defined with #define, the directive must appear before Assert.h is included.
now i didt came with that from knowlegde so dont start thinkin i am a smart person i got it from here http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclib/html/_CRT_assert.asp also like people told me before before posting here atleast do some search we arent here to do ur work but cause i was interested in this topic i did the search : ) but between u and me other people here like to act all that and i wont like to start mention names cause ill probably get a warning (*cough*)(*cough*)(*cough*)by B-Con(*cough*)(*cough*) , lol plz dont give me warnin but w/e if i do get one but no really B-Con is an really good person to when it comes to C++ and ill do his work for him by tellin u that plz do research in basic things like this |
|
#3
|
|||
|
|||
|
Thanks for the info dude.
|
|
#4
|
||||
|
||||
|
Quote:
Your contributions do not go overlooked, BloodlustShaman btw, You can stop side-communicating with me in your posts, as you can rest assured I do indeed read all of your posts anyway. If you have an issue to discuss, feel free to send me a PM.
__________________
Officially a member of the Itsacon fan club. Beer blasts are every friday at Viper_SB's house. I bring the chips. ![]() |
|
#5
|
|||
|
|||
|
b-con
wel first is first what is btw and PM(just wondering) also nah i do not got any problem with u but i was just mentioing that he/she should do some research before posting in furoms (like u mentioned before) and its not like if i was name calling u or something p.s. plz reply to the just wondering things |
|
#6
|
||||
|
||||
|
"btw" = "By The Way"
"PM = "Private Message" - It's a way for members to send private posts to each other for non-public communications. You can PM me if you wish to discuss anything farther. |
![]() |
| Viewing: Dev Articles Community Forums > Programming > C/C++ Help > The assert command |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|