How can I read a file and store in a array

  • Thread starter Thread starter Brown12345
  • Start date Start date
B

Brown12345

Guest
Using the below definition how can I read a file and store in an array?

int StoreDate(wchar_t* inFile, int num[], int maxSizeofArr)

I have to use the above signature to read a file and store in an array. The file will store integers like the example below:

12

41

74

45

65

14

74


How do I do this?

Please help I am stuck at this point. Thank You in Advance:)

Continue reading...
 
Back
Top