From: Damian Yerrick Newsgroups: comp.os.msdos.djgpp Subject: Re: DJGPP doesn't work. Help please... Organization: Pin Eight Software http://pineight.8m.com/ Message-ID: References: <38E63623 DOT DFCF9DB7 AT gs707 DOT com> <38E6477C DOT 8E06123D AT gs707 DOT com> 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: /K49oENegPCcmZI08xJyBMVVdbqUHZuHXi+e9Ep2wnKGiTMI8dmqjSsh634QyNswd8SFgYwvIFwT!LcOWutW0TviayMX1tMfNwxCMnxgcg5H8J5kzwU7a2Io8a70sQ76NLXVQY1DTrwrPEf+H/2iFkbpy!tJA= 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: Wed, 05 Apr 2000 17:21:25 GMT Distribution: world Date: Wed, 05 Apr 2000 17:21:25 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Sat, 1 Apr 2000 14:27:58 -0800, "Icehot" wrote: >I made the exe with the syntax you gave me, it works... When it's >C. C++ doesn't work, used to, though. Here's my program. > >" >#include "iostream.h" >#include "stdio.h" > >int main() >{ > cout<<"thisistext"; // doesn't work > printf("thisistext"); // works > return 0; >} cout is heavily buffered. Try outputting a newline or a flush after cout. -- 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/