\"We do not use C++ exceptions.\"
If you don\'t use exceptions, what happens when there\'s an error? You just let the program crash?
You use the error-code-returning versions of functions and act according to the return value.