Home > Back-end >  To solve the
To solve the

Time:10-31

A, why d=a=7, d is equal to 5?

CodePudding user response:

Mainly your printing function, you are using an instance, rather than reference, each call to print, will create a temporary variable, print out the results of the value of the variable is the temporary;
Suggest you check the copy constructor and invoke the timing,

CodePudding user response:

How to convert the number of type string for type double figures

CodePudding user response:

Double x=stod (STR);

CodePudding user response:

When you call the output function in front travels is value, belongs to the value transfer does not change the value of the object a
  • Related