Is it safe to print 0 (as unsigned char) into a file? Will that mess up (might the filesystem rely on NULL being file termination? )
I am using a std::ofstream
object to write to the file.
Is it safe to print 0 (as unsigned char) into a file? Will that mess up (might the filesystem rely on NULL being file termination? )
I am using a std::ofstream
object to write to the file.