Hi,
I try to write an bool Value into a member Atribute m_Value.
m_Value is an 32 word a 32 bits,
I think that means:
The Function can look like that:
I try to write an bool Value into a member Atribute m_Value.
m_Value is an 32 word a 32 bits,
I think that means:
Code:
unsigned short* m_Value;
or
unsigned short m_Value[32];
The Function can look like that:
Code:
void CClass::setBoolValue(bool bValue,unsigned short WordNo,unsigned short BitPos){
unsigned short WordNr = m_Value[WordNo];
}