aux[c] = ""; // here "" is a char *
aux
is a char *
, therefore aux[c]
is a char
(not a string ""
)
aux[c] = '';
As written in the comments, there still have other mistakes in the rest of the code: for example aux
value is erased.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…