blob: 2d49be82fb90f847ac41703ea9a2d905714e1f99 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#include "mystl.h"
#include <iostream>
#include "myassert.h"
#ifndef STANDARD_ASSERT
void myerror(int line,const char *file,const char *expression)
{
cerr << "(general.h):Assertion failed: '" << expression << "' ::: b "
<< file << ":" << line << endl;
cout << "(general.h):Assertion failed: '" << expression << "' ::: b "
<< file << ":" << line << endl;
}
void imyerror(int line,const char *file,const char *expression)
{
cerr << "Error: '" << expression << "' ::: in Source " << file
<< ":" << line << endl;
}
#endif
|