From: Sudhir Newsgroups: comp.os.msdos.djgpp Subject: Re: How to convert mode to "pointer to array"? Date: Fri, 21 Jul 2000 11:47:16 -0400 Organization: University of Maryland College Park Lines: 10 Message-ID: <39787083.E067BE47@wam2.umd3.edu> References: <39780BA1 DOT 7354F5D2 AT umist DOT ac DOT uk> NNTP-Posting-Host: cezanne.isr.umd.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: hecate.umd.edu 964194436 7260 128.8.111.63 (21 Jul 2000 15:47:16 GMT) X-Complaints-To: abuse AT wam DOT umd DOT edu NNTP-Posting-Date: 21 Jul 2000 15:47:16 GMT X-Mailer: Mozilla 4.7 [en] (X11; U; SunOS 5.6 sun4u) X-Accept-Language: en To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Anthony Appleyard wrote: > atom((*C)[N+1][N+1])= /*HERE*/ malloc((N+1)*(N+1)*(N+1)*sizeof(atom)); > make this text ANSI, what should I insert at /*HERE*/ ? Insert (atom*) with the brackets. That forces a conversion to a pointer to atom -- -Sudhir Remove all numbers to reply to email