I'm attempting to create a bunch of files with strings as the variable name..
Example : I get the name Firefox and then append it to the string ".url" to get Firefox.url that is saved as filename.
ofstream name2;
name2.open(filename);
But it gives an error if I try to open a file name as a string. If I hard-coded "firefox.url" it would work however.
Any way around this?
Thanks