From: Jason Green Newsgroups: comp.os.msdos.djgpp Subject: Re: C++, complex, etc Date: Mon, 15 May 2000 01:12:42 +0100 Organization: Customer of Planet Online Lines: 18 Message-ID: References: <391F1402 DOT 31B7D4A6 AT mtu-net DOT ru> NNTP-Posting-Host: modem-29.elmiron.dialup.pol.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: news6.svr.pol.co.uk 958349619 1853 62.136.92.29 (15 May 2000 00:13:39 GMT) NNTP-Posting-Date: 15 May 2000 00:13:39 GMT X-Complaints-To: abuse AT theplanet DOT net X-Newsreader: Forte Agent 1.7/32.534 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com "Alexei A. Frounze" wrote: > The same source compiles under Borland C++. That means the source is okay. That just means Borland C++ is happy to accept non-standard code. Try this: #include #include using namespace std; int main(void) { complex j(0,1); cout << "hello world!\n"; return 0; }