{"id":847,"date":"2010-05-17T14:34:44","date_gmt":"2010-05-17T14:34:44","guid":{"rendered":"http:\/\/pchero21.com\/?p=847"},"modified":"2010-05-17T14:34:44","modified_gmt":"2010-05-17T14:34:44","slug":"iosnocreate","status":"publish","type":"post","link":"http:\/\/pchero21.com\/?p=847","title":{"rendered":"ios::nocreate"},"content":{"rendered":"<p>&nbsp;C++ \ud504\ub85c\uadf8\ub798\ubc0d\uc744 \uacf5\ubd80\ud558\ub358 \uc911, \uc608\uc81c \ud504\ub85c\uadf8\ub7a8\uc744 \ucef4\ud30c\uc77c\ud558\ub2e4 \ub2e4\uc74c\uacfc \uac19\uc740 \uc5d0\ub7ec\ub97c \ubc1c\uacac\ud588\ub2e4.<\/p>\n<blockquote><p>&nbsp;Description &nbsp;&nbsp; Resource &nbsp;&nbsp; Path &nbsp;&nbsp; Location &nbsp;&nbsp; Type<br \/>\u2018nocreat\u2019 is not a member of \u2018std::ios\u2019 &nbsp;&nbsp; Config.cpp &nbsp;&nbsp; \/TEMS\/src &nbsp;&nbsp; line 40 &nbsp;&nbsp; C\/C++ Problem<\/p><\/blockquote>\n<p>&nbsp;\ud658\uacbd\uc740 \uc774\ud074\ub9bd\uc2a4 3.5.2 \ubc84\uc804\uc774\uc5c8\uc73c\uba70, g++ \ubc84\uc804\uc740 version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) \uc774\uc5c8\ub2e4.<\/p>\n<p>&nbsp;\ubb38\uc81c\uc758 \uc6d0\uc778\uc744 \ucc3e\uae30 \uc704\ud574 \uad6c\uae00\ub9c1\uc744 \ud574\ubcf4\ub2c8 \ub2f5\uc740 \uac04\ub2e8\ud588\ub2e4.<\/p>\n<p>&nbsp;\ub354\uc774\uc0c1 ios::nocreate \ub294 \ud45c\uc900 C++ \uc5d0\uc11c \uc9c0\uc6d0\ud558\uc9c0 \uc54a\ub294\ub2e4\ub294 \uac83.<\/p>\n<p><a target=\"_blank\" href=\"http:\/\/cboard.cprogramming.com\/cplusplus-programming\/48548-if-ofstream.html\">http:\/\/cboard.cprogramming.com\/cplusplus-programming\/48548-if-ofstream.html<\/a> \uc5d0\uc11c \ub2e4\uc74c\uacfc \uac19\uc740 \ub2f5\ubcc0\uc744 \ucc3e\uc558\ub2e4.<\/p>\n<blockquote><p>&nbsp;ios::nocreate was removed from standard c++, you may use ios::in to open<br \/>\n the file for reading, and not create one if it doesn&#8217;t exist.<br \/>\nThe file shouldn&#8217;t be created if you have a standard compliant compiler.<br \/>\n (I think dc++ is)<\/p><\/blockquote>\n<p> ios::nocreate \ub97c \uc4f0\uace0 \uc2f6\ub2e4\uba74 \uadf8\ub0e5 ios::in \ub9cc \uc0ac\uc6a9\ud558\uba74 \ub41c\ub2e4. \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp;C++ \ud504\ub85c\uadf8\ub798\ubc0d\uc744 \uacf5\ubd80\ud558\ub358 \uc911, \uc608\uc81c \ud504\ub85c\uadf8\ub7a8\uc744 \ucef4\ud30c\uc77c\ud558\ub2e4 \ub2e4\uc74c\uacfc \uac19\uc740 \uc5d0\ub7ec\ub97c \ubc1c\uacac\ud588\ub2e4. &nbsp;Description &nbsp;&nbsp; Resource &nbsp;&nbsp; Path &nbsp;&nbsp; Location &nbsp;&nbsp; Type\u2018nocreat\u2019 is not a member of \u2018std::ios\u2019 &nbsp;&nbsp; Config.cpp &nbsp;&nbsp; \/TEMS\/src &nbsp;&nbsp; line 40 &nbsp;&nbsp; C\/C++ Problem &nbsp;\ud658\uacbd\uc740 \uc774\ud074\ub9bd\uc2a4 3.5.2 \ubc84\uc804\uc774\uc5c8\uc73c\uba70, &hellip; <a href=\"http:\/\/pchero21.com\/?p=847\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[16],"tags":[128,214],"_links":{"self":[{"href":"http:\/\/pchero21.com\/index.php?rest_route=\/wp\/v2\/posts\/847"}],"collection":[{"href":"http:\/\/pchero21.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/pchero21.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/pchero21.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/pchero21.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=847"}],"version-history":[{"count":0,"href":"http:\/\/pchero21.com\/index.php?rest_route=\/wp\/v2\/posts\/847\/revisions"}],"wp:attachment":[{"href":"http:\/\/pchero21.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=847"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/pchero21.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=847"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/pchero21.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=847"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}