Sunday 26 November 2017

Reading text files in c++








I am
trying to read a text file in c++ visual studio 2010 through a windows32 console app.
When using the fstream to try to read the text file I get the lnk 1123 error which says
the conversion to COFF failed and that the file is either invalid or corrupt. I know the
file is just a simple text file with a list of numbers. Is there a fix for
this?

No comments:

Post a Comment

php - file_get_contents shows unexpected output while reading a file

I want to output an inline jpg image as a base64 encoded string, however when I do this : $contents = file_get_contents($filename); print &q...