Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Aug 2001 08:47:24 -0400 
From:      "Hays, Sam" <SGHays@PatioEnclosuresInc.com>
To:        "'freebsd-questions@freebsd.org'" <freebsd-questions@freebsd.org>
Subject:   Goofy programming question ( C ) 
Message-ID:  <F3E75182E249D3119CF1006008A950CEB6BE2E@mozart.patioenclosuresinc.com>

next in thread | raw e-mail | index | archive | help

the question:
  Passing a two dimensional array to a function via a pointer.

what I have is this:
void function(char* array);
. . .
char array[4][4];
function(array);
. . .

that doesn't work.  I've tried a whole slew of other things, anybody have
any suggestions?

-SH

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F3E75182E249D3119CF1006008A950CEB6BE2E>