create instance(object) should use new, or it will not call the constructor method
malloc is used to malloc memory for pointer(structure, char, int and so on), not for class

posted on 2007-04-19 09:31  左左右右  阅读(181)  评论(0编辑  收藏  举报