Geeks Talk

Prepare for your Next Interview




Is there any difference between inFile and getline

This is a discussion on Is there any difference between inFile and getline within the C and C++ forums, part of the Software Development category; Is there any difference between inFile and getline in C++? If so can someone tell me about the difference between the two which would help me use it in proper ...


Go Back   Geeks Talk > Software Development > C and C++

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 07-12-2006
Contributing Member
 
Join Date: May 2006
Posts: 88
Thanks: 0
Thanked 10 Times in 9 Posts
norman is on a distinguished road
Is there any difference between inFile and getline

Is there any difference between inFile and getline in C++? If so can someone tell me about the difference between the two which would help me use it in proper places?
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 07-12-2006
Contributing Member
 
Join Date: May 2006
Posts: 66
Thanks: 1
Thanked 5 Times in 4 Posts
janelyn is on a distinguished road
Re: Is there any difference between inFile and getline

I think one of the difference could be inFile gets stopped on encountering a blank character in other words white space. But I think this is not so for getline. If I am wrong some one correct me on this.
Reply With Quote

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Copyright © 2008 GeekInterview.com. All Rights Reserved