cost of fprintf

后端 未结 4 357
-上瘾入骨i
-上瘾入骨i 2021-01-15 05:31

I am developing an embedded application in C++ for a platform with limited code/data RAM, but rather unlimited RAM for filesystem usage.

While looking for reducing t

4条回答
  •  迷失自我
    2021-01-15 06:18

    The answer to your first question depends on the compiler that you are using; you can only get a definitive answer by examining your compiler. As GrahamS pointed out, formatter implementation can be complicated.

    Try using fputs instead of fprintf to avoid the formatter.

提交回复
热议问题