I know that the colon is used for inheritance.

class x
{
public:
  long y;
}

class Z : X
{
public:
  virtual void ret_value(y);
}

but what does this mean?

int offset:16;

i cannot find he answer to this anywhere.

thanks. that cleared alot of things up.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.