AnsweredAssumed Answered

how printf unsigned long long uint_64

Question asked by Rui Faria on Mar 11, 2011
Latest reply on Mar 23, 2011 by Rui Faria



Anyone knows how can i printf a unsigned long long (uint_64) variable?


uint_32 var32  = 0;

uint_64 var64 = 0;


printf("var32 = %lu \n", var32);

printf("var64 = %?? \n", var64);  // Question ??


Note: %llu doesn't work for unsigned long long variables



I am using M52259Demo Board, MQX 3.6.2 and CodeWarrior Coldfire Classic 7.2.1 with C++ Compiler.


thanks in advance