KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I am still learning C++ and trying to understand it. I was looking through some code and saw: point3(float X, float Y, float Z) : x(X), y(Y), z(Z) // <----- what is this used for { } What is the meaning of the "x(X), y(Y), z(Z)" sitting beside the constructor's parameters?
Tags (comma-separated)
Save Edits
Cancel