Subject: Re: Need help with c! Approved: clc AT plethora DOT net References: From: Francis Glassborow X-Newsreader: Turnpike (32) Version 3.05 Organization: Southfield Microcomputer SS Lines: 15 Mime-Version: 1.0 Newsgroups: comp.os.msdos.djgpp,comp.lang.c.moderated Message-ID: 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 , Marp 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