Hello everyone,
I'm new to the use of assert(). I have included <assert.h> and understand how the condition works, but what is supposed to happen when an assertion fails? At this point, I just get a blank screen...
Using assert();
Re: Using assert();
use "sassert" from nds/arm9/sassert.h
This version will stop the software and print the message on the screen with the condition that failed.
Code: Select all
sassert(condition, "error message");
try, crash, debug and learn
Who is online
Users browsing this forum: No registered users and 4 guests