error: expected constructor, destructor, or type conversion before '.' token

error: expected constructor, destructor, or type conversion before '.' token  

找了半天原因,原来是犯了基础知识不扎实的错误,C++中,全局阈只能声明、初始化变量; 不能用于赋值、运算、调用函数等!!!

posted on 2016-03-13 12:58  Day_to_Day  阅读(4669)  评论(0编辑  收藏  举报

导航