回复:别的不说,singleton 没答好,有点儿说不过去。

来源: 2009-03-05 09:26:00 [旧帖] [给我悄悄话] 本文已被阅读:

in C++, you can use a static object as singleton.

also, the UTF-8 question is hard. unless you have worked on utf-8, it is hard to answer it correctly.