Can you please try the following simple C++ test. This code goes into the header file:
class simpleTestClass
{
private:
int m_nSimpleHeight;
int m_nSimpleWidth;
public:
simpleTestClass() { }
simpleTestClass(int nSimpleHeight, int nSimpleWidth);
};
and this code goes into the matching cpp file:
simpleTestClass::simpleTestClass(int nSimpleHeight, int nSimpleWidth)
{
m_nSimpleHeight = nSimpleHeight;
m_nSimpleWidth = nSimpleWidth;
}
in the cpp file the class member variables are NOT shown in bold, while the constructor parameters ARE shown in bold, both where they are passed in and again where they are used.
Do you see the same results on your system, or are you getting a different result?