You may think, my values will never change. But you never know. Perhaps you come to a point in life when you want to dump your values. Such as when you're writing a hardware simulation.
This is a library for writing .vcd files. See vch.h for how to use it, and check.c for an example.