3 ms·
code/ex3.c:6: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘double’ You should probably read this book. :-)
by zedshaw 15y ago
code/ex3.c:6: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘double’
You should probably read this book. :-)
- getsat 15y agoHmm, I don't recall MSVC++ ever warning about that! Unfortunately, I did use Windows at one point in my career. I'll pass on reading it since I don't intend to write C ever again, but I hope the book works out well for you. :) Edit: Just dug up some of my old C code. It is indeed %.2f that I was thinking of. Sorry for the confusion once again.