I just stumbled upon the following constructor source code.
testProg::testProg() : CCProg()
{
m_UID = n_UID = 0;
}
Usually the constructor looks in accordance with my understanding:
testProg::testProg()
{
m_UID = n_UID = 0;
}
So, I wonder what the purpose of this CCProg () is, it would be great if someone could quickly tell me what is going on here. Thanks!
Andrew
source
share