- 博客(4)
- 收藏
- 关注
原创 今天真晕呀
搞了一天还没有搞清楚bool operator ==(const testing & a ,const testing & b){ return a.variable==b.varialbe;}我想因为他是全局的吧,如果写成局部bool testing::operator == (const testing & a){ return variable==a.variable;}
2010-08-22 19:59:00
246
原创 scope
<br />class Screen{<br />typedef std::string::size_type index<br />....................<br />}<br />char Screen::get(index r,index c)const=char Screen::get(Screen::index r,Screen::index c)const
2010-08-22 00:41:00
207
原创 this pointer
static void function()=class::function();void function()=foid function(this *)
2010-08-21 15:46:00
272
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人