cvs.gedasymbols.org/archives/browse.cgi | search |
Date: | Tue, 4 Mar 2003 00:14:49 -0500 |
Message-Id: | <200303040514.h245EnY30379@envy.delorie.com> |
X-Authentication-Warning: | envy.delorie.com: dj set sender to dj AT delorie DOT com using -f |
From: | DJ Delorie <dj AT delorie DOT com> |
To: | jbs30000 DOT news DOT invalid AT web2news DOT net |
CC: | djgpp AT delorie DOT com |
In-reply-to: | <17489N841@web2news.com> (jbs30000.news.invalid@web2news.net) |
Subject: | Re: Initializing a variable. |
References: | <17489N841 AT web2news DOT com> |
Reply-To: | djgpp AT delorie DOT com |
Errors-To: | nobody AT delorie DOT com |
X-Mailing-List: | djgpp AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
> 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] = {...};
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |