Hi. I need to make a program which outputs an array to a file. The output file needs to have two columns, one labeled m(e) another labeled v, but I can't get the columns of the array to be separated in the output file, it just prints a string of characters. Here's my current code:
for (k = 0; k < (16); k++)
{
fprintf(output, "%d %d\n", table[k][0], table[k][1]);
}
fclose(output);
Any tips?