|
||
|
GP Mailing List
ATXGPSIG List
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] C++ help
--- Sponsor's Message -------------------------------------- Does Windows ME Work for You? Tell it to the list! Join our special technology discussion. http://click.topica.com/aaaa4JbUrGczbU68iFa/technology ------------------------------------------------------------ I was wondering if anyone can tell me how i can create a dynamically allocated 2-dimensional array of chars. i have: char *dynamic_map; in my declarations, and then later in a function: dynamic_map = new char[ms_x] [ms_y]; (ms_x and ms_y passed into function) but this gives me a 'constant expression required' error. any help would be appreciated. tom ------------------------------------------------------------ Funniest page on the net: http://www.TeenageHumor.com Internet answering machine: http://www.onResponse.com/onr_ads.asp?a=68286&d=213 ____________________________________________________________ T O P I C A -- Learn More. Surf Less. Newsletters, Tips and Discussions on Topics You Choose. http://www.topica.com/partner/tag01
|
|