Tuesday, July 28, 2009

Need help with array declaration in vb2008?

Hi friends, i have to write a code that gets input from the user two matrices and solve them using gaussian elimination. i have written the code for the gaussian elimination part, since i have laready done it in dev cpp. now i have to get the input matrices from two text file. i don't know how to read a number one by one, and i don't know how to declare a array to store them. plz help me!

Need help with array declaration in vb2008?
dim array(1 to ....) as integer





for i = 1 to n


let array(i)=0


next i





for j= 1 to n


( input from txt file to array(j))


next j
Reply:dim myA() as Int





myA(int) = int





For a as int = 0 to myA.Length


...


Next

flower arrangement

No comments:

Post a Comment