error: request for member ‘***’ in ‘***’, which is of non-class type ‘***’
2011-06-17 17:06
573 查看
statistics.cpp: In function ‘int main(int, char**)’:
statistics.cpp:351: error: request for member ‘iCount’ in ‘pBsc’, which is of non-class type ‘BscCountTdr*’
statistics.cpp:352: error: request for member ‘bsc’ in ‘pBsc’, which is of non-class type ‘BscCountTdr*’
statistics.cpp:379: error: request for member ‘bsc’ in ‘pBsc’, which is of non-class type ‘BscCountTdr*’
statistics.cpp:379: error: request for member ‘iCount’ in ‘pBsc’, which is of non-class type ‘BscCountTdr*’
statistics.cpp:379: error: request for member ‘iCount’ in ‘pBsc’, which is of non-class type ‘BscCountTdr*’
今天晕晕的,写了几行代码,就编译出错了,检查了一阵,才发现犯了底级错误,唉!
主要是将"->"写成了".",悲剧啊
statistics.cpp:351: error: request for member ‘iCount’ in ‘pBsc’, which is of non-class type ‘BscCountTdr*’
statistics.cpp:352: error: request for member ‘bsc’ in ‘pBsc’, which is of non-class type ‘BscCountTdr*’
statistics.cpp:379: error: request for member ‘bsc’ in ‘pBsc’, which is of non-class type ‘BscCountTdr*’
statistics.cpp:379: error: request for member ‘iCount’ in ‘pBsc’, which is of non-class type ‘BscCountTdr*’
statistics.cpp:379: error: request for member ‘iCount’ in ‘pBsc’, which is of non-class type ‘BscCountTdr*’
今天晕晕的,写了几行代码,就编译出错了,检查了一阵,才发现犯了底级错误,唉!
主要是将"->"写成了".",悲剧啊
相关文章推荐
- error: request for member '*' in '*', which is of non-class type '*'
- Request for member ‘bar’ in ‘aFoo’, which is of non-class type ‘Foo*’
- qt 错误:request for member 'show' in 'showlist_ui', which is of non-class type 'ShowList*'
- request for member 'getid’ in ‘e1’, which is of non-class type ‘Employee()’
- This error is raised because the column 'type' is reserved for storing the class in case of inheritance
- 抓狂的c++错误:...which is of non-class type..
- ReactJs 报错 Element type is invalid: expected a string (from built-in components) or a class/function (for composite components) but got: undefined. Check the render method of `Me`.
- JNI遇到error: request for member 'FindClass' in something not a structure or union
- JNI遇到error: request for member 'FindClass' in something not a structure or union
- JNI遇到error: request for member 'FindClass' in something not a structure or union
- warning: in-class initialization of non-static data member is a C++11 extension [-Wc++11-extensions]
- Jni使用过程中出现 error: request for member 'FindClass' in something not a structure or union,解决办法
- error: request for member 'FindClass' in something not a structure or union
- JNI遇到error: request for member 'FindClass' in something not a structure or union
- JNI遇到error: request for member 'FindClass' in something not a structure or union
- C++11 error: ‘sleep_for’ is not a member of ‘std::this_thread’
- java.lang.NoSuchFieldError: No static field xxx of type I in class Lcom/XX/R$id; or its superclasses
- CodeSign error: code signing is required for product type 'Unit Test Bundle' in SDK 'iOS 8.0'
- The method load(Class, Serializable) in the type Session is not applicable for the arguments (Class<
- iOS CodeSign error: code signing is required for product type Application in SDK iOS