hi,
I have existing C++ classes and I have to create corresponding "structs" in C for them.
how do we do that:
for e.g.
i have one class as
class Anand
{
private:
ClassA a;
public:
static const char * b;
Anand()
{
};
~Anand()
{
};
virtual int getxyz()
{
//return some integer
};
classA getName()
{
// return some object of type classA
};
};
what will be the corresponding struct to this class ??
thanks
pls also tell me few good links about C and C++.
I have existing C++ classes and I have to create corresponding "structs" in C for them.
how do we do that:
for e.g.
i have one class as
class Anand
{
private:
ClassA a;
public:
static const char * b;
Anand()
{
};
~Anand()
{
};
virtual int getxyz()
{
//return some integer
};
classA getName()
{
// return some object of type classA
};
};
what will be the corresponding struct to this class ??
thanks
pls also tell me few good links about C and C++.