assert() is a good way to notify errors but I want to cout an elaborate message.
Of course the following method will work but I needed something better:
if(error){
cout<<"Elaborate message";
assert(0);
}
Good tips anyone?
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 7 of 7
Threaded View
Tags for this Thread |
Click Here to Expand Forum to Full Width |