T
tt123tt
Unregistered / Unconfirmed
GUEST, unregistred user!
class obj
{
char c;
public:
obj(char C) :c(C) //请问这个:c(C)是什么意思起什么作用??
{
out<<"obj:bj() for "<<c<<endl;
}
.......
.......
.......
};
{
char c;
public:
obj(char C) :c(C) //请问这个:c(C)是什么意思起什么作用??
{
out<<"obj:bj() for "<<c<<endl;
}
.......
.......
.......
};