I want to initialise an object say A of class alphabet. the data for the object is located in a textfile A.txt.
How can I write a function in c++ that returns the name of the object as a char[] or string that I can manipulate into a filename, i.e. return char filename[]=A if the Object name is A.
How would this be possible also for Object arrays?