This is a discussion on Decision Making within the C++ Programming forums, part of the General Programming Boards category; Originally Posted by Elysia Unfortunately not so in embedded systems where every KByte counts. I disagree. I can't speak about ...
Just adding iostream adds a lot of kbytes, you know? Which might be too expensive.
But actually, I did not know of this option. This will certainly come in handy, so thanks for that.
Still, the C I/O library, though big, takes up far less space than the C++ I/O library in my experience.
It is important to note though that much of the C standard (excepting the language grammar basically), including the libraries and main() and other things, only apply to hosted environments. Since embedded programming is frequently not on a hosted environment rolling your own I/O functions may be mandatory.
Of course, good hardware has something to the effect of a library, usually.