www.digitalmars.com         C & C++   DMDScript  

D - printf bug in DMD 0.69

printf seems to have a problem handling long(s)
e.g.
   printf("%ld, %ld\n",100L,200L);
   results in 100,0

Interesting enough
   printf("%ld,%ld,%ld\n",100L,200L);
   results in 100,0,200

if the values of 100 and 200 were just plain int(s) things work just fine

dick
Aug 26 2003