F
Fab
Dear all,
I am a little confused about the std namespace used for all c++ libs.
I am using g++ for compilation and I think my issue could also be
related to g++ rather than the c++ libs. Here's my issue:
When I use #include <iostream> in my code, I have to use the scope
operator or global the namespace std to access e.g. cout. However, when
I use #include <cmath> and want to use e.g. cos from that lib, the above
mentioned does somehow not apply. Why?
Thank you,
Fab
I am a little confused about the std namespace used for all c++ libs.
I am using g++ for compilation and I think my issue could also be
related to g++ rather than the c++ libs. Here's my issue:
When I use #include <iostream> in my code, I have to use the scope
operator or global the namespace std to access e.g. cout. However, when
I use #include <cmath> and want to use e.g. cos from that lib, the above
mentioned does somehow not apply. Why?
Thank you,
Fab