delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/10/07/16:48:42

Message-ID: <DB85AFBE7C0DD311BF260004ACB80BFCEC34@nex_server.nextransport.com>
From: George Kinney <GKinney AT nextransport DOT com>
To: "'djgpp AT delorie DOT com'" <djgpp AT delorie DOT com>
Subject: Re: Please help...matrix problem with Allegro
Date: Thu, 7 Oct 1999 14:58:09 -0400
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2448.0)
Reply-To: djgpp AT delorie DOT com

>What do you mean initialize to zero? Do you mean like matrix[x][y] = 0
>or do something else?

You could, but:
memset( matrix, 0, [[matrix x-size] * [matrix y-size]] )
would be quicker.

- Raw text -


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