delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/12/24/09:29:23

Date: Wed, 24 Dec 1997 16:26:51 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Grzegorz Adam Hankiewicz <gregorio AT jet DOT es>
cc: djgpp AT delorie DOT com
Subject: Re: The warning <-- Solved. Thank you
In-Reply-To: <34a0fad9.7080989@news.jet.es>
Message-ID: <Pine.SUN.3.91.971224162528.18916A-100000@is>
MIME-Version: 1.0

On Wed, 24 Dec 1997, Grzegorz Adam Hankiewicz wrote:

> Thanks to all who answered. I've compiled successfully the following
> code without any warnings:
> 
> char line[4][2] = {
> 		 {2,1,2,1},
> 		 {3,4,2,1}
> 		};

I don't think this is the correct initialization.  The correct one should 
include 4 arrays of 2 numbers, not 2 arrays of 4.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019