So I have to read data from a text file into a [50][50] array and Im not really sure which commands I can use to do that and to write back some data into another file. Would really appreciate some help on this.
shakunni
-3
Light Poster
Recommended Answers
Jump to Postfstreams. Also google for fstream tutorials. ifstream is for input files, ofstream for output files. With a little practice its not all that hard to do. Exactly how to do it will depend on file contents -- post a couple lines from the file.
All 3 Replies
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
shakunni
-3
Light Poster
VernonDozier
2,218
Posting Expert
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.