hi all
straight to the point, i have set my string breakers e.g.: filenameRfile contentsQ
the R and the Q are my point string breakers
i have got the filename part of my program to create the file under that file name but now i am struggling to copy the file's contents because i do not know how to get it to read only between Q & R
i have used this to find out how many characters there are til Q is reachedCode:char *pos2 = strchr(heading, 'Q'); int pos2a = pos2-heading;
this then doesnt carry on from R it starts all over again
is there a way to start it from a certain spot?
kind regards