quick question

for a parameter delcaration such as
 
Something(double k = 0)


what does the k=0 mean.
does it mean that it takes in a double parameter and if no parameter exists then sets k to 0?
Yes.

-Albatross
thanks Albatross
exactly, and that is what the default parameter meant to be
Topic archived. No new replies allowed.