Fuad - 2008-02-27 04:30:10

Hello all,

I am working on sessional program of compiler design that takes input from a file, removes extra white spaces and outputs the edited text to another file.

So far my program deletes 1 whitespace whether the whitespace should be deleted or not.

I have read about peek() and putback(). I am pretty sure I need to implement these two functions but quite frankly I am not sure how to go about doing this.

Any help is appreciated. Thank you.