| delorie.com/archives/browse.cgi | search |
| From: | "Peter Daniel Davies" <grobe AT globalnet DOT co DOT uk> |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Re: Read. |
| Date: | Tue, 23 Mar 1999 01:12:01 -0000 |
| Lines: | 23 |
| Message-ID: | <7d6q1d$1vu$1@newnews.global.net.uk> |
| References: | <7d6l69$ela$1 AT news DOT igs DOT net> |
| NNTP-Posting-Host: | 195.147.148.105 |
| X-Newsreader: | Microsoft Outlook Express 4.72.3110.5 |
| X-MimeOLE: | Produced By Microsoft MimeOLE V4.72.3110.3 |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
>Heres the code i want to compile with RHIDE:
>
>#include <iostream.h>
>
>int main(void)
>{
> cout << "Hey world";
> return 0;
>}
When you downloaded RHIDE did you select C++ as one of the supported
languages?
IOSTREAM.H & COUT are specific to C++ and are not present in C.
Also, when saving the source code before compiling you may need to save it
as *.CPP which tells the compiler that the source code is in C++ format not
C.
My brain is not working properly tonight due to the Glenfiddich bottle
having mysteriously emptying itself into my glass, which I dutifully drank,
so if any of the above is wrong I apologise now. Sorry! Hic.
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |