I've tried everything from reading the Netbeans help to browsing Google.
This code works fine in Dev-Cpp but not Netbeans 6.5.1. Netveans also places and exclamation mark next to #include <iostream>
which i checked and is in the include path of netbeans and is in the include folder:
#include <iostream>
int main() {
std::cout << "Test" << "\n";
return (0);
}
My build tools are set to:
Family: MinGW
Base Directory: C:\Dev-Cpp\bin
C Compiler: C:\Dev-Cpp\bin\gcc.exe
C++ Compiler: C:\Dev-Cpp\bin\g++.exe
Fortran Compiler: C:\Dev-Cpp\bin\g77.exe
Make Command: C:\Dev-Cpp\bin\make.exe
Debugger Command: C:\Dev-Cpp\bin\gdb.exe
I get error:
Running "C:\Dev-Cpp\bin\make.exe -f Makefile CONF=Debug" in C:\Documents and Settings\Babiker\Desktop\Temp\Test
! was unexpected at this time.
C:\Dev-Cpp\bin\make.exe: *** [.validate-impl] Error 255
Build failed. Exit value 2.