メニュー: 拡張機能と更新プログラム > オンライン から
CxxWinRTTemplate for Windows 8.1 をインストールする。

これにより、"新しいプロジェクトの追加" に CxxWinRTTemplate が現れる。

このテンプレートで生成される Source.cpp はこんな。
Source.cpp
// Source.cpp : Defines the entry point for the console application.
//
# include <iostream>
using namespace std;
using namespace Platform;
int main(Platform::Array<Platform::String^>^ args)
{
Platform::Details::Console::WriteLine("Hello World");
return 0;
}