delorie.com/archives/browse.cgi | search |
Message-ID: | <360EF506.7115@banet.net> |
Date: | Sun, 27 Sep 1998 22:31:34 -0400 |
From: | "Carlos M. Matos" <cmmatos AT banet DOT net> |
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 |
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 |
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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |