I'm new here and I wish that you can resolve this question, it is a constant error or omission on my programs when I use a data type char on referentiation in objects derived of struct's or classes. This is my source. Thanks in advance.
struct test{
public:
char cadena[20];
int num;
}objeto;
int main(){
test *POJ = &objeto;
(*POJ).cadena="Hello Guys";
POJ->num=23;
cout<<(*POJ).cadena<<", "<<POJ->num;
}