From: Damian Yerrick Newsgroups: comp.os.msdos.djgpp Subject: Re: making c++ stuff in rhide Organization: Pin Eight Software http://pineight.8m.com/ Message-ID: References: X-Newsreader: Forte Agent 1.7/32.534 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 27 X-Trace: /K49oEF3ASRwqcPj2WHWqdlMC9D2S+OnNfmsJllr7Lc53SayUi4BKusShCOVnjXikAz7yjr7TtFH!SS5sQbTB9wUsy4faSLeSwA7sUG1EnoZlHhR0XI7J8WzuCf5J4w/WXhGpHQqvNxwVvaUkppA1ikt0!BGk= X-Complaints-To: abuse AT gte DOT net X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly NNTP-Posting-Date: Sun, 04 Jun 2000 14:30:11 GMT Distribution: world Date: Sun, 04 Jun 2000 14:30:11 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Sat, 3 Jun 2000 18:53:14 +0800, "Paul Cechner" wrote: >i am using rhide, and cant get c++ programs to run... > >when i try :using namespace std; Delete the colon before `using'. #include #include #include using namespace std; >i get the compile error: parse error before 'namespace' >and when i try: #include >i get the compile error: iostream.h: no such file or directory Are you using .c as the extension? If so, use .cpp or .cc -- Damian Yerrick "I refuse to listen to those who refuse to listen to reason." See the whole sig: http://www.rose-hulman.edu/~yerricde/sig.html This is McAfee VirusScan. Add these two lines to your signature to prevent the spread of signature viruses. http://www.mcafee.com/