[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] Hvad går der galt?



Hold da op hvor giver det mening. Selvfølgelig skal jeg overføre hele
arrayet. Det sjove er at kildeteksten faktisk virker i Visual C++ 6.0.
Imponerende.

Mange tak for hjælpen.:-))
On Thu, 2003-11-06 at 12:35, Peter Makholm wrote:
> Egon Petersen <sslug@sslug> writes:
> 
> > int sorterA(char [10][81]);
> 
> Du definerer sorterA til at være en funktion der tager er
> to-dimensionelt array af en bestem størelse.
> 
> > int main(int argc, char *argv[])
> > {
> >   char navn[10][81];
> 
> Og definerer navn til at være et sådan array
> 
> [...]
> 
> >   res = sorterA(navn[10][81]);
> 
> Men her kalder du sorterA med et enkelt element fra navn. Prøv at
> kalde med hele navn istedet:
> 
>     res = sorterA(navn);
> 
> -- 
>  Peter Makholm     |       Why does the entertainment industry wants us to
>  sslug@sslug |      believe that a society base on full surveillance
>  http://hacking.dk |                                               is bad?
>                    |                       Do they have something to hide?




 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 20:10 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] *