Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
for(const ushort *u=0x4E00; u <= 0x9FA5; u++){ qDebug() << QString::fromUtf16(u); }
error: cannot initialize a variable of type 'const ushort *' (aka 'const unsigned short *') with an rvalue of type 'int'
@sonichy 1. Why do you declare u as pointer? 2. Why do you declare u as const (you can't increment const)?
for(ushort u=0x4E00; u <= 0x9FA5; u++){ qDebug() << QString::fromUtf16(&u); }