ok
I want to make a program that allows you to login and sign up.
I have it all done except for I want to make it so when you sign up each time it creates a different file. I don't want to specify the file name I want the file to be user name the person inputs when they are signing up I tried this

ofstream a_file(name".txt);

and

ofstream a_file(name>>".txt);

and this

char txt[6]=".txt"; ................
...............ofstream a_file(name>>txt

and

ofstream a_file(nametxt);

I have all the other code there I just didn't want to include it all.
well I am pretty much baffled so please can someone out there help me. Thanx

KAS2002