Hello Again! I Installed Netbeans 8.0 with JDK 8u5 Cobundle in my Desktop now, But Again No LUCK at all!!!
The Same Problem as before appears!
Is there any way you can run C++ projects in Netbeans???? please reply if anyone has managed this!
#include <cstdlib>
using namespace std;
/*
*
*/
int main(int argc, char** argv) {
cout << "Hello World!" << endl;
return 0;
}
and keeps showing:
"/usr/bin/make" -f nbproject/Makefile-Debug.mk QMAKE= SUBPROJECTS= .build-conf
make[1]: Entering directory `/home/pankalos/NetBeansProjects/HelloWorldCpp'
"/usr/bin/make" -f nbproject/Makefile-Debug.mk dist/Debug/GNU-Linux-x86/helloworldcpp
make[2]: Entering directory `/home/pankalos/NetBeansProjects/HelloWorldCpp'
mkdir -p build/Debug/GNU-Linux-x86
rm -f "build/Debug/GNU-Linux-x86/main.o.d"
g++ -c -g -MMD -MP -MF "build/Debug/GNU-Linux-x86/main.o.d" -o build/Debug/GNU-Linux-x86/main.o main.cpp
main.cpp: In function âint main(int, char**)â:
main.cpp:16:5: error: âcoutâ was not declared in this scope
main.cpp:16:31: error: âendlâ was not declared in this scope
make[2]: *** [build/Debug/GNU-Linux-x86/main.o] Error 1
make[2]: Leaving directory `/home/pankalos/NetBeansProjects/HelloWorldCpp'
make[1]: *** [.build-conf] Error 2
make[1]: Leaving directory `/home/pankalos/NetBeansProjects/HelloWorldCpp'
make: *** [.build-impl] Error 2
BUILD FAILED (exit value 2, total time: 247ms)