www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/08/09/06:06:50

From: justinfl AT my-deja DOT com
Newsgroups: comp.os.msdos.djgpp
Subject: Help with input streams
Date: Mon, 09 Aug 1999 02:36:49 GMT
Organization: Deja.com - Share what you know. Learn what you don't.
Lines: 13
Message-ID: <7oles0$jda$1@nnrp1.deja.com>
NNTP-Posting-Host: 4.15.33.254
X-Article-Creation-Date: Mon Aug 09 02:36:49 1999 GMT
X-Http-User-Agent: Mozilla/4.61 [en] (Win95; I)
X-Http-Proxy: 1.0 x28.deja.com:80 (Squid/1.1.22) for client 4.15.33.254
X-MyDeja-Info: XMYDJUIDjustinfl
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I'm here with yet another stupid question, but i'm just starting, so
that's okay  :) ....I'm trying to read a line of a text file.  to my
understanding in c++ (djgpp compiler), i would use infile.read() or
infile.get().....i'm not sure of the exact syntax and the variables
involved.  i'm also curious as to which of these two commands would be
best to read each line (80 chars) of a file, or if another command would
be simpler.  Thanks for the help!

Justin Robinson


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019