ibg
Joined: 19 Nov 2003 Posts: 22
|
"printf" and "int32" |
Posted: Fri Feb 27, 2004 11:18 am |
|
|
Hej,
I'm using a int32 variable and I'm wondering which the format for the printf instruction. I've tried with %lu but it's not working :(
Cheers,
ibg
The code is the following...
Code: | void initiate_freq_array(int32 a_freq_array[])
{
int i;
for (i= 0; i < NUMBER_OF_FREQUENCIES; i++)
{
a_freq_array[i]= 150000 + (10*i);
fprintf(DEBUG, "a_freq_array[%d]= %u \n", i, a_freq_array[i]);
}
} |
|
|