- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
foo(int objType)
{
std:string sObjType;
char outStr[256];
memset(outStr,NULL,256);
sprintf(outStr,"0x%x",(unsigned int)objType);
sObjType = outStr;
//…
std::ostringstream str;
str << "Ready: list of objects, type " << sObjType;
TRACE(str.str());
}