久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

Visual Studio 是否支持新的 C/C++ 標準?

Visual Studio support for new C / C++ standards?(Visual Studio 是否支持新的 C/C++ 標準?)
本文介紹了Visual Studio 是否支持新的 C/C++ 標準?的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

問題描述

我一直在閱讀有關 C99 和 C++11 以及所有這些正在添加到語言標準中的非常棒的東西,這些東西有一天可能會很好用.然而,我們目前在 Visual Studio 中編寫 C++ 的土地上苦苦掙扎.

I keep reading about C99 and C++11 and all these totally sweet things that are getting added to the language standard that might be nice to use someday. However, we currently languish in the land of writing C++ in Visual Studio.

標準中的任何新內容是否會被添加到 Visual Studio 中,或者微軟是否對添加新的 C# 變體更感興趣?

Will any of the new stuff in the standard ever get added to visual studio, or is Microsoft more interested in adding new C# variants to do that?

除了已接受的答案,我還找到了 Visual C++ 團隊博客:

In addition to the accepted answer, I found the Visual C++ team blog:

http://blogs.msdn.com/vcblog/

特別是其中的這篇文章:

And specifically, this post in it:

https://web.archive.org/web/20190109064523/https://blogs.msdn.microsoft.com/vcblog/2008/02/22/tr1-slide-decks/

非常有用.謝謝!

推薦答案

MS 對此有一系列公開回復,其中大多數都指責他們的用戶.喜歡這個:

MS has a series of public replies to this, most of them blaming their users. Like this one:

https://devblogs.microsoft.com/cppblog/iso-c-標準更新/

現在,Visual C++ 編譯器團隊偶爾會收到關于為什么我們沒有實現 C99 的問題.這實際上是基于我們用戶的興趣.當我們收到許多對某些 C99 功能的請求時,我們已經嘗試實現它們(或類似物).幾個例子是可變參數宏、long long__pragma__FUNCTION____restrict.如果您發現其他 C99 功能對您的工作有用,請告訴我們!我們的 C 用戶很少聽到我們的聲音,所以說出來,讓自己聽到

Now, the Visual C++ compiler team receives the occasionally question as to why we haven’t implemented C99. It’s really based on interest from our users. Where we’ve received many requests for certain C99 features, we’ve tried to implement them (or analogues). A couple examples are variadic macros, long long, __pragma, __FUNCTION__, and __restrict. If there are other C99 features that you’d find useful in your work, let us know! We don’t hear much from our C users, so speak up and make yourselves heard

http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=345360

嗨:不幸的是,我們從大多數用戶那里得到的壓倒性反饋是,他們更愿意我們專注于 C++-0x 而不是 C-99.我們有櫻桃采摘"某些流行的 C-99 特性(可變參數宏,long long),但除此之外,我們不太可能在 C-99 領域做更多的事情(至少在短期內).

Hi: unfortunately the overwhelming feadback we get from the majority of our users is that they would prefer that we focus on C++-0x instead of on C-99. We have "cherry-picked" certain popular C-99 features (variadic macros, long long) but beyond this we are unlikely to do much more in the C-99 space (at least in the short-term).

喬納森洞穴

Visual C++ 編譯器團隊.

Visual C++ Compiler Team.

這是一個非常可悲的狀態,但如果您懷疑 MS 想要鎖定用戶,這也是有道理的:這使得將現代基于 gcc 的代碼移植到 MSVC 中變得非常困難,至少我覺得這非常痛苦.

This is a pretty sad state of affairs, but also makes sense if you suspect MS wants to lock users in: it makes it very hard to port modern gcc-based code into MSVC, which at least I find extremely painful.

不過,存在一種解決方法:請注意,英特爾在這方面更加開明.英特爾 C 編譯器可以處理 C99 代碼,甚至具有與 gcc 相同的標志,從而更容易在平臺之間移植代碼.此外,英特爾編譯器在 Visual Studio 中工作.因此,通過廢棄 MS 編譯器,您仍然可以使用您認為具有某種價值的 MS IDE,并盡情使用 C99.

A workaround exists, though: Note that Intel is much more enlightened on this. the Intel C compiler can handle C99 code and even has the same flags as gcc, making it much easier to port code between platforms. Also, the Intel compiler works in visual studio. So by scrapping MS COMPILER you can still use the MS IDE that you seem to think has some kind of value, and use C99 to your hearts content.

老實說,更明智的方法是轉移到 Intel CC 或 gcc,并在您的編程環境中使用 Eclipse.根據我的經驗,代碼在 Windows-Linux-Solaris-AIX 等之間的可移植性通常很重要,不幸的是,MS 工具根本不支持這一點.

A more sensible approach is honestly to move over to Intel CC or gcc, and use Eclipse for your programming environment. Portability of code across Windows-Linux-Solaris-AIX-etc is usually important in my experience, and that is not at all supported by MS tools, unfortunately.

這篇關于Visual Studio 是否支持新的 C/C++ 標準?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

相關文檔推薦

How do I set the icon for my application in visual studio 2008?(如何在 Visual Studio 2008 中為我的應用程序設置圖標?)
Convert CString to const char*(將 CString 轉換為 const char*)
Remove secure warnings (_CRT_SECURE_NO_WARNINGS) from projects by default in Visual Studio(默認情況下,在 Visual Studio 中從項目中刪除安全警告 (_CRT_SECURE_NO_WARNINGS))
How do I start a new CUDA project in Visual Studio 2008?(如何在 Visual Studio 2008 中啟動新的 CUDA 項目?)
Exporting classes containing `std::` objects (vector, map etc.) from a DLL(從 DLL 導出包含 `std::` 對象(向量、映射等)的類)
What are some reasons a Release build would run differently than a Debug build(發布版本與調試版本的運行方式不同的一些原因是什么)
主站蜘蛛池模板: 国产精品乱码一区二区三区 | 综合色导航 | 久久尤物免费一区二区三区 | 天天噜天天干 | 久久久久久国产 | 国产高潮好爽受不了了夜色 | 色www精品视频在线观看 | 国产精品久久久久久亚洲调教 | 亚洲视频第一页 | 国产精品福利网站 | 521av网站| 亚洲区一区二区 | 一区精品视频在线观看 | 欧美日韩成人 | 日韩av在线一区 | 久久久久国产精品午夜一区 | 欧美精品网站 | 香蕉久久久| 毛片一级片 | 亚洲国产成人av好男人在线观看 | 蜜桃视频一区二区三区 | 青青久草 | 正在播放一区二区 | 中文字幕在线观看成人 | 精品欧美一区二区三区久久久 | 日韩精品一区二区三区中文在线 | 中文字幕在线播放第一页 | 老司机成人在线 | 黄色免费网站在线看 | 国产精品69毛片高清亚洲 | 91精品国产日韩91久久久久久 | 在线观看第一页 | 在线亚州 | 亚洲高清视频一区二区 | 精品视频一区二区 | 午夜精品视频一区 | 久国产视频 | 免费在线观看一级毛片 | 成人在线视频免费观看 | 神马久久久久久久久久 | 色偷偷噜噜噜亚洲男人 |