T
trbosjek
A total newbie. This simple example below prints left justified. How
do I make it right justified, as a number should be? It works for
smaller integers (other than unsigned long long).
#include <stdio.h>
int main ()
{
unsigned long long int bigger, smaller;
bigger= 18446744073709551615ULL;
smaller=4294967296ULL;
printf( "%llu\n", bigger);
printf( "%llu\n", smaller);
}
Compiled with gcc on HPUX.
do I make it right justified, as a number should be? It works for
smaller integers (other than unsigned long long).
#include <stdio.h>
int main ()
{
unsigned long long int bigger, smaller;
bigger= 18446744073709551615ULL;
smaller=4294967296ULL;
printf( "%llu\n", bigger);
printf( "%llu\n", smaller);
}
Compiled with gcc on HPUX.