Origin Ver. and Service Release: Origin8, SR6
Operating System: Win XP
Hi,
is operator overloading possible in OriginC?
Like:
void MyError::operator<<(int nErrorCode)
{
ReceiveOccuredError(nErrorCode);
}
I imagined to create a MyError-Object, which receives occured errors of called methods.
With this object I could return Error-Messages when some errors occured.
Or would you recommend to use try and catch statements for error-handling?
|-- TreeNode
...|-- a??
...|-- ha!!