delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/01/28/13:05:45

Subject: Re: Need help with c!
Approved: clc AT plethora DOT net
References: <clcm-19990117-0010 AT plethora DOT net> <clcm-19990123-0009 AT plethora DOT net>
From: Francis Glassborow <francis AT robinton DOT demon DOT co DOT uk>
X-Newsreader: Turnpike (32) Version 3.05 <TilyaeicE$WmMOP9F8P4$y3lmP>
Organization: Southfield Microcomputer SS
Lines: 15
Mime-Version: 1.0
Newsgroups: comp.os.msdos.djgpp,comp.lang.c.moderated
Message-ID: <clcm-19990128-0017@plethora.net>
Originator: clcm AT plethora DOT net (Comp Lang C'Moderated)
Date: Thu, 28 Jan 1999 17:58:07 GMT
NNTP-Posting-Host: 205.166.146.5
X-Trace: ptah.visi.com 917546287 205.166.146.5 (Thu, 28 Jan 1999 11:58:07 CDT)
NNTP-Posting-Date: Thu, 28 Jan 1999 11:58:07 CDT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

In article <clcm-19990123-0009 AT plethora DOT net>, Marp <Marp AT 0 DOT 0 DOT 0 DOT 0> writes
>Get rid of the word static in front of FILE *fptr because that should be
>able to change as you work with the file. If it can't change it won't work
>properly.

!! I think you are confusing static (provide internal linkage for the
identifier in the following file scope declaration) with const, meaning
make the following read only.



Francis Glassborow      Chair of Association of C & C++ Users
64 Southfield Rd
Oxford OX4 1PA          +44(0)1865 246490
All opinions are mine and do not represent those of any organisation
-- 
comp.lang.c.moderated - clcm AT plethora DOT net

- Raw text -


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