点这里看中文版 This post was written by Gabriel Dos Reis, Andrew Pardoe, and Billy O’Neal What Is New? The Visual C++ Team is elated to announce that with Visual Studio 2017, it has substantially improved the quality of the C++ Modules TS implementation in Visual Studio, in addition to introducing ability to consume the C++ Standard Library via module interfaces. These module interfaces for the Standard
This post was written by Gabriel Dos Reis, Phil Christensen, and Andrew Pardoe The Visual C++ Team is excited to announce that the compiler in Visual Studio 2017 RC will feature a mode much closer to ISO C++ standards conformance than any time in its history. This represents a major milestone in our journey to full ISO C++ conformance. The mode is available now as an opt-in via the /permissive- s
こんにちは、hachi8833です。 昨日のVisual C++ Team Blogで、Vcpkgというライブラリ管理ツールが公開されました。 Linuxのapt-get、yumやMacのHomebrewなどのパッケージ管理ツールを強く意識していますが、マイクロソフトが公式に運営する点が大きいと思います。 GitHubリポジトリも合わせて公開されていますので、そこにあるFAQの概要をご紹介します。いずれ公式のドキュメントが日本語化されると思いますので、詳しくはそちらをどうぞ。私が翻訳してよければやりますがw VcpkgのFAQより抜粋 Vcpkgとは、C++で書かれたオープンソースライブラリをWindows上で入手・リビルドするツールです。 誰でも貢献できる ガイドライン(英語)に従って、誰でも自分のライブラリをアップするなどして貢献できるとのことです。たぶん貢献をすっごく期
We are delighted to announce the availability of Vcpkg on GitHub https://github.com/Microsoft/vcpkg . Vcpkg simplifies acquiring and building open source libraries on Windows. Acquiring native libraries on Windows is a critical part of the application development process; in our surveys, you told us that 80% of your C++ projects depend on two or more libraries. Despite this, we’ve heard that the c
_ Visual StudioでclangでC11を試す(が) C11のAppendix Kを試してみたくて、bash on Windowsのclangで次のコードをコンパイルした。 #define __STDC_WANT_LIB_EXT1__ 1 #include <stdio.h> int main() { char tmp[80]; int n = scanf_s("%s", tmp); // => コンパイルエラーとなる if (n > 0) { puts(tmp); } } するとscanf_sは未定義だと警告され、結局はリンクエラーとなる。 test.c:(.text+0x1e): `scanf_s' に対する定義されていない参照です /usr/include/studio.hを見たら、確かに定義が存在しない。 まあAppendix Kはオプションだからそんなものかも知れない。
In Visual Studio 2017 15.4 you can now target Linux from your CMake projects. This enables you to work on your existing code base that uses CMake as your build solution without having to convert it to a VS project. If your code base is cross-platform you can target both Windows and Linux from within Visual Studio. This post will give an overview of the CMake support for Linux in Visual Studio. You
Ready to supercharge your Azure game right within GitHub Copilot? Dive into our latest set of videos where we break down six must-try features of GitHub Copilot for Azure. From deploying containers and managing AI models to exploring resources and planning migrations, we've got you covered. Check out the videos to see great examples of how GitHub Copilot for Azure can make your cloud projects smoo
Boost contains a lot of high quality cross platform C++ libraries. Some of the libraries in Boost use APIs that aren’t available in Windows Store and Phone applications. To help improve the experience Microsoft’s been working on enabling some of the Boost libraries. We’ve made improvements to the Boost build system to support targeting the Windows Runtime for Windows Store and Phone. Also we’ve ma
はじめに マイクロソフトが検証用に無償で公開しているVisual Studio 2012 Express(Visual Studio 2012 Express for Windows Desktop)では、静的コード解析ができます。 この記事では、Visual Studio 2012 ExpressでC++コードのコード解析を行ってみます。 VC2012 Expressで静的コード分析 - Dive to the Software リーダブルコード ―より良いコードを書くためのシンプルで実践的なテクニック (Theory in practice)posted with amazlet at 13.05.15Dustin Boswell Trevor Foucher オライリージャパン 売り上げランキング: 1,692 Amazon.co.jpで詳細を見る ケース1 初期化漏れ 以下のコード
The wait is over. NuGet support for C++ projects is here. Quick Links • NuGet 2.5 Download page: https://nuget.codeplex.com/releases/view/96733 • CoApp’s Powershell Tools Installer to create C++ NuGet packages: http://coapp.org/releases • Some C++ NuGet packages to try out: http://nuget.org/profiles/coapp/ Start downloading, then head on back here to learn more about NuGet and how to create and
Trying to get useful information about a C++ exception from a crash dump in Visual Studio is often an exercise in frustration, with useless dialogs like this being typical: In this post I’m going to present two ways of getting more information from the exception. The second method is more reliable and easier to use, but also requires a minor code change. The first thing to do is find the _CxxThrow
Archived MSDN and TechNet Blogs 1/21/2020 2 minutes to read MSDN and TechNet blog sites have been retired, and blog content has been migrated and archived here. Archived blogs are grouped alphabetically by the initial letter of the blog name. Blogs and blog posts can be searched by their names, using the Search box at the top of the page. Actively updated blogs have been moved to other blog sites,
In Visual Studio 2022 17.10 Preview 2, we’ve introduced some UX updates and usability improvements to the Connection Manager. With these updates we provide a more seamless experience when connecting to remote systems and/or debugging failed connections. Please install the latest Preview to try it out. Read on to learn what the Connection ...
元ネタ: unnonouno: 動的型情報で仮想関数呼び出しを速くできるか Javaだと実行時の情報を使って更なる最適化ができるという話が途中にありますが、同じようなことはC++でもできます。元の記事のようにインライン展開したコードを手書きしてやる必要はありません。 というわけで、Visual C++ 2010のProfile-Guided Optimization (PGO)でいってみましょう。 元のコードを再掲します。 class Parent { public: virtual ~Parent() {} virtual void fun() = 0; }; class Child : public Parent { public: void fun() {} }; int main() { Parent* c = new Child(); for (int i = 0; i < 10
Archived MSDN and TechNet Blogs 2/7/2020 2 minutes to read MSDN and TechNet blog sites have been retired, and blog content has been migrated and archived here. Archived blogs are grouped alphabetically by the initial letter of the blog name. Blogs and blog posts can be searched by their names, using the Search box at the top of the page. Actively updated blogs have been moved to other blog sites,
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く