Fedora Linux Support Community & Resources Center
  #1  
Old 17th December 2004, 03:33 PM
LackeyLad's Avatar
LackeyLad Offline
Registered User
 
Join Date: Feb 2004
Location: Bg, Ohio
Age: 31
Posts: 426
characters in file

so...

apearently iwhen i read characters from a data file in c++ they skip over the white space?

pseudo code:
Code:
read in char from file
is it ' ' (space)
but it skips all that automatically.

how do i read chars from a file including the spaces, tabs, newlines, etc??
Reply With Quote
  #2  
Old 17th December 2004, 03:51 PM
LackeyLad's Avatar
LackeyLad Offline
Registered User
 
Join Date: Feb 2004
Location: Bg, Ohio
Age: 31
Posts: 426
nevermind

ifstream >> overloaded doesnt read whitespace, where .get(char &) does.

thanks
Reply With Quote
Reply

Tags
characters, file

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Double characters ibaker Using Fedora 2 4th October 2006 12:39 AM
how to read chinese characters font in fedora 5 in firefox and in the file browser biruru Using Fedora 8 8th July 2006 01:06 AM
Problems with FTP-Server: file names with "special" characters chacko Servers & Networking 0 3rd March 2006 12:57 PM
apache2 and html file with characters other than English pinenut Servers & Networking 2 22nd November 2005 09:17 PM


Current GMT-time: 13:28 (Wednesday, 22-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat