fstream stopping math.h from working
- by CaptainProg
I am creating a program in C++ in which I need to read a text file in. I have included the fstream header file, which allows me to open the file, but having added the include, I now receive countless errors relating to math.h functions. Examples:
1>c:\program files\microsoft visual studio 10.0\vc\include\cmath(19): error C2061: syntax error :…