Código:
#include <iostream>
using namespace std;
int main() {
Cout << "Hola Mundo";
return 0;
}
ni tampoco:
Código:
#include <stdio.h>
using namespace std;
int main() {
printf("Hola Mundo");
return 0;
}
Al tratar de ejecutarlo me tira el siguiente error:
Citar
"/usr/bin/make" -f nbproject/Makefile-Debug.mk QMAKE= SUBPROJECTS= .build-conf
make[1]: Entering directory `/cygdrive/c/Documents and Settings/Wolframio/Mis documentos/NetBeansProjects/CppApplication_1'
"/usr/bin/make" -f nbproject/Makefile-Debug.mk dist/Debug/Cygwin-Windows/cppapplication_1.exe
make[2]: Entering directory `/cygdrive/c/Documents and Settings/Wolframio/Mis documentos/NetBeansProjects/CppApplication_1'
mkdir -p build/Debug/Cygwin-Windows
rm -f build/Debug/Cygwin-Windows/main.o.d
g++ -c -g -MMD -MP -MF build/Debug/Cygwin-Windows/main.o.d -o build/Debug/Cygwin-Windows/main.o main.cpp
main.cpp: In function `int main()':
main.cpp:4: error: `Cout' undeclared (first use this function)
main.cpp:4: error: (Each undeclared identifier is reported only once for each function it appears in.)
nbproject/Makefile-Debug.mk:66: recipe for target `build/Debug/Cygwin-Windows/main.o' failed
make[2]: *** [build/Debug/Cygwin-Windows/main.o] Error 1
make[2]: Leaving directory `/cygdrive/c/Documents and Settings/Wolframio/Mis documentos/NetBeansProjects/CppApplication_1'
nbproject/Makefile-Debug.mk:59: recipe for target `.build-conf' failed
make[1]: *** [.build-conf] Error 2
make[1]: Leaving directory `/cygdrive/c/Documents and Settings/Wolframio/Mis documentos/NetBeansProjects/CppApplication_1'
nbproject/Makefile-impl.mk:39: recipe for target `.build-impl' failed
make: *** [.build-impl] Error 2
BUILD FAILED (exit value 2, total time: 4s)
make[1]: Entering directory `/cygdrive/c/Documents and Settings/Wolframio/Mis documentos/NetBeansProjects/CppApplication_1'
"/usr/bin/make" -f nbproject/Makefile-Debug.mk dist/Debug/Cygwin-Windows/cppapplication_1.exe
make[2]: Entering directory `/cygdrive/c/Documents and Settings/Wolframio/Mis documentos/NetBeansProjects/CppApplication_1'
mkdir -p build/Debug/Cygwin-Windows
rm -f build/Debug/Cygwin-Windows/main.o.d
g++ -c -g -MMD -MP -MF build/Debug/Cygwin-Windows/main.o.d -o build/Debug/Cygwin-Windows/main.o main.cpp
main.cpp: In function `int main()':
main.cpp:4: error: `Cout' undeclared (first use this function)
main.cpp:4: error: (Each undeclared identifier is reported only once for each function it appears in.)
nbproject/Makefile-Debug.mk:66: recipe for target `build/Debug/Cygwin-Windows/main.o' failed
make[2]: *** [build/Debug/Cygwin-Windows/main.o] Error 1
make[2]: Leaving directory `/cygdrive/c/Documents and Settings/Wolframio/Mis documentos/NetBeansProjects/CppApplication_1'
nbproject/Makefile-Debug.mk:59: recipe for target `.build-conf' failed
make[1]: *** [.build-conf] Error 2
make[1]: Leaving directory `/cygdrive/c/Documents and Settings/Wolframio/Mis documentos/NetBeansProjects/CppApplication_1'
nbproject/Makefile-impl.mk:39: recipe for target `.build-impl' failed
make: *** [.build-impl] Error 2
BUILD FAILED (exit value 2, total time: 4s)
Aqui unas imagenes para que observen:

Como lo tengo configurado al compilador:
Para C

Y para C++
Y es muy cansador porque quiero empezar a programar de una vez, pero este problema ya me tine loco, y para colmo, como les dije, el problema es basicamebte el mismo tanto en net beans, como en qt, y tanto en winXp como en debian.
Espero sepan ayudarme, les agradezco un monton de antemano.
Saludos


 
  




 Autor
 Autor
		



 En línea
									En línea
								







 (por ahora xD). En Debian, lo selucione instalando el make desde la terminal, apt-get install make, y una vez echo eso, le agregue al NetBeans en donde dice "Make Command:" la direccion del make, osea /usr/bin/make y listo , ... aunque no tengo idea para que es este tal "make", alguien me lo puede decir?
 (por ahora xD). En Debian, lo selucione instalando el make desde la terminal, apt-get install make, y una vez echo eso, le agregue al NetBeans en donde dice "Make Command:" la direccion del make, osea /usr/bin/make y listo , ... aunque no tengo idea para que es este tal "make", alguien me lo puede decir?  
 , si alguno se le ocurre la razon, bienvenida sea la teoria, que tengo mucha curiosidad.
, si alguno se le ocurre la razon, bienvenida sea la teoria, que tengo mucha curiosidad.

 
						