#include<iostream.h>
#include<conio.h>
#include<fstream.h>
#include<ctype.h>
void main()
{
char c;
ifstream in("report.txt");
ofstream out("new.txt");
in.get(c);
out.put(toupper(c));
while(in)
{
in.get(c);
if(c=='.')
{
out.put(c);
in.get(c);
out.put(toupper(c));
}
else
out.put(c);
}
in.close();
out.close();
getch();
}
#include<conio.h>
#include<fstream.h>
#include<ctype.h>
void main()
{
char c;
ifstream in("report.txt");
ofstream out("new.txt");
in.get(c);
out.put(toupper(c));
while(in)
{
in.get(c);
if(c=='.')
{
out.put(c);
in.get(c);
out.put(toupper(c));
}
else
out.put(c);
}
in.close();
out.close();
getch();
}