Tuesday, July 28, 2009

What does this message in visual studio 2005 mean?

"Debug Assertion Failed!





Program:...


File: fgets.c


Line: 57





Expression: (str!=NULL)





For information on how your program can cause an assertion failure, see the Visual C++ documentation on asserts.





(Press Retry to debug the application)"


I have no idea how to fix this... I tried to debug, but i don't understand anything...





Another thing, why do we type srand(time(NULL)) before using rand()???


NOTE: I am working on a win32 console application

What does this message in visual studio 2005 mean?
Can't = a Null...instead look at the isnull and isdbnull functions...


No comments:

Post a Comment