[A89] Re: c trouble
[Prev][Next][Index][Thread]
[A89] Re: c trouble
If you REALLY want to use **foo over foo[x][y], then assign foo an address where there will not be anything stored. The easiest way is to use memset() to declare **foo as a buffer, or (less efficiently) use malloc() or calloc(). I still think that declaring foo[x][y] will be most effective; just make the x and y dimensions as big as the maximum number of terms could ever be stored in the array (determining this will be difficult; you must know EXACTLY how the code will behave when it stores pointers and characters into the array).
Jude Nelson
Follow-Ups: