You have defined PI as = 3.1415. That means all occurrences of PI in the code will be substituted by = 3.1415 without caring much about the rules of C++.
That means this line ...
fResult = cos( fAngle * PI /180.0 );
... will become ...
fResult = cos( fAngle * = 3.1415 /180.0 );
... which obviously is not correct.
You can easily fix the problem by removing the = symbol when defining PI but I think a better solution is to not use #define at all. It's better to define constants using the const keyword because it will not give you any surprises like this.