Hello,
I have this 3 question:
1. I wonder what happen in a class declaration if I do using std::cout; and after cout << "hello"; or if I do std::cout << "Hello"; and more in general: is there any drawback to using "using std::mynamespace" instead of "using namespace mynamespace;" ?
2. .NET compiler gives warning on for(int i=0; i<vec.size();.............) then I use for (size_t i=0............) because "size()", I guess, return a size_t; but is size_t portable? or what is better? i < static_cast<int> (vec.size()) ? Or C -style cast, (int)
3. I've forgotten the third question right now........
Thanks...
Bookmarks