using namespace std
std::cout << something; std::cin >> anything;
Its the same but I think that the first-line method is more handy, even if you have 2-3 commands to include.. But fairly often I see two other methods in someones code. Why so? Maybe they're differs in memory usage or whatever? Can anyone explain me?
I know, its nonsense. But Im asking myself - 'why so?'.. So I need any answer to be quiet :)