I have this statement in a function:
m is a pointer to a string. temp_xid is an unsigned long. For some reason, an assertion failure is occurring inside cout every time I try to pass a numeric constant or variable. temp_xid, long, int, short and double cause this problem, but inserting a char does not.
Any ideas?
Code:
cout << m << ", XSet ID# " << temp_xid;
m is a pointer to a string. temp_xid is an unsigned long. For some reason, an assertion failure is occurring inside cout every time I try to pass a numeric constant or variable. temp_xid, long, int, short and double cause this problem, but inserting a char does not.
Any ideas?