What does the “c” mean in cout, cin, cerr and clog?

前端 未结 3 1900
北荒
北荒 2020-12-28 11:40

What does the "c" mean in the cout, cin, cerr and clog names?

I would say char but I haven\

3条回答
  •  执笔经年
    2020-12-28 12:41

    The "c" stands for "character" because iostreams map values to and from byte (char) representations. [Bjarne Stroustrup's C++ Style and Technique FAQ]

提交回复
热议问题