I am writing a file to ask the user to input the name of the file that they want the data to be stored to. For example ...
a:\\sample.txt
I need to use a cout to ask what the file name they want to use is.... but i dont want to make them type in the entire path.. just the name....ie. "sample" and make it already add the a:\\ and the .txt Is this possible? If so, how do i do it?
Any help would be greatly appreciated.
Thanks