[A89] Re: A problem


[Prev][Next][Index][Thread]

[A89] Re: A problem




Hi!

| I'm pretty sure that the problem is that the original poster is trying to
| create an array of a dynamic size; that is, the size of the array is
| specified by the variables x and y.  In C, this is one of those things
that
| seems logical from a high-level programmer's point of view, but not from a
| compiler's point of view.

It IS possible in GNU C.  Read the GNU C Extensions page in the doc.

And Rob, you said you had figured it out.  So what was the problem?  The
char fn[]?  (should be const char *fn)

Bye,
Sebastian Reichelt





Follow-Ups: References: