Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Read x amount of characters from a file

Status
Not open for further replies.

Wings

Programmer
Feb 14, 2002
247
US
Hello,
I need to read an x amount of characters from a text file.
The number of characters will change with each call of the function. Is there a c++ function to do this?
Thank you
 
read(), fread(), ifstream::read(), ReadFile(), and probably many more that I forgot... Basically any file read function.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top