Message-ID: <35784752.B7BF8C31@hamburg.netsurf.de> Date: Fri, 05 Jun 1998 21:30:26 +0200 From: Dennis Voss MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: printf bug ??? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: dip036-2.hamburg.netsurf.de Organization: iSC internet Service Center GmbH Lines: 15 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Hi there, I just wrote this little program: #include void main(void) { int i = 1; printf("%d %d %d", i, i++, i++); } Using DJGPP I got the output "3 2 1" which is wrong. I also compiled this with Visual C++ 5 and the output was "1 1 1". Can anyone help me solve this? Dennis Voss