When I build this with VisualStudio, it complained that binary '<<': no operator found which takes a right-hand operand of type 'const double' How can I fix it?