Message-ID: <360EF506.7115@banet.net> Date: Sun, 27 Sep 1998 22:31:34 -0400 From: "Carlos M. Matos" Reply-To: cmmatos AT banet DOT net MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: I need help with an ADT using C Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 32.100.250.20 Organization: IBM.NET Lines: 24 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Carlos M. Matos wrote: Hi! Thank you in advance for those who will give me a helping hand. I am working with the djgpp environment and I believe the version of the c compiler is 2.01. I need to define an array of 2000 lines of text. Each line of text can be as long as 200 words. How do I do this with C? I tried the following: typedef char TEXTLINES[200]; TEXTLINES array[2000]; but the compiler complained about incompatible types when it found the following: TEXTLINES line; array[i++] = line; How can I solve this situation? Carlos