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 agops. to write a NUL char to char, just write
char_buf = NUL;