Here is a snippet of my program.
While compiling it's giving me this error:Code:void
add_trans(Dict *dict, char *source, char *target)
{
if (source != dict->*entry->source){
dict->*entry->source = source;
dict->size++;
insert(dict->*entry->trans->target, target);
}
}
Why is this syntaxt wrong?Quote:
In function `add_trans':
error: syntax error before '*' token
error: syntax error before '*' token
Many thanks.