Create a node dynamically in c++
<p>I want to make a database engine in <code>C++</code>. For that I need to make a <code>class</code> dynamically and store it within a file. My approach to this project is that when the user enters the name of a new database, a <code>text</code> file is created with that name. However, for search functions and retrieving the data I need to store it in a node and the node needs to have a the entities of the database as partitions within the data block of the node. I've looked everywhere but apparently no <code>class</code> can be made at <code>run-time</code>. Can this be done instead? Have a pre-declared node class and adding entities to it.</p>