User profile: Olaf

User info
User name:Olaf
Name:Olaf
Location:Hong Kong
History
Joined:
Number of posts:6
Latest posts:

how to correctly initialize instances of a class?
Perfect. For future reference: "uniform initialization" and "C++'s 'Most Vexing Parse' " are 2 keywo...

Output the Correct Standard Deviation
Shouldn't it be [code]double Standard_Deviation::standard_deviation(int num) { answer = sqrt(((1.0...

how to correctly initialize instances of a class?
Hm, ok, that is an even better explanation ... but why do the statements [code] int main() { CLAS...

how to correctly initialize instances of a class?
Hello Yanson, interesting thought ... that could explain it. [code]class CLASS1 { VarType Name(Pa...

Output the Correct Standard Deviation
I have 2 suggestions for you: (1) what do you mean by "to return the result"? To return it to the c...