| delorie.com/archives/browse.cgi | search |
| X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f |
| From: | "Bill Cunningham" <nospam AT nspam DOT net> |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Re: function question |
| Date: | Mon, 5 Apr 2004 06:26:06 -0400 |
| Organization: | Posted via Supernews, http://www.supernews.com |
| Message-ID: | <1072d9b9h7blrb8@corp.supernews.com> |
| References: | <106vune1fu63e7a AT corp DOT supernews DOT com> <c4puki$2kov8r$1 AT ID-227552 DOT news DOT uni-berlin DOT de> <1071n4u4qfhn0a2 AT corp DOT supernews DOT com> <c4quct$2f3pcq$2 AT ID-227552 DOT news DOT uni-berlin DOT de> |
| X-Priority: | 3 |
| X-MSMail-Priority: | Normal |
| X-Newsreader: | Microsoft Outlook Express 6.00.2800.1158 |
| X-MimeOLE: | Produced By Microsoft MimeOLE V6.00.2800.1165 |
| X-Complaints-To: | abuse AT supernews DOT com |
| Lines: | 20 |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
> > Perhaps int ma(int np[]={}) may have been more what I was looking
for
> > and intending?
>
> I haven't a clue what you think that's supposed to mean. Please explain
> in either C or discursive English. Your combination of English and
> something-that-isn't-C is not at all clear.
I've seen this in either k&r2 or a C++ book. Can't remember which.
An array say char array1[]={};
It's initializing an array to how a yet indetermined number of elements. C
is a small language. But it the beginning can be very confusing. At least to
me. Most newbies find pointers to be confusing and I'm still not quite sure
where & always comes into play. I find among good C programmers that some
that are good and some that are greater. Depends on their experience I
guess.
Bill
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |