| delorie.com/archives/browse.cgi | search |
| From: | "Joel_S" <jbs30000 DOT news DOT invalid AT web2news DOT net> |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Re: Initializing a variable. |
| Date: | Tue, 04 Mar 2003 07:18:17 +0100 |
| Organization: | Web2news.com |
| Message-ID: | <17493N697@web2news.com> |
| References: | <17489N841 AT web2news DOT com> <200303040514 DOT h245EnY30379 AT envy DOT delorie DOT com> |
| MIME-Version: | 1.0 |
| NNTP-Posting-Host: | 198.81.26.238 |
| X-Complaints-To: | abuse AT web2news DOT net |
| Lines: | 14 |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
Thanks, it worked. Although I had to go Map[26][27].
>> unsigned char Map[676] = {"__________________________", /*0*/
>> "_ _", /*1*/
>> "_ ____ ___ _", /*2*/
>
> "unsigned char[676]" is a single string of 676 characters.
> What you have given it is 26 strings of 26 characters.
> You want something like this:
>
> unsigned char Map[26][26] = {...};
--
Direct access to this group with http://web2news.com
http://web2news.com/?comp.os.msdos.djgpp
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |