[LC++]using std::

alain alainbe at free.fr
Thu May 15 13:09:02 UTC 2003


Hello,

I have a little problem with "using".

\\...
#include <cmath>
\\...
main{
\\
}
$c++ test.cpp
I had no error messagge, else if I write
\\...
#include <cmath>
using std::math;
\\...
main{
\\
}
$c++ test.cpp
I had the error: "math not declared".

This error happens on a Mdk 9.0 system (gcc3.2???) but not on my debian
3.0 box (gcc2.95).
What's wrong?

Regards,

alain

-- 
alain <alainbe at free.fr>




More information about the tuxCPProgramming mailing list