MESSAGE
DATE | 2004-09-09 |
FROM | Ruben Safir Secretary NYLXS
|
SUBJECT | Subject: [hangout] C programming: 2d Arrays
|
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
|
|