can anyone tell me why why you have to use something like
""Code:char ** codes; codes = new char*[num_codes]; for (i = 0; i < num_codes; i++) { codes[i] = new char[AMOUNT]; }
for allocating memory yet
gives you an error likeCode:"codes = new char[num_codes][string_length]; "
"cannot convert "`char (*)[6]' to `char**'" in assignment"
the background of this is that we have to write a "set" class to represent a set of codes each code is a 5 character c-string.