i want to make class which has one string atributte. But if string has length more then 50 characters i dont want create object. What should i do?
{
if (paSlovo.length() <= DLZKA_SLOVA)
aSlovo = paSlovo;
else
delete this;
} ```