0

I am trying to read the matrix (please see this link http://www.clcbio.com/scienceimages/img8.png.

This matrix will be in text based file. How can I read this file and create a matrix and fill it in my code.
The other question I have is that the matrix has first row and column with value as char and rest values are in integer, how can I take care of this?

Please suggest.
Thanks

3
Contributors
2
Replies
3
Views
7 Years
Discussion Span
Last Post by ohsosexy
0

It's not all that difficult, and is much easier if you have a firm grip on LINQ and extension methods. But first, what have you tried?

To start, I would suggest reading the contents of the fille using the File.ReadAllLines(fileName) method (System.IO namespace). That will read the contents of the file into an array of strings. From there, you can determine what to leave out (the first line) and then how to deal with your remaining array items.

0

It's not all that difficult, and is much easier if you have a firm grip on LINQ and extension methods. But first, what have you tried?

To start, I would suggest reading the contents of the fille using the File.ReadAllLines(fileName) method (System.IO namespace). That will read the contents of the file into an array of strings. From there, you can determine what to leave out (the first line) and then how to deal with your remaining array items.

sir could you help me with the priority scheduling in visual basic

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.