Re: global i/o stream


[ Follow Ups ] [ Post Followup ] [ CS1044 Web Discussion Board ] [ FAQ ]

Posted by William D McQuain on October 12, 2001 at 12:30:32:

In Reply to: global i/o stream posted by rich on October 11, 2001 at 19:05:54:

: is it acceptable to declare the i/o stream (and the input and output files) globally?

Nope. A stream variable is just a variable. It's no more acceptable for a stream to be global than for any other variable to be global.

otherwise, input and output functions don't really work...

Mine do. Think about it... again, there's nothing special about stream variables (versus string or double for example).




Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

Comments:

Optional Link URL:
Link Title:
Optional Image URL:


[ Follow Ups ] [ Post Followup ] [ CS1044 Web Discussion Board ] [ FAQ ]