| Subject: | Re: Strings and arrays |
|---|---|
| From: | Ben Bacarisse |
| Date: | Fri, 28 Mar 2008 22:59:45 +0000 |
| Newsgroups: | comp.lang.c |
Jim <jim.moneytime@xxxxxxxxx> writes: <snip unrelated stuff> > I am trying to pass an array of strings into the function. OK. Such a parameter will be a 'char **s_array' or, if you want to make the arrayness more obvious, 'char *s_array[]'. The calling function will declare a 'char *stings[SIZE];' object and pass that. -- Ben. |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Macro to indicate directories in filenames, Richard Heathfield |
|---|---|
| Next by Date: | Re: Backtrace function, Richard Heathfield |
| Previous by Thread: | Re: Strings and arrays, Jim |
| Next by Thread: | Re: Strings and arrays, CBFalconer |
| Indexes: | [Date] [Thread] [Top] [All Lists] |