Coder's Guild Mailing List

Re: Memory allocation

Posted by Kspansel@xxx.xxx on 1999-05-05

Jeese.  I wish I would figure my problem out before I post.  hehe.  Sorry for 
taking up so much useless space.  I did figure my problem out.  I used 
this...all credit goes to Eian..I just modified what he had a little to suit 
my needs. Thanks.  Here's what I got:

char **Token;

Token = new char *[SIZE];

for(int i=0;i < SIZE;i++)
    Token[i] = new char [MAXBUFFER];

Kory