Hey guys is there a way i could inform the user if a txt file already exists when they enter the file name e.g. c:\\hi.txt so it won't get over written in my program the saved results are handeled by the following:
Code:cin.getline(file, 100); system("cls"); ofstream f; f.open(file);