www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/03/06/18:51:30

From: "Stewart" <jstewart1 AT ns DOT sympatico DOT ca>
Newsgroups: comp.os.msdos.djgpp
Subject: output x,y,z
Lines: 15
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-Mimeole: Produced By Microsoft MimeOLE V5.50.4133.2400
Message-ID: <%yep6.181$DQ5.17990@sapphire.mtt.net>
Date: Tue, 06 Mar 2001 23:39:39 GMT
NNTP-Posting-Host: 142.177.237.18
X-Complaints-To: abuse AT mpoweredpc DOT net
X-Trace: sapphire.mtt.net 983921979 142.177.237.18 (Tue, 06 Mar 2001 19:39:39 AST)
NNTP-Posting-Date: Tue, 06 Mar 2001 19:39:39 AST
Organization: MPowered-Subscriber
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Will someone explain how each output is calculated and how each output is
determined? I want to know how the output is evaluated.

int x = 4;
int y = 5;
double z = 7.8;

cout << x << "  " << y << "  " << z << endl << endl;
double x = 6.7;
cout << x << "  " << y << "  " << z << endl << endl;
double y = 9.2;
cout << x << "  " << y << "  " << z << endl;



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019