September 24th, 2003, 12:04 PM
Need help printing an array from a text file
I need a quick bit of help printing an 3x3 array (stored on a text file) which is part of a structure. I have developed the following:
fscan(myfile, "%i %i %i", &var[i], &var[i], &var[i]);
fprintf("VARIABLES | %i %i %i\n", var[i].name);
Am I on the right track?
September 25th, 2003, 09:56 AM
I have a similar problom, I have a text file with a list of numbers and I have to turn it into a 2d array. Did you ever get any answers? if so could you help me!
September 25th, 2003, 10:21 AM
September 25th, 2003, 10:26 AM
gtg dude, i'll do it later :D
September 25th, 2003, 10:58 AM