cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
General C++ Programming
how can i give output file in fstream
how can i give output file in fstream
Sep 17, 2009 at 12:57pm UTC
rajeshkumarmamidi
(4)
hi,
i have to direct my output of my c++ code to a file of my desired location (say, on desktop of my pc). please say, which command of fstream will take care of this and also give me the syntax.
Sep 17, 2009 at 1:17pm UTC
Bazzy
(6281)
You want to redirect cout?
http://www.cplusplus.com/reference/iostream/ios/rdbuf/
Topic archived. No new replies allowed.