C++ Header files

Header files are provided as part of the definition of the MQI, to help you write IBM MQ application programs in the C++ language.

These header files are summarized in the following table.

Filename Contents
IMQI.HPP C++ MQI Classes (includes CMQC.H and IMQTYPE.H)
IMQTYPE.H Defines the ImqBoolean data type
CMQC.H MQI data structures and manifest constants
To improve the portability of applications, code the name of the header file in lowercase on the #include preprocessor directive:
#include <imqi.hpp> // C++ classes
Parent topic: C++ language considerations