[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] Dynamisk alloceret arrays



On Sat, 7 Aug 1999, Per Vognsen wrote:

> Thomas M. wrote:
> [snip]
> >  Er der en mulighed for at lave dynamisk allocerede arrays, således at de
> > kan vokse, når der bliver brug for det?
<snip>
>    Uden helt at vide hvad du skal bruge dette til, er der andre
> loesninger paa det samme problem. Haegtede lister, hashtables, tries,
> m.v. er alle maader at have lister med arbitraere laengder. Hvis det
> udelukkende er strenge der er problemmet, saa er dynamiske arrays dog
> nok sagen. Haaber af dette kan bruges som et udgangspunkt. Hvis du vil
> have mere specifikke detaljer, saa skal du bare sig til.

 Umiddelbart er der kun mulighed for null terminated strings, til at lave
queryes til mysql. Det ville være nemmere med en haegtet liste... Men
sådan er det ikke...
 Nå, men jeg titter lidt på realloc..

Thomas Mørch
licensed ham, with callsign OZ2AFO. License category: CEPT-1

If God had intended man to smoke He would have set him on fire.



 
Home   Subscribe   Mail Archive   Index   Calendar   Search

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