September 24th, 2003, 11:04 AM
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, 08: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, 09:21 AM
September 25th, 2003, 09:26 AM
gtg dude, i'll do it later :D
September 25th, 2003, 09:58 AM