I've done exactly that. I have a program that generates one class per table in a mysql database, and writes one header with the class definitions and one source file and the member function...
Type: Posts; User: Elkvis
I've done exactly that. I have a program that generates one class per table in a mysql database, and writes one header with the class definitions and one source file and the member function...
there is no way to dynamically do exactly what you want at run time. at best, you could write a code generator program, but like laserlight says, use a vector or an array or some other suitable...