Saint Nick
Lifer
I compile my program, and I get these errors:
program19.cpp: In function `void generateSieve(bool*, int)':
program19.cpp:63: call of overloaded `sqrt(int)' is ambiguous
/usr/include/bits/mathcalls.h:157: candidates are: double sqrt(double)
/usr/include/c++/3.2.2/cmath:465: long double std::sqrt(long
double)
/usr/include/c++/3.2.2/cmath:461: float std::sqrt(float)
Here is the code involved:
program19.cpp: In function `void generateSieve(bool*, int)':
program19.cpp:63: call of overloaded `sqrt(int)' is ambiguous
/usr/include/bits/mathcalls.h:157: candidates are: double sqrt(double)
/usr/include/c++/3.2.2/cmath:465: long double std::sqrt(long
double)
/usr/include/c++/3.2.2/cmath:461: float std::sqrt(float)
Here is the code involved: