| delorie.com/archives/browse.cgi | search |
| Message-ID: | <360E40F9.575E@banet.net> |
| Date: | Sun, 27 Sep 1998 09:43:21 -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 |
| NNTP-Posting-Host: | 32.100.252.231 |
| Organization: | IBM.NET |
| Lines: | 20 |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
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 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 |