{"id":3607,"date":"2015-05-09T07:35:02","date_gmt":"2015-05-08T22:35:02","guid":{"rendered":"http:\/\/programminglanguage7.com\/?p=3607"},"modified":"2015-05-09T07:35:02","modified_gmt":"2015-05-08T22:35:02","slug":"post-3607","status":"publish","type":"post","link":"https:\/\/programminglanguage7.com\/?p=3607","title":{"rendered":"\u30e6\u30fc\u30b6\u30fc\u306b\u6587\u5b57\u5217\u3092\u5165\u529b\u3055\u305b\u308b\u65b9\u6cd5"},"content":{"rendered":"<p><span style=\"font-size: 14pt;\">\u3053\u306e\u7ae0\u3067\u306f\u30e6\u30fc\u30b6\u30fc\u306b\u30ad\u30fc\u30dc\u30fc\u30c9\u304b\u3089\u5165\u529b\u3055\u305b\u308b2\u3064\u306e\u65b9\u6cd5\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3059\u3002<\/span><br \/>\n<span style=\"font-size: 14pt;\">\u30e6\u30fc\u30b6\u30fc\u306b\u6587\u5b57\u5217\u3092\u5165\u529b\u3057\u3066\u3082\u3089\u3046\u65b9\u6cd5\u306f2\u3064\u3042\u308a\u307e\u3059\u3002<\/span><br \/>\n<span style=\"font-size: 14pt;\">\u521d\u3081\u306bgets\u3092\u4f7f\u3063\u305f\u65b9\u6cd5\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3059\u3002<\/span><br \/>\n<span style=\"font-size: 14pt;\">\u3067\u306f\u4f8b\u3092\u307f\u3066\u307f\u307e\u3057\u3087\u3046\u3002<a href=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/12484.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-3608\" src=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/12484-300x278.jpg\" alt=\"1\" width=\"300\" height=\"278\" srcset=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/12484-300x278.jpg 300w, https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/12484.jpg 509w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/span> <span style=\"font-size: 14pt;\">\u521d\u3081\u306b\u5165\u529b\u5024\u3092\u5165\u308c\u308b\u914d\u5217\u3092char\u578b\u306e\u914d\u5217\u3067\u4f5c\u6210\u3057\u307e\u3059\u3002<\/span><br \/>\n<span style=\"font-size: 14pt;\">\u305d\u308c\u304c\u4ee5\u4e0b\u306e\u7b87\u6240\u3067\u3059\u3002<\/span><br \/>\n<span style=\"font-size: 14pt;\">char x[100];<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">\u6b21\u306b<span style=\"background-color: #ffff00;\">gets<\/span>\u306e\u5f15\u6570\u306b\u5148\u307b\u3069\u4f5c\u6210\u3057\u305f\u914d\u5217\u3092\u5165\u308c\u307e\u3059\u3002<\/span><br \/>\n<span style=\"font-size: 14pt;\">\u305d\u308c\u304c\u4ee5\u4e0b\u306e\u7b87\u6240\u3067\u3059\u3002<a href=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/12485.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3609\" src=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/12485.jpg\" alt=\"1\" width=\"227\" height=\"93\" \/><\/a><\/span> <span style=\"font-size: 14pt;\"><span style=\"background-color: #ffff00;\">\u3053\u306e\u69cb\u6587\u3067\u30e6\u30fc\u30b6\u30fc\u304b\u3089\u306e\u5165\u529b\u3092\u914d\u5217\u3067\u53d7\u3051\u53d6\u308a\u307e\u3059<\/span>\u3002<\/span><br \/>\n<span style=\"font-size: 14pt;\">\u30a8\u30f3\u30bf\u30fc\u30ad\u30fc\u3092\u62bc\u3059\u307e\u3067\u5165\u529b\u3059\u308b\u3053\u3068\u304c\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002<\/span><br \/>\n<span style=\"font-size: 14pt;\">gets(\u914d\u5217\u540d);\u306f\u5165\u529b\u6642\u306b\u6587\u5b57\u5217\u3068\u6587\u5b57\u5217\u306e\u9593\u306b\u7a7a\u767d\u3092\u5165\u308c\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/span><br \/>\n<span style=\"font-size: 14pt;\">\u4f8b\u3048\u3070,\u300cdog cats\u300d\u306e\u3088\u3046\u306bdog \u3068cats\u306e\u9593\u306b\u7a7a\u767d\u3092\u5165\u308c\u3066\u8907\u6570\u5165\u529b\u3059\u308b\u3053\u3068\u304c\u51fa\u6765\u307e\u3059\u3002<\/span><br \/>\n<span style=\"font-size: 14pt;\">\u7d50\u679c\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u51fa\u529b\u3055\u308c\u307e\u3059\u3002<a href=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/12486.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3610\" src=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/12486.jpg\" alt=\"1\" width=\"277\" height=\"68\" \/><\/a><\/span><br \/>\n<span style=\"font-size: 14pt;\">\u6b21\u306f<span style=\"background-color: #ffff00;\">scanf<\/span>\u3092\u4f7f\u3063\u305f\u6587\u5b57\u5165\u529b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3059\u3002<a href=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/12487.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-3611\" src=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/12487-300x265.jpg\" alt=\"1\" width=\"300\" height=\"265\" srcset=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/12487-300x265.jpg 300w, https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/12487.jpg 531w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/span> <span style=\"font-size: 14pt;\">\u7d50\u679c\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<a href=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/12488.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3612\" src=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/12488.jpg\" alt=\"1\" width=\"254\" height=\"76\" \/><\/a><a href=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/12489.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-3613\" src=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/12489-300x183.jpg\" alt=\"1\" width=\"300\" height=\"183\" srcset=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/12489-300x183.jpg 300w, https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/12489.jpg 453w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><a href=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/12490.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-3614\" src=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/12490-273x300.jpg\" alt=\"1\" width=\"273\" height=\"300\" srcset=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/12490-273x300.jpg 273w, https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/12490.jpg 471w\" sizes=\"(max-width: 273px) 100vw, 273px\" \/><\/a><a href=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/12491.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-3615\" src=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/12491-300x188.jpg\" alt=\"1\" width=\"300\" height=\"188\" srcset=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/12491-300x188.jpg 300w, https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/12491.jpg 516w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3053\u306e\u7ae0\u3067\u306f\u30e6\u30fc\u30b6\u30fc\u306b\u30ad\u30fc\u30dc\u30fc\u30c9\u304b\u3089\u5165\u529b\u3055\u305b\u308b2\u3064\u306e\u65b9\u6cd5\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3059\u3002 \u30e6\u30fc\u30b6\u30fc\u306b\u6587\u5b57\u5217\u3092\u5165\u529b\u3057\u3066\u3082\u3089\u3046\u65b9\u6cd5\u306f2\u3064\u3042\u308a\u307e\u3059\u3002 \u521d\u3081\u306bgets\u3092\u4f7f\u3063\u305f\u65b9\u6cd5\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3059\u3002 \u3067\u306f\u4f8b\u3092\u307f\u3066\u307f\u307e\u3057\u3087\u3046\u3002 \u521d\u3081\u306b\u5165\u529b\u5024\u3092\u5165 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[302],"tags":[329,327,328],"class_list":["post-3607","post","type-post","status-publish","format-standard","hentry","category-c","tag-gets","tag-scanf","tag-328"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/programminglanguage7.com\/index.php?rest_route=\/wp\/v2\/posts\/3607"}],"collection":[{"href":"https:\/\/programminglanguage7.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/programminglanguage7.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/programminglanguage7.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/programminglanguage7.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3607"}],"version-history":[{"count":2,"href":"https:\/\/programminglanguage7.com\/index.php?rest_route=\/wp\/v2\/posts\/3607\/revisions"}],"predecessor-version":[{"id":3617,"href":"https:\/\/programminglanguage7.com\/index.php?rest_route=\/wp\/v2\/posts\/3607\/revisions\/3617"}],"wp:attachment":[{"href":"https:\/\/programminglanguage7.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3607"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/programminglanguage7.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3607"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/programminglanguage7.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3607"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}