Advertisement

String Array

Started by August 22, 2001 01:55 AM
0 comments, last by Nullio 23 years, 6 months ago
I need an array of string with assorted lengths LPSTR TileFileNames[79] = {"test1","test2"}; why doesn''t this work?? and what should I be doing?
You have to allocate memory for the strings. LPSTR is a pointer to a string (typedef for ''char *'').

This topic is closed to new replies.

Advertisement