Problem solved

Oct 31, 2008 at 12:14am
Hey, I was just wondering how it would be possible to enter the contents of an array through printf, or if it's possible.

I thought it would have been easy as 1,2,3:
printf(array[i]);

but apparently it's not, printf gives me some kind of error. could someone help me out with this?
Last edited on Oct 31, 2008 at 10:49am
Oct 31, 2008 at 12:20am
You could printf() a temporary value, then store it to the array I suppose. (I assume that your code was part of a for loop)
Topic archived. No new replies allowed.