0

How to use source file in function !!!!!

what is the deal with source file and function I couldn't understand it at all and to return an array from a function using the source file!

11th Dec 2018, 7:55 AM
mo🐼
mo🐼 - avatar
3 Réponses
+ 3
It would help to know where you got this idea because, as you question is written, it makes no sense to me (and likely others as no one has replied.)
11th Dec 2018, 7:13 PM
John Wells
John Wells - avatar
+ 1
Based on what you have posted, I'm guessing create a source file in C to read a matrix. Put the read of it's values in a separate function. The values of the matrix could come from two places: user input to prompts or a file so I'm guessing file.
11th Dec 2018, 9:53 PM
John Wells
John Wells - avatar
0
actually it was a lecture today about c programming files I was asked to create a program with a file to read a matrix but the teacher didn't explain that much about the source file so I didn't quite understand how to do that
11th Dec 2018, 9:30 PM
mo🐼
mo🐼 - avatar