From: Alexey Zakhlestine Newsgroups: comp.os.msdos.djgpp Subject: Re: Newbie questions with iostream.h and RHIDE Date: Tue, 25 Jan 2000 09:54:11 +0300 Organization: MTU-Intel ISP Lines: 32 Message-ID: <388D4892.C6672834@gs707.com> References: NNTP-Posting-Host: dial53145.mtu-net.ru Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit X-Trace: gavrilo.mtu.ru 948783303 88635 195.34.53.145 (25 Jan 2000 06:55:03 GMT) X-Complaints-To: usenet-abuse AT mtu DOT ru NNTP-Posting-Date: 25 Jan 2000 06:55:03 GMT X-Mailer: Mozilla 4.7 [en] (Win95; I) X-Accept-Language: ru To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com The following program should work fine: ---------------- #include int main(void) { cout << "Hello World!" << endl; } --------------- But! You should compile it using "gxx", instead of "gcc"! "William J. Urban II" wrote: > Well, I think my eyes are sore from trying to read all the information out > there on this stuff. I am currently enrolled in a C++ class so I am using > Borland C++ 3.0 and am teaching myself DJGPP along with it. I wrote the > custumary "Hello World" but couldnt use > #include to use cout<<"Hello World"< with a > printf("Hello World"); it worked fine. I then tried to just copy my > iostream from borland but I still couldnt use cout. Any suggestions or am I > stuck with printf? Also, I was able to start rhide in a dos window but when > I tried double clicking on it in windows it brought up something about > visual c++ and whether or not it was a make file. I just got out of it not > wanting to ruin my files. Can this be run in windows? Thanks in advance > for any information you can provide. > > -Will