摘要: C++创建对象有两种方式,在栈上创建对象(Objects on the Stack)和在堆上创建对象(Objects on the Heap)。 假设我们有以下的类: 1 #include 2 using std::string; 3 4 class SpreadsheetCell{ 5 ... 阅读全文
posted @ 2013-08-14 16:56 macemers 阅读(11953) 评论(0) 推荐(1) 编辑