|
|
Just to confirm something, Warp. This
std::vector<double> myVector(3);
is instantiating a double vector, with an initial size of 3 elements, yes?
Also, do you prefer to always add "std::", or do you think it's ok to toss
in the respective "using"? (Say, as long as this file is not to be included
in another.) And on that topic, is there, or wouldn't it be neat if there
were, something like "stop using", so you could do things like this?
using namespace std;
/* do your thing */
stop using namespace std;
:)
--
Anthony Bennett
Post a reply to this message
|
|