igualmente fijate, poné tu código en este compilador online de C/C++ y fijate que hay varios problemas
http://www.compileonline.com/compile_cpp_online.php
fijate si los podés arreglar para que al menos se compile en el compilador online así te podemos ayudar mejor .
http://www.compileonline.com/compile_cpp_online.php
Citar
Compiling the source code....
$g++ /tmp/136516399727456.cpp -o /tmp/136516399727456 -lm 2>&1
/tmp/136516399727456.cpp: In function 'int main()':
/tmp/136516399727456.cpp:29: error: incompatible types in assignment of 'double' to 'double [1000000]'
/tmp/136516399727456.cpp: In function 'void Histogram(double*, double*, int, int, double*, double*, double*)':
/tmp/136516399727456.cpp:73: error: invalid operands of types 'double*' and 'double' to binary 'operator<'
/tmp/136516399727456.cpp:73: error: cannot convert 'double*' to 'double' in assignment
/tmp/136516399727456.cpp:74: error: invalid operands of types 'double*' and 'double' to binary 'operator>'
/tmp/136516399727456.cpp:74: error: cannot convert 'double*' to 'double' in assignment
/tmp/136516399727456.cpp:86: error: invalid operands of types 'double*' and 'double' to binary 'operator-'
/tmp/136516399727456.cpp:100: error: invalid operands of types 'double*' and 'double' to binary 'operator*'
/tmp/136516399727456.cpp:100: error: in evaluation of 'operator*=(double*, double)'
fijate si los podés arreglar para que al menos se compile en el compilador online así te podemos ayudar mejor .