Possible Duplicate:
Do the parentheses after the type name make a difference with new?
I believe this question was already asked, but I cannot find it with a quick search.
Foo ob* = new Foo;
Foo ob* = new Foo();
Is there a difference between these two ways of creating an object in C++? If not then is one of these considered a bad practice? Does every compiler treats it the same?