Is gets() officially deprecated?

后端 未结 5 1772
不思量自难忘°
不思量自难忘° 2020-12-07 02:58

Based on the most recent draft of C++11, C++ refers to ISO/IEC 9899:1999/Cor.3:2007(E) for the definitions of the C library functions (per §1.2[intro.refs]/1).

Based

5条回答
  •  醉酒成梦
    2020-12-07 03:25

    It's going to be a while until C++11 is implemented everywhere.

    Also, most compilers doesn't even fully support C99 yet.

    Microsoft's, for instance, does not.

    So no, it's not deprecated in both C and C++.

提交回复
热议问题