Click here to Skip to main content
15,916,835 members

Comments by h.lee (Top 4 by date)

h.lee 21-Sep-11 12:44pm View    
Very good suggestions. Thanks.
h.lee 21-Sep-11 12:42pm View    
No, I did not modify the char codes[100][8]; declaration. As mentioned in my original post, without the (char *) cast I would get the "cannot convert parameter 1 from 'char (*)[8]' to 'char **'." error.

Also I did not use two parameters in my template since I do not need the first dimension. However, I will switch to your other solution to check the bounds.

Thanks.
h.lee 20-Sep-11 14:19pm View    
Wow, that's some trick! It would be perfect if there's a way to rid of the second argument.
h.lee 20-Sep-11 9:31am View    
Thanks for your input but the suggestion does not work - please see my expanded question above.