Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

redirecting cout or an ofstream to cout

Status
Not open for further replies.

biot023

Programmer
Nov 8, 2001
403
GB
Wow. I've really been hitting this page lately, haven't I?

I was wondering if anybody knows how to redirect cout to a file or to assign an ofstream (?) to cout, so that I can adjust a program's output when I lift the h files &c. into a form-based application.

Any help is very very appreciated.

Douglas JL If it don't make you laugh, it ain't true.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top