You're going to have to read and re-write all the file starting at the "abc" line and moving everything down by the length of the line. Not a pretty process. If the file's small enough to fit into memory you can simplify the code by reading it all into an array, deleting the abc line from the array, then re-writing the whole file from the array.
Think of a file as a long strip of paper with designs on it. If you want to remove a design, you have to make a cut in the paper just after the design and drag the end piece over the design you want to remove.
I have a 2d matrix with dimension (3, n) called A, I want to calculate the normalization and cross product of two arrays (b,z) (see the code please) for each column (for the first column, then the second one and so on).
the function that I created to find the ...
Hi. I have a form with list box : lst_product, datagridview : grd_order and button: btn_addline. lst_product has a list of product ids selected from database (MS Acess 2013) , grd_order is by default empty except for 2 headers and btn_addline adds rows to grd_order.