Convert Parsed.java into C++