• Index
  •  » C/C++
  •  » Remove whitespace from text file

#1 2008-02-27 04:30:10

Fuad
Member
RankingRankingRanking
Registered: 2008-01-09
Posts: 98
Expertise

Remove whitespace from text file

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.

Offline

 
  • Index
  •  » C/C++
  •  » Remove whitespace from text file

Board footer

OPML feedsRSS feeds



Powered by WWWThreads Forum
© Copyright 2006, WWWThreads