delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/05/23/12:30:07.1

From: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Array of poiters to an Array
Date: 23 May 2001 16:10:16 GMT
Organization: Aachen University of Technology (RWTH)
Lines: 13
Message-ID: <9egnd8$ocg$1@nets3.rz.RWTH-Aachen.DE>
References: <fc DOT 000f77f3000fc133000f77f3000fc133 DOT fc1ae AT bni DOT mg>
NNTP-Posting-Host: acp3bf.physik.rwth-aachen.de
X-Trace: nets3.rz.RWTH-Aachen.DE 990634216 24976 137.226.32.75 (23 May 2001 16:10:16 GMT)
X-Complaints-To: abuse AT rwth-aachen DOT de
NNTP-Posting-Date: 23 May 2001 16:10:16 GMT
Originator: broeker@
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

NirinaMichel Ratoandromanana/DF <n DOT ratoandromanana AT bni DOT mg> wrote:
> Hi all,

> This question is about C and not about djgpp itself. How to add a string
> to char * argv[] for example?

Depends largely on where that argv[] came from.  If it's the parameter
of main(), you can't --- that's unmodifiable memory, and you can't
push anything else into it without risking problems.

-- 
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019