HOW TO DISPLAY FILENAMES

i have a simple program and the output is this:

Enter name:
ENter age:

enter filename for ages
enter fiename for names:

display all age: ex: ag.txt

how can I do this?
To start, Look up cout and cin.

Topic archived. No new replies allowed.