在c++中没有using namespace std也可以用std:: cout和std::endl吗??为什么有时候书上是std::cout或std::endl,有的就没有加std::,这是什么原因啊???请大家帮忙解释以下啊!! 谢谢!!!为什么有的程序用了using namespace std ,有的cout前面加了std::而有的就没加,请问这又是什么原因呢?????