{"id":41237,"date":"2026-05-23T09:00:38","date_gmt":"2026-05-23T00:00:38","guid":{"rendered":"https:\/\/blog.agentsoft.co.kr\/index.php\/2026\/05\/23\/41237\/"},"modified":"2026-05-23T09:00:38","modified_gmt":"2026-05-23T00:00:38","slug":"c-report-%ed%81%b4%eb%9e%98%ec%8a%a4%ec%99%80-%ea%b0%9d%ec%b2%b4-%ec%9d%80%ed%96%89%ea%b3%84%ec%a2%8c-%ed%94%84%eb%a1%9c%ea%b7%b8%eb%9e%a8","status":"publish","type":"post","link":"https:\/\/blog.agentsoft.co.kr\/index.php\/2026\/05\/23\/41237\/","title":{"rendered":"C++ report \ud074\ub798\uc2a4\uc640 \uac1d\uccb4, \uc740\ud589\uacc4\uc88c \ud504\ub85c\uadf8\ub7a8"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/image4.happycampus.com\/Production\/thumbnail\/2024\/06\/13\/data29998935-0001.jpg\"><img decoding=\"async\" src=\"https:\/\/image4.happycampus.com\/Production\/thumbnail\/2024\/06\/13\/data29998935-0002.jpg\"><\/p>\n<p><strong>\ubaa9\ucc28<\/strong><\/p>\n<p>[\uac1c\ubcc4\uc2e4\uc2b51] [\uc2e4\uc2b5\uc790\ub8cc7]\uc758 \uc2dc\uac04 \ud074\ub798\uc2a4\ub97c \uc774\uc6a9\ud558\uc5ec \uc544\ub798 \ub0b4\uc6a9\uc774 \uc2e4\ud589\ub418\ub3c4\ub85d \ud074\ub798\uc2a4\ub97c \uc644\uc131\ud558\uc2dc\uc624.<br \/>\n[\uac1c\ubcc4\uc2e4\uc2b52] \uc740\ud589 \uacc4\uc88c \ud074\ub798\uc2a4 (\uad50\uc7ac 6\uc7a5: 166-168 \ucc38\uace0)<\/p>\n<p><strong>\ubcf8\ubb38\ub0b4\uc6a9<\/strong><\/p>\n<p>[\uac1c\ubcc4\uc2e4\uc2b51] [\uc2e4\uc2b5\uc790\ub8cc7]\uc758 \uc2dc\uac04 \ud074\ub798\uc2a4\ub97c \uc774\uc6a9\ud558\uc5ec \uc544\ub798 \ub0b4\uc6a9\uc774 \uc2e4\ud589\ub418\ub3c4\ub85d \ud074\ub798\uc2a4\ub97c \uc644\uc131\ud558\uc2dc\uc624.<\/p>\n<p>int main()<br \/>\n{<br \/>\n      Time clock1, clock3;<br \/>\n      Time clock2(8, 10 , 10);<br \/>\n      clock1.setTime(15,12,30);<\/p>\n<p>      cout << \"\\n clock1 = \" ;  \/\/ 15:12:30\n      clock1.displayTime24(); \n      cout << \"\\n clock2 = \" ;  \/\/ 8:10:10  \n      clock2.displayTime24(); \n \n      clock3= clock1 + clock2;   \/\/ clock3= clock1.add(clock2);\t\n      cout << \"\\n clock1 + clock2  = \" ;  \/\/ 23:22:40\n      cout << clock3 << endl;    \/\/ clock3.display24();\n    \n  return 0;\n}\n\u2460\ud5e4\ub354\ud30c\uc77c\n#include <iostream><br \/>\n#include <stdlib.h><\/p>\n<p>using std::endl; using std::cout; using std::ostream;<\/p>\n<p>class Time {<br \/>\nprivate:<br \/>\n  int hour, minute, second;<br \/>\npublic:<br \/>\n\tvoid setTime(int x, int y, int z);<br \/>\n        void displayTime24();<br \/>\n\tTime(int x,int y, int z);<br \/>\n\tTime(const Time &#038;clock4); \/\/\ubcf5\uc0ac\uc0dd\uc131\uc790<br \/>\n\tTime() {} \/\/\uc0dd\uc131\uc790 \ud568\uc218 clock1\uc744 \ub3c4\uc640\uc900\ub2e4.<br \/>\n\tTime operator+(const Time &#038;clock);<\/p>\n<p>\ucd9c\ucc98 : <a href=\"https:\/\/www.happycampus.com\/report-doc\/29998935\/\" target=\"_blank\">\ud574\ud53c\ucea0\ud37c\uc2a4<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\ubaa9\ucc28 [\uac1c\ubcc4\uc2e4\uc2b51] [\uc2e4\uc2b5\uc790\ub8cc7]\uc758 \uc2dc\uac04 \ud074\ub798\uc2a4\ub97c \uc774\uc6a9\ud558\uc5ec \uc544\ub798 \ub0b4\uc6a9\uc774 \uc2e4\ud589\ub418\ub3c4\ub85d \ud074\ub798\uc2a4\ub97c \uc644\uc131\ud558\uc2dc\uc624. [\uac1c\ubcc4\uc2e4\uc2b52] \uc740\ud589 \uacc4\uc88c \ud074\ub798\uc2a4 (\uad50\uc7ac 6\uc7a5: 166-168 \ucc38\uace0) \ubcf8\ubb38\ub0b4\uc6a9 [\uac1c\ubcc4\uc2e4\uc2b51] [\uc2e4\uc2b5\uc790\ub8cc7]\uc758 \uc2dc\uac04 \ud074\ub798\uc2a4\ub97c \uc774\uc6a9\ud558\uc5ec \uc544\ub798 \ub0b4\uc6a9\uc774 \uc2e4\ud589\ub418\ub3c4\ub85d \ud074\ub798\uc2a4\ub97c \uc644\uc131\ud558\uc2dc\uc624. int main() { Time clock1, clock3; Time clock2(8, 10 , 10); clock1.setTime(15,12,30); cout<\/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,46434,51742,51745],"class_list":["post-41237","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-4--","tag-c","tag-46434","tag-51742","tag-51745"],"_links":{"self":[{"href":"https:\/\/blog.agentsoft.co.kr\/index.php\/wp-json\/wp\/v2\/posts\/41237","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=41237"}],"version-history":[{"count":0,"href":"https:\/\/blog.agentsoft.co.kr\/index.php\/wp-json\/wp\/v2\/posts\/41237\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.agentsoft.co.kr\/index.php\/wp-json\/wp\/v2\/media?parent=41237"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.agentsoft.co.kr\/index.php\/wp-json\/wp\/v2\/categories?post=41237"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.agentsoft.co.kr\/index.php\/wp-json\/wp\/v2\/tags?post=41237"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}