When programming in NetBeans, I loaded all the correct compilers. C worked fine for me.
But now that Iβve started working with C ++, I realized that when I open a new C ++ source file with the .cpp
extension, NetBeans goes to C compilers and then cannot find include, for example, <iostream>
, etc.
But when you open a file with a .c++
extension, NetBeans really goes to the right directory and recognizes everything related to C ++. Is there a way to change this so that the .cpp
extension also goes to the correct directory? Thanks!
source share