We provide
API client libraries for popular programming languages. With an API client library, converting an HTML file to PDF is a simple matter of three lines of code. Without a client library, integration requires more effort.
Since you mentioned C++, we do not have a client library for this language, but here is a simple application that gives an idea how to use the API from C:
https://gist.github.com/3905177