问个剧简单的问题...# Programming - 葵花宝典o*r2007-06-05 07:061 楼我知道C++ struct 里面有function,除了operator<> 以外C struct里面可以吗?平时没注意面试的时候被问到过
q*g2007-06-05 07:062 楼of course canC struct == C++ classexcept struct defaults to public, class defaults to private【在 o******r 的大作中提到】: 我知道C++ struct 里面有function,除了operator<> 以外: C struct里面可以吗?: 平时没注意: 面试的时候被问到过
o*r2007-06-05 07:063 楼thanks【在 q*****g 的大作中提到】: of course can: C struct == C++ class: except struct defaults to public, class defaults to private
t*t2007-06-05 07:064 楼huh? C compiler doesn't allow method...【在 q*****g 的大作中提到】: of course can: C struct == C++ class: except struct defaults to public, class defaults to private
j*e2007-06-05 07:065 楼他问 C 里面的 struct,不是 C++里面的struct吧。【在 q*****g 的大作中提到】: of course can: C struct == C++ class: except struct defaults to public, class defaults to private