erm i learn new thing, its a bad idea to use "using directive" inside a class declaration, because this can leads to ambiguous functions/statements inside the main program.
using namespace std;
the question is, is it okay to use "using declaration" inside a class declaration?
such as :
using std::cout;
using std::endl;
in my mind, i think its okay, but im not really sure about it.