Forum Discussion
Altera_Forum
Honored Contributor
11 years agoWriting nul character to file
Hi! I'm currently developing a small test bench where a bitmap file is read (using std.textio.all). I have managed to read the bmp file and I can write all characters to a new bmp file except 0...
Altera_Forum
Honored Contributor
11 years agoyou'll also have a problem with the writeline() procedure adding an extra \n to the end of every line. Hence why textio isnt very useful in this situation.