October 30th, 2013, 02:26 PM
So my function should be
void arrayToFile(const char * filename, int*array, int size)
sorry about the char instead of int...oversight.
October 30th, 2013, 12:27 PM
thanks laserlight. I passed the outfile, got the following error.
C:\Users\Public\Documents\lkh\main.cpp||In function 'int main()':|
October 30th, 2013, 12:14 PM
Thanks Paul I have made the corrections and still get errors.
October 30th, 2013, 11:11 AM
This is what I have so far
My function does not work and my compiler says my int array is not initialized