Is it possible to create a struct type based on file contents?
<p>Is it possible in C++ to create a struct type based on file contents?</p>

<pre>
STRUCT_NAME  
int var1;  
int var2;  
string v3;
STRUCT NAME *pointer;
</pre>

<p>The first line would be the name of the struct, the other lines would be the variables</p>
