"deprecated conversion from string constant to 'char*' [-Wwrite-strings]"
i have 1 struture:
and heres how i add the values:Code:struct SetText{ int PosX; int PosY; char *Text; };
why i recive that warning in: x->Text ="hello mother"; ?Code:SetText *x=new SetText; x->PosX=5; x->PosX=6; x->Text ="hello mother";