Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!noose.ecn.purdue.edu!monkey.ecn.purdue.edu!longshot From: longshot@monkey.ecn.purdue.edu (The Knight Guard) Newsgroups: comp.lang.c Subject: Re: Novice question. Message-ID: <1990Nov14.143802.23021@noose.ecn.purdue.edu> Date: 14 Nov 90 14:38:02 GMT References: <336@brat.UUCP> <3838@vela.acs.oakland.edu> <1990Nov14.010511.7241@ux1.cso.uiuc.edu> Sender: news@noose.ecn.purdue.edu (USENET news) Organization: Purdue University Engineering Computer Network Lines: 16 > "extern" means that the variable is global, and was declared in a >separate .c file. If your program occupies only 1 file, you will never >use this. > >John Gordon Not true here... Our cc seems to require that all functions/procedures be defined before the main block. The way around this is to extern all functions before main... Dunno if this is just our compiler, anyone else seen this? Any ideas of why? -- --- *** To be "remembered with an affection ** and veneration that shall surge high *