Tag: string interning

如何在C或C ++中进行字符串实习?

有没有像C或C ++中的intern()方法,就像在Java中一样? 如果没有,我怎样才能在C或C ++中进行字符串实习 ?