First remember that Dev-C++ is
not the compiler. The compiler is gcc.
Second, in C++ you won't be able to use
any functions if the functions are not declared. You can't compile any C++ module if you call a function that isn't previously declared, or if not declared, the entire function body exists before the call. Those are the rules of C++.
If you want proof, try to compile this simple program:
Code:
int main()
{
double x = sqrt(4.0);
}
This will also not compile, since sqrt() isn't declared.
Regards,
Paul McKenzie