Rule 22 in JSF AV C++ Coding Standards says:
AV Rule 22 (MISRA Rule 124, Revised)
The input/output library <stdio.h> shall not be used.
I understand from this answer why I shouldn't use these functions, but so far I didn't find an answer to what I can do instead? What if I need to print to console or to some other buffer?