How can i make a program that reads one matrix from a file.Use a sub routine to assign the elements of the matrix into a vector.Returning for the main program and write the vector in screen ?
There are lot of threads in tis forum about reading data from files - search for the examples.
Maybe for beginning - here is a short code I posted some times ago:
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.