delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/11/08/13:30:38

From: "Morpheus" <hall AT silo DOT csci DOT unt DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: parse errors (compile time)
Date: Mon, 8 Nov 1999 12:13:01 -0600
Organization: Zion
Lines: 21
Message-ID: <8073rg$l2v@hermes.acs.unt.edu>
References: <8071ob$kjk AT hermes DOT acs DOT unt DOT edu>
NNTP-Posting-Host: dfw-premium-70.dialup.unt.edu
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Okay, I changed the name of the constant MAX_CHARS, and that seemed to work.
Now I get:

FileUtils.cpp:15: no matching function for call to `ifstream::readLine (char
*&, const int &)'

at this:

ifstream in(file);
...
in.readLine(line, MAX_LINE);


--
morpheus
Email: hall AT cs DOT unt DOT edu
Web: http://people.unt.edu/~dahall

"You'll tell yourself, 'I don't believe in any of this fake crap!'"


- Raw text -


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