Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

iostream vs. stdio

Name: Anonymous 2007-11-22 14:09

so, I've got EXPERT PROGRAMMERS telling me to use printf instead of cout in c++, ok but why? what is the difference (in b4 stream)

Name: Anonymous 2007-11-27 19:50

>>64
Look into <stdint.h> and <inttypes.h>
They've added stuff like uint64_t for example, and to print it using printf() you write

uint64_t n = UINT64_MAX;
printf("%"PRIu64"\n", n);

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List