cout<<"\n Enter the string.... Press '.' to exit entering:\n";
getline(cin,s,'.');
ofstream outfile("tony1.txt");
for(i=0;i<s.size();j++)
...
Type: Posts; User: Himanka
cout<<"\n Enter the string.... Press '.' to exit entering:\n";
getline(cin,s,'.');
ofstream outfile("tony1.txt");
for(i=0;i<s.size();j++)
...
Write a program to read and write a data file. While writing data follow the following instructions:
a)Add one space between two successive words.
b)Capitalize the first character of sentences....