Whats the difference between new Foo; and new Foo();
Posted
by uberjumper
on Stack Overflow
See other posts from Stack Overflow
or by uberjumper
Published on 2010-04-16T04:13:28Z
Indexed on
2010/04/16
4:23 UTC
Read the original article
Hit count: 257
Can someone please explain what is the different between calling new like:
foo = new QtWidget();
I noticed alot of Qt's examples do this:
foo = new QtWidget;
I tried to Google this but didn't come up with anything.
© Stack Overflow or respective owner