[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [CPROG] Find fejlen...



On 10 Jun 2003, Egon Andersen wrote:
> On Tue, 2003-06-10 at 18:46, Niels Vestergaard Jensen wrote:
> > Hej!
> >
> > Jeg er i gang med et program i C, men det opfører sig underligt.
[...]
> Jeg starter lige med et par ting du skal have set på!
>
> 1)
> #include <parstruct.h>
> bør være
> #include "parstruct.h"
>
> 2)
> Du mangler funktions prototyper.
> Anbring dem fx. i en header-fil.
> Hvis du ikke anvender funktions-prototypes, antager C, at argumenterne
> (og funktionen) er af typen 'int', hvilket vist ikke er hvad du ønsker
> :-)

Det virker nu :-) Jeg vil tro det var de manglende prototyper. Det er den
slags fejl der kommer af at lære et nyt sprog "hen ad vejen".

Mange tak for hjælpen :-)

mvh

	Niels



 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 20:09 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *