物理の駅 Physics station by 現役研究者

テクノロジーは共有されてこそ栄える

2017-07-01から1ヶ月間の記事一覧

テキストファイルの読み取りと、JSONファイルの書き出し・読み取り方

picojson.h は https://github.com/kazuho/picojson/blob/master/picojson.h からダウンロードすべし。 #include "picojson.h" #include <string> #include <iostream> #include <fstream> #include <sstream> //テキストファイルの読み取り inline std::string read_txt(std::string const& path</sstream></fstream></iostream></string>…

Visual Studio の Cross Tools / Native Toolsって何?

x86_x64 Cross Tools Command Prompt for VS 2017 32bit パソコンで64bit パソコン用の実行ファイルを作る ただし、64bitパソコンでも動く x64 Native Tools Command Prompt for VS 2017 64bit パソコンで 64bit パソコン用の実行ファイルを作る x64_x86 Cro…

PocoをVisual Studio 2017でとにかくビルドするコマンド

Poco をダウンロードする。 https://pocoproject.org/download/index.htmlpocoproject.org Visual Studio 2017の場合 x64 Native Tools Command Prompt for VS 2017 を起動し、次のコマンドを叩く buildwin.cmd 150 build all both x64 nosamples notests ms…

ATOK2017の日本語入力でVisual Studio 2017のGitのcommitメッセージを書こうとすると異常終了する

Visual Studioが異常終了します。常に異常終了するわけではありません。原因と解決をご存じの方いませんか? ちなみに、Visual Studio 2015でも同様の現象は起きます。過去にGoogle-IMEでVS2013及びVS2015を使っていましたが、同様の事象は確認していません。