Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sdd.hp.com!spool.mu.edu!uwm.edu!uwvax!daffy!cat27.cs.wisc.edu!jansa From: jansa@cat27.cs.wisc.edu (Dean Jansa) Newsgroups: comp.lang.c Subject: Help With Array of Pointers to chars Message-ID: <1991Apr2.193849.17442@daffy.cs.wisc.edu> Date: 2 Apr 91 19:38:49 GMT Article-I.D.: daffy.1991Apr2.193849.17442 Sender: news@daffy.cs.wisc.edu (The News) Organization: U of Wisconsin CS Dept Lines: 24 Originator: jansa@cat27.cs.wisc.edu I a quick Question for all of you... What is the fastest way, ( read efficent use of memory and quick ) to transfer strings from a struct i.e: struct something { string[10]; string2[10]; string3[10]; . . . }; into a array of pointers to chars: char *myarray[10]; I need to malloc each pointer to char to be able to hold 10 chars in this example then do a strcpy. Any easier ways out there?? Thanks C ya...