I cant figure out why I continue to get a core dump with this function. I'm trying to print out the numbers 3, 5, 7, 9, 11, 13
_num, field_size, and num_per_line are all equal to 6 when I call the function
Code:void Vect::tellsome( ostream & out, int field_size, int num_per_line) { for(int i = 0; i < _num; ++i) { if((i % num_per_line) == 0) { out << endl; } out << setw(field_size) << _data[i]; } }