<分区>
Possible Duplicate:
Do the parentheses after the type name make a difference with new?
在C++中,这两个语句有什么区别?
Class clg
{
public :
int x,y,z;
};
int main(void)
{
clg *ptrA = new clg; //
clg *ptrB = new clg(); // what is the importance of "()" ???
return 0;
}