MESSAGE
| DATE | 2004-09-09 |
| FROM | Ruben Safir Secretary NYLXS
|
| SUBJECT | Subject: [hangout] C programming: 2d Arrays
|
From owner-hangout-destenys-at-mrbrklyn.com Thu Sep 9 10:20:36 2004 X-UIDL: 1e^!!GWf"!Cj`!!_"<"! Received: from www2.mrbrklyn.com (LOCALHOST [127.0.0.1]) by mrbrklyn.com (8.12.11/8.11.2/SuSE Linux 8.11.1-0.5) with ESMTP id i89EKaJN006770 for ; Thu, 9 Sep 2004 10:20:36 -0400 Received: (from mdom-at-localhost) by www2.mrbrklyn.com (8.12.11/8.12.3/Submit) id i89EKa92006769 for hangout-destenys; Thu, 9 Sep 2004 10:20:36 -0400 X-Authentication-Warning: www2.mrbrklyn.com: mdom set sender to owner-hangouts-at-www2.mrbrklyn.com using -f Received: from www2.mrbrklyn.com (LOCALHOST [127.0.0.1]) by mrbrklyn.com (8.12.11/8.11.2/SuSE Linux 8.11.1-0.5) with ESMTP id i89EKZMe006764 for ; Thu, 9 Sep 2004 10:20:35 -0400 Received: (from ruben-at-localhost) by www2.mrbrklyn.com (8.12.11/8.12.3/Submit) id i89EKZK4006763 for hangout-at-nylxs.com; Thu, 9 Sep 2004 10:20:35 -0400 Date: Thu, 9 Sep 2004 10:20:35 -0400 From: Ruben Safir Secretary NYLXS To: hangout-at-nylxs.com Subject: [hangout] C programming: 2d Arrays Message-ID: <20040909102035.A6740-at-www2.mrbrklyn.com> Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Mailer: Balsa 1.2.3 Sender: owner-hangouts-at-mrbrklyn.com Precedence: bulk Reply-To: Ruben Safir Secretary NYLXS List: New Yorker GNU Linux Scene Admin: To unsubscribe send unsubscribe name-at-domian.com in the body to hangout-request-at-www2.mrbrklyn.com X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on www2.mrbrklyn.com X-Spam-Status: No, hits=-4.9 required=4.0 tests=BAYES_00 autolearn=ham version=2.63 X-Spam-Level: X-Keywords: X-UID: 35825 Status: RO Content-Length: 860 Lines: 23
I'm trying to pass an array of string to a function without knowing how many strings I have beforehand.
I've defined one functions as
char * insert(char table[256],int cols, char values[3][256]);
out of deperation because when I defined it as
char * insert(char table[255],int cols, char values)
I keep getting no data passed.
char * insert(char table[256],int cols, char values * [3]);
Gets me only one arguement passed. I thought I used to do this all the time. In fact, main does this. I've loaded the entire source code I'm working with onto https://www.freedom-it.com/clinical.tgz ifd anyone wants to look. The code is using GTK 2.x and MYSQL 4.0x for anyone interested.
Ruben ____________________________ NYLXS: New Yorker Free Software Users Scene Fair Use - because it's either fair use or useless.... NYLXS is a trademark of NYLXS, Inc
|
|