Not a reply to your question, but just for completeness. Always prefer initialization to assignment for member variables. What you've done in the constructor is assignment. Do the following for initialization instead -
Miembro(int a, int b, int c) : id(a), activo(b), pass(c)
{
}
«_Superman_» _I love work. It gives me something to do between weekends.
_Microsoft MVP (Visual C++)
Polymorphism in C