Code Assistance for C++ in NetBeans: define __cplusplus

See here:

  • Go to Tools->Options
  • Select C/C++ menu
  • Select Code Assistance tab
  • Select C++ Compiler tab
  • In Macro Definitions list view, locate __cplusplus and change its value from 199711L to 201103L
  • Click OK button

Leave a Reply