C
ccs
class csingle
{
public:
static csingle membs;
int n1, n2, n3;
csingle(int v1, int v2, int v3)
{
...
}
....
};
csingle csingle::membs(5, 7, 13);
Is there anything wrong with the code for creating a single instance of
csingle?
How to get the address of the object "csingle::membs"?
{
public:
static csingle membs;
int n1, n2, n3;
csingle(int v1, int v2, int v3)
{
...
}
....
};
csingle csingle::membs(5, 7, 13);
Is there anything wrong with the code for creating a single instance of
csingle?
How to get the address of the object "csingle::membs"?