{"id":3190,"date":"2019-06-18T11:34:06","date_gmt":"2019-06-18T02:34:06","guid":{"rendered":"https:\/\/www.chihayafuru.jp\/tech\/?p=3190"},"modified":"2019-06-19T10:47:47","modified_gmt":"2019-06-19T01:47:47","slug":"visual-studio-%e3%83%87%e3%83%90%e3%83%83%e3%82%b0%e3%82%b3%e3%83%b3%e3%82%bd%e3%83%bc%e3%83%ab%e5%87%ba%e5%8a%9b","status":"publish","type":"post","link":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/archives\/3190","title":{"rendered":"[Visual Studio] \u30c7\u30d0\u30c3\u30b0\u30b3\u30f3\u30bd\u30fc\u30eb\u51fa\u529b"},"content":{"rendered":"<h2>C#<\/h2>\n<pre class=\"lang:c# decode:true \" >using System.Diagnostics;\r\n\r\nDebug.WriteLine(\"message\");<\/pre>\n<h2>C++\/CLI<\/h2>\n<pre class=\"lang:c++ decode:true \" >#using &lt;system.dll&gt;\r\nusing namespace System::Diagnostics;\r\n\r\nTrace::WriteLine(\"message\");<\/pre>\n<h2>C++ (MFC)<\/h2>\n<pre class=\"lang:c++ decode:true \" >#include &lt;afx.h&gt;\r\n\r\nTRACE(\"message\");<\/pre>\n<h2>C \/ C++ (WIN32API)<\/h2>\n<pre class=\"lang:c decode:true \" >OutputDebugStringA(\"ASCII and Shift_JIS message\");<\/pre>\n<pre class=\"lang:c decode:true \" >OutputDebugStringW(L\"UTF-16 message\");<\/pre>\n<hr>\n<h2>\u53c2\u8003\u30ea\u30f3\u30af<\/h2>\n<p><a href=\"https:\/\/docs.microsoft.com\/ja-jp\/visualstudio\/debugger\/how-to-debug-managed-and-native-code\">\u540c\u3058\u30c7\u30d0\u30c3\u30b0 \u30bb\u30c3\u30b7\u30e7\u30f3\u3067 C# \u3068 C++ \u3092\u30c7\u30d0\u30c3\u30b0\u3059\u308b | Visual Studio \u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>C# using System.Diagnostics; Debug.WriteLine(&#8220;message&#8221;); C++\/CLI #using &lt;system.dll&gt; using namespace Sys [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[14],"class_list":["post-3190","post","type-post","status-publish","format-standard","hentry","category-memo","tag-visualstudio"],"_links":{"self":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts\/3190","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/comments?post=3190"}],"version-history":[{"count":7,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts\/3190\/revisions"}],"predecessor-version":[{"id":3213,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts\/3190\/revisions\/3213"}],"wp:attachment":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/media?parent=3190"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/categories?post=3190"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/tags?post=3190"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}