From owner-freebsd-questions Thu Aug 9 5:40:36 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mozart.patioenclosuresinc.com (mail.patioenclosuresinc.com [206.183.7.174]) by hub.freebsd.org (Postfix) with ESMTP id 2AD0A37B409 for ; Thu, 9 Aug 2001 05:40:31 -0700 (PDT) (envelope-from SGHays@PatioEnclosuresInc.com) Received: by mozart.patioenclosuresinc.com with Internet Mail Service (5.5.2653.19) id ; Thu, 9 Aug 2001 08:47:27 -0400 Message-ID: From: "Hays, Sam" To: "'freebsd-questions@freebsd.org'" Subject: Goofy programming question ( C ) Date: Thu, 9 Aug 2001 08:47:24 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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