how to read txt file binary data and store it in array for further use.
this use the concept of data file handling.
plzzz bhelp me the way out as soon as possible.

Recommended Answers

All 2 Replies

In C++ use fstream, as VBNick also suggests, to load the data.
Then you just need to perform your actions on the loaded data, you could store it in a string.

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.