ddanbe is refering to his reply in your other thread:here.
Since you are posting them as seperate issues and ddanbe and diamonddrake have given you the code to read in the contents of the file i wont go over that. To split the string you can do something like:
As ddabe said, it is very hard for us to debug the code if we dont know the error. Lets us now the full message that is displayed so we can figure out what is causing it. Also, is the Console.WriteLine(line); definitely showing the right values? You have an errant whitespace in your filename...not sure if that will make a differance, but something to check :) StreamReader sw = new StreamReader("c:[U] [/U]\\key.txt");
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.