User profile: SCSI 73rm1n8r

User info
User name:SCSI 73rm1n8r
Statistical data
Occupation:Engineer
Skills:C
C++
Assembly
History
Joined:
Number of posts:11
Latest posts:

Standard Deviation Tempate Function
@Onanymous What you say about the mean calculation makes sense. The casts in the code I posted were...

Standard Deviation Tempate Function
The mean of a set of integers is not necessarily an integer, hence the floating point type.

Standard Deviation Tempate Function
[code]#include <cmath> template <typename T> double Mean(const T arr[], size_t n) { double me...

why i can't use array of references
Not as evil as this: [code] int a1(0), a2(1), a3(2), a4(3); // Not too evil Ref<in...

why i can't use array of references
[quote]...and having at least one reference as a class member makes the class uncopyable[/quote]That...