> > let's use a simple database, a CSV file for simplicity, and generate both > files from this.
Curious to learn, why wouldn't you want to do it in C++ itself ? As an example, please see https://github.com/cplusplus/lib-issues-software warm regards Saifi.