home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!sdd.hp.com!wupost!cs.uiuc.edu!sparc0b!pjl
- From: pjl@cs.uiuc.edu (Paul Lucas)
- Subject: Re: basic question
- Message-ID: <By16Et.5I@cs.uiuc.edu>
- Sender: news@cs.uiuc.edu
- Organization: University of Illinois at Urbana-Champaign
- References: <GROSSJOH.92Nov20192207@petty.ls6.informatik.uni-dortmund.de>
- Date: Fri, 20 Nov 1992 20:04:05 GMT
- Lines: 18
-
- In <GROSSJOH.92Nov20192207@petty.ls6.informatik.uni-dortmund.de> grossjoh@petty.ls6.informatik.uni-dortmund.de (Kai Grossjohann) writes:
-
- >Hi all,
-
- >this has GOT to be a FAQ, but I ask anyway: Suppose I have:
-
- > int i;
- > for ( i=0; i<10; i++ ) {
- > cout << "Hey, you!" << endl;
- > }
-
- >After the loop, can I _rely_ on the fact that i==10?
-
- *****> Yes.
- --
- - Paul J. Lucas University of Illinois
- AT&T Bell Laboratories at Urbana-Champaign
- Naperville, IL pjl@cs.uiuc.edu
-