Showing posts with label file structure programs. Show all posts
Showing posts with label file structure programs. Show all posts

Tuesday, December 28, 2010

C++ program to read series of names,one per line,from standard input and write these names spelled in reverse order to standard output using I/O redirection and pipes..

include  iostream
include  string
include  fstream

int main()
{
char s1[25];
fstream file1,file2;
int i=0,j=0,x=0,c=0,kb=0;
char filename1[25],filename2[25];