Hello sir,
This is Rajasekhar murthy.... I want a c++ program on files i.e..,
write a c++ program to eliminate blank space ,comments, tabs in a given file.

I am waiting for your reply sir..........

Ancient Dragon commented: do your own homework -5

We only give homework help to those who show effort
http://www.daniweb.com/forums/announcement8-2.html

> write a c++ program to eliminate blank space ,comments, tabs in a given file.
How about starting with a program which simply COPIES the input file to the output file?
Can you manage that?

If you can, then it's a good start, maybe then you can add some tests for say tab characters.

If not, then there is no point us explaining the complicated stuff if you can't deal with the simple stuff. Not that it matters to us, but we really need to know where to pitch the advice.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.