Possible Duplicate:
Do the parentheses after the type name make a difference with new?
What do the following phrases mean in C++: zero-, default- and value-initialization?
I've used vector without any problem but i still have a question about it. I always use code like this,
vector<int>* v1 = new vector<int>;
so, can i use:
vector<int>* v2 = new vector<int>();
I know what () does, but whats the difference? In v1, does vector ever initialize any integer?