{"id":16260,"date":"2020-03-24T18:06:42","date_gmt":"2020-03-24T09:06:42","guid":{"rendered":"https:\/\/www.ekbt.work\/?p=16260"},"modified":"2024-05-19T07:13:39","modified_gmt":"2024-05-18T22:13:39","slug":"c%e8%a8%80%e8%aa%9e%e7%92%b0%e5%a2%83%e8%a9%a6%e9%a8%93","status":"publish","type":"post","link":"https:\/\/ekbt.info\/?p=16260","title":{"rendered":"C\u8a00\u8a9e\u74b0\u5883\u8a66\u9a13"},"content":{"rendered":"<p>NAS\u3092Linux(UNIX)\u3001CentOS7\u3067\u4f5c\u308b\u3068\u5c11\u3057\u3044\u3044\u3053\u3068\u304c\u3042\u308b\u3002\u305d\u308c\u306fC\u8a00\u8a9e\u3084\u305d\u306e\u4ed6\u306e\u6d3e\u751f\u8a00\u8a9eJava\u3001ruby\u3001php\u3001Python\u3001etc\u304c\u4f7f\u3048\u308b\u3088\u3046\u306b\u306a\u308b\u3053\u3068\u3060\u3002\u6700\u8fd1\u306fWindows10\u3067\u3082ubuntu\u304c\u4f7f\u3048\u308b\u306e\u3067\u305d\u308c\u306f\u305d\u308c\u3067\u3044\u3044\u306e\u3060\u304c\u3001\u3084\u306f\u308aLinux(UNIX)\u306e\u74b0\u5883\u3067\u3084\u308a\u305f\u3044\u3082\u306e\u3060\u3002\u524d\u56de\u3082NAS\u306b\u74b0\u5883\u3092\u4f5c\u3063\u3066\u3044\u305f\u306e\u3060\u304c\u3001NAS\u304c\u4e0d\u5177\u5408\u3092\u8d77\u3053\u3057\u305f\u306e\u3067\u3001\u6d88\u3048\u3066\u3057\u307e\u3063\u305f\u3002\u306a\u306e\u3067\u3082\u3046\u4e00\u5ea6\u4f5c\u308b\u3053\u3068\u306b\u306a\u3063\u305f\u3002<\/p>\n<p>\u307e\u305a\u306f\u3001\u4e00\u756a\u57fa\u672c\u306eC\u8a00\u8a9e\u3002\u3053\u308c\u306fCentOS7\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6642\u306b\u958b\u767a\u74b0\u5883\u3092\u5165\u308c\u3066\u3044\u308c\u3070\u5165\u3063\u3066\u3044\u308b\u306f\u305a\u3002\u65e9\u901f\u30c6\u30b9\u30c8\u3057\u3066\u307f\u305f\u3002<\/p>\n<p>\u307e\u305a\u306fWindowsPC\u5074\u3067\u30bd\u30fc\u30b9\u3092\u4f5c\u3063\u305f\u3002\u30bd\u30fc\u30b9\u306f\u4f1d\u8aac\u7684\u306a\u3042\u308c\u3002<\/p>\n<p>#include &lt;stdio.h&gt;<\/p>\n<p>int main()<br \/>\n{<\/p>\n<p style=\"padding-left: 40px;\">printf(&#8220;Hello c World\\n&#8221;);<\/p>\n<p>}<\/p>\n<p>\u3053\u308c\u3092samba\u306e\u5171\u6709\u7d4c\u7531\u3067NAS\u3078\u9001\u308a\u3001\u64cd\u4f5c\u306fVNC\u7d4c\u7531\u3067\u3001WindowsPC\u304b\u3089\u3002\u30c6\u30ad\u30b9\u30c8\u30a8\u30c7\u30a3\u30bf\u30fc\u3067\u958b\u3044\u3066\u307f\u305f\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-16261 size-full\" src=\"https:\/\/www.ekbt.info\/wp-content\/uploads\/2020\/03\/testpg11.jpg\" alt=\"\" width=\"1202\" height=\"676\" \/><\/p>\n<p>\u7aef\u672b\u3067\u30b3\u30f3\u30d1\u30a4\u30eb\u3002C\u8a00\u8a9e\u306e\u30b3\u30f3\u30d1\u30a4\u30e9\u306fgcc\u3060\u3002<\/p>\n<p># gcc hello.c<\/p>\n<p>\u7121\u4e8b\u30a8\u30e9\u30fc\u7121\u304f\u30b3\u30f3\u30d1\u30a4\u30eb\u3055\u308ca.out\uff08\u30a2\u30bb\u30f3\u30d6\u30e9\u30a2\u30a6\u30c8\uff09\u304c\u51fa\u529b\u3055\u308c\u305f\u3002\u65e9\u901f\u5b9f\u884c\u3002<\/p>\n<p># .\/a.out<\/p>\n<p>\u7121\u4e8b\u7d50\u679c\u304c\u8868\u793a\u3055\u308c\u305f\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-16262 size-full\" src=\"https:\/\/www.ekbt.info\/wp-content\/uploads\/2020\/03\/testpg12.jpg\" alt=\"\" width=\"1202\" height=\"676\" \/><\/p>\n<p>\u3053\u308c\u3067\u3001c\u8a00\u8a9e\u306e\u74b0\u5883\u8a66\u9a13\u306fOK\u3002\u3055\u3089\u306b\u306fGUI\u74b0\u5883\u3082\u3044\u308c\u3066\u307f\u308b\u304b\u306a\u3002\u6709\u540d\u306aeclipse\u3002\u3053\u308c\u306a\u3089C\u8a00\u8a9e\u4ee5\u5916\u3082Java\u3084php\u3001Python\u306a\u3069\u3082\u3067\u304d\u308b\u3002\u305d\u306e\u3046\u3061\u306b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>NAS\u3092Linux(UNIX)\u3001CentOS7\u3067\u4f5c\u308b\u3068\u5c11\u3057\u3044\u3044\u3053\u3068\u304c\u3042\u308b\u3002\u305d\u308c\u306fC\u8a00\u8a9e\u3084\u305d\u306e\u4ed6\u306e\u6d3e\u751f\u8a00\u8a9eJava\u3001ruby\u3001php\u3001Python\u3001etc\u304c\u4f7f\u3048\u308b\u3088\u3046\u306b\u306a\u308b\u3053\u3068\u3060\u3002\u6700\u8fd1\u306fWindows10\u3067\u3082ubuntu\u304c &hellip; <a href=\"https:\/\/ekbt.info\/?p=16260\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;C\u8a00\u8a9e\u74b0\u5883\u8a66\u9a13&#8221; \u306e<\/span>\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":1,"featured_media":14434,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"sfsi_plus_gutenberg_text_before_share":"","sfsi_plus_gutenberg_show_text_before_share":"","sfsi_plus_gutenberg_icon_type":"","sfsi_plus_gutenberg_icon_alignemt":"","sfsi_plus_gutenburg_max_per_row":"","footnotes":""},"categories":[139,10],"tags":[523,487,488],"class_list":["post-16260","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux","category-win-pc-web","tag-c","tag-centos","tag-centos7"],"_links":{"self":[{"href":"https:\/\/ekbt.info\/index.php?rest_route=\/wp\/v2\/posts\/16260","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ekbt.info\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ekbt.info\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ekbt.info\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ekbt.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=16260"}],"version-history":[{"count":1,"href":"https:\/\/ekbt.info\/index.php?rest_route=\/wp\/v2\/posts\/16260\/revisions"}],"predecessor-version":[{"id":18812,"href":"https:\/\/ekbt.info\/index.php?rest_route=\/wp\/v2\/posts\/16260\/revisions\/18812"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ekbt.info\/index.php?rest_route=\/"}],"wp:attachment":[{"href":"https:\/\/ekbt.info\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=16260"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ekbt.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=16260"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ekbt.info\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=16260"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}