{"id":41236,"date":"2026-05-23T09:00:36","date_gmt":"2026-05-23T00:00:36","guid":{"rendered":"https:\/\/blog.agentsoft.co.kr\/index.php\/2026\/05\/23\/41236\/"},"modified":"2026-05-23T09:00:36","modified_gmt":"2026-05-23T00:00:36","slug":"c-report-%ec%a0%95%ea%b7%9c%ec%a7%81-%ec%82%ac%ec%9b%90%ea%b3%bc-%ec%8b%9c%ea%b0%84%ea%b8%89-%ec%82%ac%ec%9b%90%ec%9d%98-%ea%b8%89%ec%97%ac%ea%b8%b0%eb%a1%9d%ec%9d%84-%ea%b4%80%eb%a6%ac%ed%95%98","status":"publish","type":"post","link":"https:\/\/blog.agentsoft.co.kr\/index.php\/2026\/05\/23\/41236\/","title":{"rendered":"C++ report \uc815\uaddc\uc9c1 \uc0ac\uc6d0\uacfc \uc2dc\uac04\uae09 \uc0ac\uc6d0\uc758 \uae09\uc5ec\uae30\ub85d\uc744 \uad00\ub9ac\ud558\uae30 \uc704\ud55c \ud074\ub798\uc2a4\ub97c \uc0ac\uc6a9\ud558\uc5ec  \ud504\ub85c\uadf8\ub7a8"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/image4.happycampus.com\/Production\/thumbnail\/2024\/06\/13\/data29998931-0001.jpg\"><img decoding=\"async\" src=\"https:\/\/image4.happycampus.com\/Production\/thumbnail\/2024\/06\/13\/data29998931-0002.jpg\"><\/p>\n<p><strong>\ubaa9\ucc28<\/strong><\/p>\n<p>\uc5c6\uc74c<\/p>\n<p><strong>\ubcf8\ubb38\ub0b4\uc6a9<\/strong><\/p>\n<p>(\ubb38\uc81c\uc81c\uc2dc)<br \/>\n   1. [\uad6c\ud6041]\uc740 \uc8fc\uc5b4\uc9c4 \uc18c\uc2a4\ub97c \uc644\uc131\ud558\uc5ec \uacb0\uacfc\ub97c \uc5bb\ub294\ub2e4.<br \/>\n   2. [\uad6c\ud6042]\ub294 \uc81c\uc2dc\ub41c \ub0b4\uc6a9\ub300\ub85c \ud074\ub798\uc2a4\ub97c \ucd94\uac00\ud55c\ub2e4.<br \/>\n   3. [\uad6c\ud6043]\uc740 \uac1c\ubcc4\uc801\uc73c\ub85c \ub0b4\uc6a9\uc744 \uad6c\uc131\ud558\uc5ec \ud074\ub798\uc2a4\ub97c \ucd94\uac00\ud55c\ub2e4.<br \/>\n&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;..<br \/>\n[\uad6c\ud6041] \uc815\uaddc\uc9c1 \uc0ac\uc6d0\uacfc \uc2dc\uac04\uae09 \uc0ac\uc6d0\uc758 \uae09\uc5ec\uae30\ub85d\uc744 \uad00\ub9ac\ud558\uae30 \uc704\ud55c \ud074\ub798\uc2a4\ub97c \uc0ac\uc6a9\ud558\uc5ec  \ud504\ub85c\uadf8\ub7a8\uc744 \uad6c\ud604\ud55c\ub2e4.<\/p>\n<p>1) \uc0ac\uc6d0 \ud074\ub798\uc2a4<br \/>\n class Employee     {<br \/>\npublic:<br \/>\n    Employee(){} \/\/ \uc0dd\uc131\uc790\ud568\uc218<br \/>\n    Employee(string _name, string _ssn) : name(_name), ssn(_ssn),pay(0) {}<br \/>\n       \/\/  \uc774\ub984, \uc0ac\ubc88,\uae09\uc5ec<br \/>\n    string get_name() const {return name;}<br \/>\n    string get_ssn() const {return ssn; }<br \/>\n    double get_pay() const {return pay ;}<br \/>\n    void set_name(string new_name)  {name=new_name;}<br \/>\n    void set_ssn(string new_ssn)  {ssn=new_ssn;}<br \/>\n    void set_pay(double new_pay)  {pay=new_pay;}<br \/>\n   virtual void print_check()=0;  \/\/ \uc0ac\uc6d0\uc815\ubcf4 \ucd9c\ub825<br \/>\nprotected:<br \/>\n   string name; \/\/\uc774\ub984<br \/>\n   string ssn;\/\/\uc0ac\ubc88<br \/>\n   double pay; \/\/\uc9c0\uae09\uc561<br \/>\n};<\/p>\n<p>2) \uc2dc\uac04\uae09 \uc0ac\uc6d0 \ud074\ub798\uc2a4 : HourlyEmployee <\/p>\n<p>\uba64\ubc84<br \/>\n\ubcc0\uc218<br \/>\n  double wage_rate;    \/\/\uc2dc\uac04\ub2f9\uae09\ub8cc<br \/>\n  double hours; \/\/\uadfc\ubb34\uc2dc\uac04<br \/>\n\uba64\ubc84<br \/>\n\ud568\uc218<br \/>\n    HourlyEmployee(); \/\/\uc0dd\uc131\uc790\ud568\uc218<br \/>\n    HourlyEmployee(string _name, string _ssn, double _wage_rate, double _hours);     \/\/  \uc774\ub984, \uc0ac\ubc88, \uae09\uc5ec, \uc2dc\uac04\ub2f9\uae09\ub8cc , \uadfc\ubb34\uc2dc\uac04<br \/>\n    double get_wage_rate()const; \/\/\uc2dc\uac04\ub2f9\uae09\ub8cc \ubc18\ud658<br \/>\n    double get_hours() const;\/\/\uadfc\ubb34\uc2dc\uac04 \ubc18\ud658<br \/>\n    void set_wage_rate(double new_wage_rate) ;\/\/\uc2dc\uac04\ub2f9\uae09\ub8cc \ubcc0\uacbd<br \/>\n    void set_hours(double new_wage_rate) ;\/\/\uadfc\ubb34\uc2dc\uac04 \ubcc0\uacbd<br \/>\n    void print_check();  \/\/ \uae09\uc5ec( = \uc2dc\uac04\ub2f9\uae09\ub8cc* \uadfc\ubb34\uc2dc\uac04) \ucd9c\ub825<\/p>\n<p>\ucd9c\ucc98 : <a href=\"https:\/\/www.happycampus.com\/report-doc\/29998931\/\" target=\"_blank\">\ud574\ud53c\ucea0\ud37c\uc2a4<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\ubaa9\ucc28 \uc5c6\uc74c \ubcf8\ubb38\ub0b4\uc6a9 (\ubb38\uc81c\uc81c\uc2dc) 1. [\uad6c\ud6041]\uc740 \uc8fc\uc5b4\uc9c4 \uc18c\uc2a4\ub97c \uc644\uc131\ud558\uc5ec \uacb0\uacfc\ub97c \uc5bb\ub294\ub2e4. 2. [\uad6c\ud6042]\ub294 \uc81c\uc2dc\ub41c \ub0b4\uc6a9\ub300\ub85c \ud074\ub798\uc2a4\ub97c \ucd94\uac00\ud55c\ub2e4. 3. [\uad6c\ud6043]\uc740 \uac1c\ubcc4\uc801\uc73c\ub85c \ub0b4\uc6a9\uc744 \uad6c\uc131\ud558\uc5ec \ud074\ub798\uc2a4\ub97c \ucd94\uac00\ud55c\ub2e4. &#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;.. [\uad6c\ud6041] \uc815\uaddc\uc9c1 \uc0ac\uc6d0\uacfc \uc2dc\uac04\uae09 \uc0ac\uc6d0\uc758 \uae09\uc5ec\uae30\ub85d\uc744 \uad00\ub9ac\ud558\uae30 \uc704\ud55c \ud074\ub798\uc2a4\ub97c \uc0ac\uc6a9\ud558\uc5ec \ud504\ub85c\uadf8\ub7a8\uc744 \uad6c\ud604\ud55c\ub2e4. 1) \uc0ac\uc6d0 \ud074\ub798\uc2a4 class Employee { public: Employee(){} \/\/ \uc0dd\uc131\uc790\ud568\uc218 Employee(string _name, string _ssn) : name(_name), ssn(_ssn),pay(0) {} [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[28192,51738,51744,51742],"class_list":["post-41236","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-4--","tag-c","tag-51744","tag-51742"],"_links":{"self":[{"href":"https:\/\/blog.agentsoft.co.kr\/index.php\/wp-json\/wp\/v2\/posts\/41236","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.agentsoft.co.kr\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.agentsoft.co.kr\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.agentsoft.co.kr\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.agentsoft.co.kr\/index.php\/wp-json\/wp\/v2\/comments?post=41236"}],"version-history":[{"count":0,"href":"https:\/\/blog.agentsoft.co.kr\/index.php\/wp-json\/wp\/v2\/posts\/41236\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.agentsoft.co.kr\/index.php\/wp-json\/wp\/v2\/media?parent=41236"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.agentsoft.co.kr\/index.php\/wp-json\/wp\/v2\/categories?post=41236"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.agentsoft.co.kr\/index.php\/wp-json\/wp\/v2\/tags?post=41236"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}