pointer array question
From: Brett (bjgol_at_yahoo.com)
Date: 10/31/04
- Next message: hari4063: "Re: Confusion with C Part II"
- Previous message: Verrigan: "Re: Segmentation Fault..."
- Next in thread: hari4063: "Re: pointer array question"
- Reply: hari4063: "Re: pointer array question"
- Reply: CBFalconer: "Re: pointer array question"
- Reply: Al Bowers: "Re: pointer array question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 30 Oct 2004 18:06:27 -0500
Sorry for the rookie question....
If I have a pointer array (for example):
char *colors[] = {
"blue",
"green"
};
and I want to add yellow to this array later in my code....how would I do
that?
Thanks!
- Next message: hari4063: "Re: Confusion with C Part II"
- Previous message: Verrigan: "Re: Segmentation Fault..."
- Next in thread: hari4063: "Re: pointer array question"
- Reply: hari4063: "Re: pointer array question"
- Reply: CBFalconer: "Re: pointer array question"
- Reply: Al Bowers: "Re: pointer array question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]