Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Best Functions for File Input/Output?
#1
Hey everyone, I'm working on a project with a friend at the moment but I feel like adding the ability the ability of inputting/outputting data into a text file.

Would ofstream/ifstream be the best choices?
We all have things we want to say, but not publicly. We all need help with them at one point. If you want a private conversation or seek private help, send me a PM.
Reply
#2
I have always used fstream (ofstream/ifstream) and it works well.
Reply
#3
(04-13-2011, 01:08 PM)rootkit Wrote: I have always used fstream (ofstream/ifstream) and it works well.

Thank you very much Smile
We all have things we want to say, but not publicly. We all need help with them at one point. If you want a private conversation or seek private help, send me a PM.
Reply
#4
Yep, just use fstream (#include <fstream>).

It's quick and easy to use. Getting output and input from files is just like getting output and input from consoles.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Switch Conditionals in Functions not working???? Equinøx 4 780 04-16-2010, 01:16 PM
Last Post: MrD.
  Why are all the functions in programming languages English? nevets04 13 2,446 11-09-2009, 06:07 PM
Last Post: J4P4NM4N
  Hacker's test C functions g4143 4 1,157 11-03-2009, 09:11 PM
Last Post: g4143

Forum Jump:


Users browsing this thread: 1 Guest(s)