error: ‘NULL’ was not declared in this scope

后端 未结 6 2034
暗喜
暗喜 2020-12-04 09:42

I get this message when compiling C++ on gcc 4.3

error: ‘NULL’ was not declared in this scope

It appears and disappears and I don\'t know w

6条回答
  •  悲&欢浪女
    2020-12-04 10:30

    NULL can also be found in:

    #include 
    

    String.h will pull in the NULL from somewhere else.

提交回复
热议问题