Hi guys just joined the forum this is my first post blah blah....
now that that's out of the way lol
I am working on a program that requires a file to be read then stored into an array, the file had three different fields (name, model number and price)
i already know i can use a struct in an array, open the file run a loop to fill the array inside main()
what i want to know is can i use a function which is a members of a class to open the file and fill the array?