O
one2001boy
Hello,
If I have a class defined as:
class Test {
public:
.....
}
when I do the declaration,
should I go with
class Test t;
or
Test t;
which does C++ standard recommend? it seems that both can be compiled
and run successfully in C++, any pros and cons?
thanks.
If I have a class defined as:
class Test {
public:
.....
}
when I do the declaration,
should I go with
class Test t;
or
Test t;
which does C++ standard recommend? it seems that both can be compiled
and run successfully in C++, any pros and cons?
thanks.