Hi,
I have a question regarding fscanf. In my program I call fscanf(fp, "%15[^,],%d,%315[^;];", anum, &bal, cust)
.
Everything works fine and there is no problem with the syntax, the only trouble I am having is that I need to copy the ';' as well into cust and use it as a delimiter.
I tried strcat and to do it manually using array manipulation but it doesn't seem to work.
Do you guys have any ideas? Thanks in advance.