Reading from files with .list extension

Hi
I have to write a program that reads files with .list extension.I know you can use fstream for .txt files.Is it the same for .list files also?I just need to read it as a source file without saving it into memory and then perform the search functions on it.So can someone please help me with this

Thanks in advance! :)
Hi there,

Yes, it uses the same functions presumably.
Depending on what is in the file, you might have to open it in binary mode, if there is just plain text in there you are good to go with the defaults though.

Let us know if you need any further help with the actual code - after you made a fair attempt at it of course.

All the best,
NwN
Topic archived. No new replies allowed.