c++ - What is this odd thing after the colon in a C++constructor definition? -


possible duplicate:
what weird colon-member syntax in constructor?

i need know code means:

cman::cman() : m_pthread (null)  //m_pthread pointer other class { } 

i don't understand code. null mean ? can use regular constructor ?

it says initialize m_pthread null before code inside constructor executed.


Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -