Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can someone tell me what the Operator " : " is for?

Status
Not open for further replies.

pghsteelers

Technical User
Apr 21, 2006
121
US
Can someone tell me what the following statement in a class says....I can't find anywhere including searching in VS help what the " : " is for:

CStack() : next(0) {}
...
...
...


Thanks,
 
Constructor Initialization. It constructs next with the parameter 0.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top