当函数没有return时错误

error:control reaches end of non-void function

 

在对应函数+return   ;  即可

posted @ 2015-08-04 08:54  瘋耔  阅读(312)  评论(0编辑  收藏  举报
跳至侧栏