From: Alexey Zakhlestine Newsgroups: comp.os.msdos.djgpp Subject: Re: Help Date: Wed, 15 Mar 2000 12:44:09 +0300 Organization: MTU-Intel ISP Lines: 36 Message-ID: <38CF5B69.93CE9B19@gs707.com> References: <8ane5e$d7p$1 AT fraggle DOT esatclear DOT ie> NNTP-Posting-Host: ppp104-40.dialup.mtu-net.ru Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit X-Trace: gavrilo.mtu.ru 953113470 1168 212.188.104.40 (15 Mar 2000 09:44:30 GMT) X-Complaints-To: usenet-abuse AT mtu DOT ru NNTP-Posting-Date: 15 Mar 2000 09:44:30 GMT X-Mailer: Mozilla 4.7 [en] (Win95; I) X-Accept-Language: ru,en To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Baal wrote: > 1: #include > 2: > 3: > 4: int main(); > 5: { > 6: cout <<"Hello World!\n"; > 7: return 0; > 8: } it should look like this //-------------------------------------- #include int main(void) { cout << "Hello World" << endl; return 0; } //-------------------------------------- > Hello. Im new to C++ and I got this programme djgpp with the program rhide. > I can;t seem to compile programs though. When I go to run it it says : > filename.c(1) Error: iostream.h: No such file or directory (ENOENT) you should name your file "filename.cc" or "filename.cpp", because "filename.c" is C-sourcecode, not C++ -- Hi, I'm a signature virus. plz set me as your signature and help me spread :)