Hey Guys,
Recently ive been developing a text editor when i came to stop.
system("cls");
cout <<"\t\t-------------------------------------" <<endl;
cout <<"\t\t| NEW FILE |" <<endl;
cout <<"\t\t-------------------------------------" <<endl;
cout <<"\t\t|Enter New File Name| "; getline(cin,createfile);
cout <<"\t\t----------" <<endl;
getline(cin,text);
here getline accepts code only until one press enter key
How to enable the same option when enter key is pressed twice?
Please Immediately Help.
Thanks beforehand.
Anurag