What is the point of the C99 standard?

后端 未结 6 1639
渐次进展
渐次进展 2021-02-19 07:17

C99 adds several useful features to the language, yet I find it difficult to recommend any practice which depends upon C99. The reason for this is because there are few (any?) a

6条回答
  •  野性不改
    2021-02-19 07:57

    You should use C99 whenever you are not locked in an environment that doesn't support C99 (embeded systems most notably).

    And yes, if you know that your library will be used by people that are using MSVC, you can't use C99 features in the interfaces, but there is no reason not to use C99 in the implementation (apart from library feature dependencies of course).

    Original answer: "Uh? What compilers don't support C99? Plus when you move from compilers to tools, C99 is actually more commonly supported then C89."

提交回复
热议问题