Yes i am i compile it , and i have run succefully other small apps ive made in c++ however when i use cout << followed by a string it always give me error when i run the .exe file
Show me the command you use to compile it with GCC.
I'm using GCC 4.3 and compiled it with:
g++ -Wall -pedantic a.cpp
I haven't tested it against Borland yet, but if you like I can.
It sounds to me like something is mis-configured on your end, because the example you posted is correct in every sense. (Though in your second example I think you meant to #include <cstdio> ;-) .)
[edit] Also, tell me how and where you installed the GCC, and if you are using an IDE, which one, and if not, check that the MinGW base directory (probably C:\MinGW) is in your PATH.
YAY youre right Douas i tried to compile it manually (trho command line) like you did and the program worked..
Well the IDE im using is codeblocks (prolly the latest version of it) dont know what is wrong thers nothing i can tell from the compiler/debugger settings that may be causing this errors..
any ideas? or suggestions? (like give up on that IDE it sucks... im always open to suggestions :P)
if not ill try to find whats wrong when i get home later..