If I have a struct (in example) Config { double n_users; int n_n;};
Is there any way to write some code which gives me the name of the member of a struct ? I'd want to use it to write its name into an ascii file .
In example (pseudocode)
config.n_users=4; save_data(config_n.users.to_string)
function save_data (string key)
???
Thanks
Bookmarks