Original Post
Since I started to write a little Emulator, I tried to read a file into ram. At the moment im using fstream which doesn really work, since I cant find a way to Import the whole file into one char[]. When I use getline it always stops between 0x12 and 0x1A. Isnt 0x0D0A a linebreak? And also it doesnt work when im using a delimiter different from \n. Does someone now a good library for file access with which I can read a complete file exactly the way it is on disk into a char[]?