回複:別的不說,singleton 沒答好,有點兒說不過去。

回答: 今天麵試完很受打擊吳用先生2009-03-04 15:11:04

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.

所有跟帖: 

It was a C++ interview, -吳用先生- 給 吳用先生 發送悄悄話 (467 bytes) () 03/05/2009 postreply 10:44:10

why it needs a copy ctor? why make copy constructor "protected" -戲雨飛鷹- 給 戲雨飛鷹 發送悄悄話 戲雨飛鷹 的博客首頁 (356 bytes) () 03/05/2009 postreply 11:50:35

the interviewer said -吳用先生- 給 吳用先生 發送悄悄話 (186 bytes) () 03/05/2009 postreply 12:31:48

ok. -戲雨飛鷹- 給 戲雨飛鷹 發送悄悄話 戲雨飛鷹 的博客首頁 (0 bytes) () 03/05/2009 postreply 12:40:14

請您先登陸,再發跟帖!