www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/09/21/02:33:55

From: ken AT chinook DOT halcyon DOT com (Ken Pizzini)
Newsgroups: comp.lang.c,comp.lang.c++,comp.os.msdos.djgpp
Subject: Re: Bus error with g++ (in t_delete in call to malloc)
Date: 21 Sep 1996 02:25:58 GMT
Organization: What, me?
Lines: 12
Message-ID: <51vjnm$scj@news1.halcyon.com>
References: <51p12m$i9q AT lion DOT cs DOT latrobe DOT edu DOT au>
NNTP-Posting-Host: chinook.halcyon.com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

In article <51p12m$i9q AT lion DOT cs DOT latrobe DOT edu DOT au>,
Cs3prj Group 04 <cs3prj04 AT lion DOT cs DOT latrobe DOT edu DOT au> wrote:
>Also how the frick do you get seekg(...) to work. It would be nice if I
>could do the equivalent of pascal reset(var file:text) rather than closing
>the file and re-opening it.

Responding from comp.lang.c (why a C++ program was crossposted
here will be left as a mystery to ponder), the most direct
equivalent for "reset" in C is rewind().  I have no idea what seekg()
is; it isn't in my copy of the C language standard...

		--Ken Pizzini

- Raw text -


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