Program editor programming c++

2008-05-29 Thread Lopezio
Hi I use rhide for programming in c++, but i get errors when i compile the program. It works in rhide environment but doesn't work when i compile it. Consider the following example #include iostream int main(){ printf(olare); return 0; } I get error when compile it with gcc ola.cpp -o ola.exe but

Re: Program editor programming c++

2008-05-29 Thread Lopezio
wrote: Hi, On Thu, May 29, 2008 at 03:08:34AM -0700, Lopezio wrote: #include iostream int main(){ printf(olare); return 0; } I get error when compile it with gcc ola.cpp -o ola.exe but it works in rhide environment. Well, your example is neither valid C-code, nor valid C++-code

Re: Program editor programming c++

2008-05-29 Thread Lopezio
Thank you guys g++ solved my problem Jan-Benedict Glaw wrote: On Thu, 2008-05-29 14:04:24 -0700, Lopezio [EMAIL PROTECTED] wrote: Thank you for your help.I'm a beginer on cpp. I'm programming in windows/dos mode and i get error when i compile the program #include iostream int main