By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,983 Members | 2,082 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,983 IT Pros & Developers. It's quick & easy.

Functions

P: 1
Hi guys,

I would like to know the functions common to both ifstream and ofstream.

Thanks!
Oct 2 '18 #1
Share this Question
Share on Google+
1 Reply


weaknessforcats
Expert Mod 5K+
P: 9,197
Just look inside the header files.

ifstream supports only input files. ofstream supports only output files. fstream supports both.
Oct 2 '18 #2

Post your reply

Sign in to post your reply or Sign up for a free account.