摘要: 例子typedef struct{ std:string features;} Row;Row row;row.feautres = "hello";可能出错,因为struct分配的时候,仅仅是分配内存空间,并没有对里面的对象进行必要的初始化,这样就有可能到只row.features.assig... 阅读全文
posted @ 2014-04-17 10:27 mongg 阅读(782) 评论(0) 推荐(0) 编辑