This macro is used to access the platform specific error output stream.
This macro is used to access the platform specific error output stream. This is to be used in preference to assuming cerr is always available. On Unix platforms this is cerr but for MS-Windows this is another stream that uses the OutputDebugString() Windows API function. Note that a MS-DOS or Windows NT console application would still use cerr.The PError stream would normally only be used for debugging information as a suitable display is not always available in windowed environments.
The macro is a wrapper for a global variable PErrorStream which is a pointer to an ostream. The variable is initialised to cerr for all but MS-Windows and NT GUI applications. An application could change this pointer to a ofstream variable of PError output is wished to be redirected to a file.
Alphabetic index HTML hierarchy of classes or Java