cpp parser for reading a VCD (value change dump) file