Home > Back-end >  Don't understand, ask and solve
Don't understand, ask and solve

Time:09-25



1. The first two array object has with arguments, after the constructor initializes should not these arguments, too?
2. Why is the use of the last member function arguments?

CodePudding user response:

Print is the incoming parameters I + 10, I + 20, I=0,1,2,3,

CodePudding user response:

refer to 1st floor met the goddess response:
printing was introduced into the parameter I + 10, 20, I + I=0,1,2,3,

(two arguments array does not do not have what meaning

CodePudding user response:

The code is not complete, let a person can't detailed answer,,,,,,,
Roughly a guess?
You are
Point pointArray [4]=...
Only initialize the two objects, and the length of the array is 4, the other two nature calls the default constructor,
Best you pasted the code, don't let people guessing,,,,

CodePudding user response:

reference 3 floor truth is right or wrong response:
code is not complete, let a person can't detailed answer,,,,,,,,,
Roughly a guess?
You are
Point pointArray [4]=...
Only initialize the two objects, and the length of the array is 4, the other two nature calls the default constructor,
Best you pasted the code, don't let people guessing,,,,

My hair is all the code, at least to is this the book

CodePudding user response:

refer to the second floor Mitogawa response:
Quote: refer to 1st floor met the goddess response:
printing was introduced into the parameter I + 10, I + 20, I=0,1,2,3,

(two arguments array does not just do not have what meaning
what meaning, on the previous code description:
"The following through an example... "
The author is writing,


  • Related