Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- char ***vals = (char ***)malloc(sizeof(char **) * [dataArr count]);
- for(int j = 0; j < [dataArr count]; ++j){
- vals[j] = (char **)malloc(sizeof(char *) * [namesArr count]);
- for(int i = 0; i < [namesArr count]; ++i){
- vals[j][i] = [[[dataArr objectAtIndex:j] objectAtIndex:i] cStringUsingEncoding:NSASCIIStringEncoding];
- }
- HTML_col_push(h, HTML_row_make([namesArr count], vals[j]) );
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement