Some work on the html and c++ interaction