In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
This article introduces the relevant knowledge of "whether VC++ supports C99". In the operation of actual cases, many people will encounter such a dilemma. Then let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
There is no doubt that VC++ supports ANSI C, but I can see two arguments about whether or not to support C99:
1. C99 is not supported.
Http://en.wikipedia.org/wiki/Visual_C%2B%2B#Issues
two。 Individual features of C 99 are supported.
Http://en.wikipedia.org/wiki/ANSI_C#Compilers_supporting_ANSI_C
Http://social.msdn.microsoft.com/Forums/pl-PL/vclanguage/thread/8c3ce91d-e4bc-4a95-a122-b19cac1e94aa
What on earth is the situation? I experimented with VC++ 2010 and determined that VC++ 2010 supports the following features of C99:
Single-line comments at the beginning of / / are supported
Data types such as long long are supported, but the format strings of printf and scanf do not support long long types.
Support for variable parameter macros
VC++ 2010 does not support the following features of C99:
Support for arrays of variable length
The variable declaration does not have to be placed at the beginning of the statement block
In addition to the existing _ _ line__, _ _ file__, add _ _ func__ to get the current function name.
This is the end of the introduction of "whether VC++ supports C99". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.