Help finding solution to illegal operator

This is a discussion on Help finding solution to illegal operator within the C++ Programming forums, part of the General Programming Boards category; Hello everyone.
In the following code, I get a C2296 error when I try to compile in VC++ 6.0. The ...

Help finding solution to illegal operator

Hello everyone.

In the following code, I get a C2296 error when I try to compile in VC++ 6.0. The error reads: error C2296: '/' : illegal, left operand has type 'double [10]'. I have tried to find a solution, but I do not understand why this happens. I have never had this problem before. If anyone has suggestions, I would appreciate the help.
Here is the code: