The information in this article applies to:
SYMPTOMSIf you try to pass an __int64 variable to the ostream operator <<, you get the following error:
CAUSEThere is no operator << for __int64 type defined for the ostream class. RESOLUTIONDefine your own version of operator <<. The following sample code section shows a simple solution for << operator that converts the __int64 variable to a char * type and passes it to the ostream << operator. STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. MORE INFORMATIONThe following sample program demonstrates the problem and workaround:
Additional query words:
Keywords : kberrmsg kbCRT kbVC kbVC500bug kbVC600bug |
Last Reviewed: May 18, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |