Newsgroups: c++,comp.lang.c Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!ukma!widener!widener!sven From: sven@cs.widener.edu (Sven Heinicke) Subject: declaring defines. Message-ID: Date: Sat, 15 Jun 91 22:53:30 GMT Organization: Widener CS Dept Lines: 29 Hi, I got this to work no problem: #include #define TRY "look","at","this",NULL main() { char *first[] = {TRY}; int i; for(i = 0;first[i] != NULL;i++) printf("%s\n",first[i]); } That works fine. This does not work, is there any way to get something like this to compile? #include #define TRY {"look","at","this",NULL},{"and","this","too",NULL} main() { char *first[][] = {TRY}; . . . } -- sven@cs.widener.edu Widener CS system manager Sven Mike Heinicke and Student (pssmheinicke@cyber.widener.edu (if you must))