Data types in C++
All data types are defined by the C typedef statement.
The type ImqBoolean is defined as unsigned char in IMQTYPE.H and can have the values TRUE and FALSE. We can use ImqBinary class objects in place of MQBYTE arrays, and ImqString class objects in place of char *. Many methods return objects instead of char or MQBYTE pointers to ease storage management. All return values become the responsibility of the caller, and, in the case of a returned object, the storage can be disposed of using delete.
Parent topic: C++ language considerations