<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-216780391177423295</id><updated>2024-08-27T23:19:29.535-07:00</updated><category term="Mac"/><category term="APK"/><category term="Android"/><category term="C"/><category term="C++"/><category term="Composer"/><category term="Error"/><category term="GooglePlay"/><category term="brew"/><category term="homebrew"/><category term="php"/><category term="php7"/><category term="구글플레이"/><category term="마켓"/><category term="맥"/><category term="안드로이드"/><category term="에러"/><title type='text'>DevNotes</title><subtitle type='html'>AWS 관련 개발 메모 블로그</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://saintshine84.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/216780391177423295/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://saintshine84.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>saintSHINe</name><uri>http://www.blogger.com/profile/12329846944608930059</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjkmpBqDrmNsSktYlod_rit58kKqqIgJk26OcIb9i95lU3_LW9H6stBZZPVNWyEmj6wlCNqfjmLgd-GBwdjSJfEYYMCVsFMDgmvYWuZln_afn7NlG9xriPtWqd9we1PNis/s220/202673_1490680789.jpeg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>6</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-216780391177423295.post-2213256967348346132</id><published>2017-08-02T19:48:00.001-07:00</published><updated>2017-08-02T19:50:44.169-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Composer"/><category scheme="http://www.blogger.com/atom/ns#" term="Mac"/><title type='text'>Mac에 Composer 설치하기</title><content type='html'>&lt;html&gt;
  &lt;head&gt;
    
    &lt;title&gt;mac_composer_install.md—/Users/saintshine/Library/Mobile Documents/com~apple~CloudDocs/Work/_Blogger&lt;/title&gt;
    &lt;style type=&quot;text/css&quot;&gt;
    html{font-family: sans-serif;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%}body{margin: 0}article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display: block}audio,canvas,progress,video{display: inline-block;vertical-align: baseline}audio:not([controls]){display: none;height: 0}[hidden],template{display: none}a{background: transparent}a:active,a:hover{outline: 0}abbr[title]{border-bottom: 1px dotted}b,strong{font-weight: bold}dfn{font-style: italic}h1{font-size: 2em;margin: 0.67em 0}mark{background: #ff0;color: #000}small{font-size: 80%}sub,sup{font-size: 75%;line-height: 0;position: relative;vertical-align: baseline}sup{top: -0.5em}sub{bottom: -0.25em}img{border: 0}svg:not(:root){overflow: hidden}figure{margin: 1em 40px}hr{box-sizing: content-box;height: 0}pre{overflow: auto}code,kbd,pre,samp{font-family: monospace, monospace;font-size: 1em}button,input,optgroup,select,textarea{color: inherit;font: inherit;margin: 0}button{overflow: visible}button,select{text-transform: none}button,html input[type=&quot;button&quot;],input[type=&quot;reset&quot;],input[type=&quot;submit&quot;]{-webkit-appearance: button;cursor: pointer}button[disabled],html input[disabled]{cursor: default}button::-moz-focus-inner,input::-moz-focus-inner{border: 0;padding: 0}input{line-height: normal}input[type=&quot;checkbox&quot;],input[type=&quot;radio&quot;]{box-sizing: border-box;padding: 0}input[type=&quot;number&quot;]::-webkit-inner-spin-button,input[type=&quot;number&quot;]::-webkit-outer-spin-button{height: auto}input[type=&quot;search&quot;]{-webkit-appearance: textfield;box-sizing: content-box}input[type=&quot;search&quot;]::-webkit-search-cancel-button,input[type=&quot;search&quot;]::-webkit-search-decoration{-webkit-appearance: none}fieldset{border: 1px solid #c0c0c0;margin: 0 2px;padding: 0.35em 0.625em 0.75em}legend{border: 0;padding: 0}textarea{overflow: auto}optgroup{font-weight: bold}table{border-collapse: collapse;border-spacing: 0}td,th{padding: 0}*{box-sizing: border-box}input,select,textarea,button{font: 13px/1.4 Helvetica, arial, freesans, clean, sans-serif, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;}body{min-width: 1020px;font: 13px/1.4 Helvetica, arial, freesans, clean, sans-serif, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;;color: #333;background-color: #fff}a{color: #4183c4;text-decoration: none}a:hover,a:active{text-decoration: underline}hr,.rule{height: 0;margin: 15px 0;overflow: hidden;background: transparent;border: 0;border-bottom: 1px solid #ddd}hr:before,.rule:before{display: table;content: &quot;&quot;}hr:after,.rule:after{display: table;clear: both;content: &quot;&quot;}h1,h2,h3,h4,h5,h6{margin-top: 15px;margin-bottom: 15px;line-height: 1.1}h1{font-size: 30px}h2{font-size: 21px}h3{font-size: 16px}h4{font-size: 14px}h5{font-size: 12px}h6{font-size: 11px}small{font-size: 90%}blockquote{margin: 0}.lead{margin-bottom: 30px;font-size: 20px;font-weight: 300;color: #555}.text-muted{color: #999}.text-danger{color: #bd2c00}.text-emphasized{font-weight: bold;color: #333}ul,ol{padding: 0;margin-top: 0;margin-bottom: 0}ol ol,ul ol{list-style-type: lower-roman}ul ul ol,ul ol ol,ol ul ol,ol ol ol{list-style-type: lower-alpha}dd{margin-left: 0}tt,code{font-family: Consolas, &quot;Liberation Mono&quot;, Menlo, Courier, monospace;font-size: 12px}pre{margin-top: 0;margin-bottom: 0;font: 12px Consolas, &quot;Liberation Mono&quot;, Menlo, Courier, monospace}#realtime .status{overflow: visible;position: absolute;top: -5px;left: 0;background: url(&quot;/public/images/github-status.png&quot;);width: 26px;height: 26px;display: block;margin: 0 5px 0 0}#realtime .up{background-position: 0 0}#realtime .problem{background-position: 0 -53px}#realtime .down{background-position: 0 -26px}.container{max-width: 920px;margin: 0 auto 20px auto}#header{background: #FAFAFA;background: -moz-linear-gradient(#FAFAFA, #EAEAEA);background: -webkit-linear-gradient(#FAFAFA, #EAEAEA);-ms-filter: &quot;progid:DXImageTransform.Microsoft.gradient(startColorstr=&#39;#fafafa&#39;, endColorstr=&#39;#eaeaea&#39;)&quot;;border-bottom: 1px solid #CACACA;box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4),0 0 10px rgba(0, 0, 0, 0.1)}#markup{padding: 3px}#markup article{padding-top: 30px}.markdown-body{overflow: hidden;font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Segoe UI&quot;, Arial, freesans, sans-serif;font-size: 16px;line-height: 1.6;word-wrap: break-word}.markdown-body&gt;*:first-child{margin-top: 0 !important}.markdown-body&gt;*:last-child{margin-bottom: 0 !important}.markdown-body .absent{color: #c00}.markdown-body .anchor{position: absolute;top: 0;left: 0;display: block;padding-right: 6px;padding-left: 30px;margin-left: -30px}.markdown-body .anchor:focus{outline: none}.markdown-body h1,.markdown-body h2,.markdown-body h3,.markdown-body h4,.markdown-body h5,.markdown-body h6{position: relative;margin-top: 1em;margin-bottom: 16px;font-weight: bold;line-height: 1.4}.markdown-body h1 .octicon-link,.markdown-body h2 .octicon-link,.markdown-body h3 .octicon-link,.markdown-body h4 .octicon-link,.markdown-body h5 .octicon-link,.markdown-body h6 .octicon-link{display: none;color: #000;vertical-align: middle}.markdown-body h1:hover .anchor,.markdown-body h2:hover .anchor,.markdown-body h3:hover .anchor,.markdown-body h4:hover .anchor,.markdown-body h5:hover .anchor,.markdown-body h6:hover .anchor{padding-left: 8px;margin-left: -30px;text-decoration: none}.markdown-body h1:hover .anchor .octicon-link,.markdown-body h2:hover .anchor .octicon-link,.markdown-body h3:hover .anchor .octicon-link,.markdown-body h4:hover .anchor .octicon-link,.markdown-body h5:hover .anchor .octicon-link,.markdown-body h6:hover .anchor .octicon-link{display: inline-block}.markdown-body h1 tt,.markdown-body h1 code,.markdown-body h2 tt,.markdown-body h2 code,.markdown-body h3 tt,.markdown-body h3 code,.markdown-body h4 tt,.markdown-body h4 code,.markdown-body h5 tt,.markdown-body h5 code,.markdown-body h6 tt,.markdown-body h6 code{font-size: inherit}.markdown-body h1{padding-bottom: 0.3em;font-size: 2.25em;line-height: 1.2;border-bottom: 1px solid #eee}.markdown-body h1 .anchor{line-height: 1}.markdown-body h2{padding-bottom: 0.3em;font-size: 1.75em;line-height: 1.225;border-bottom: 1px solid #eee}.markdown-body h2 .anchor{line-height: 1}.markdown-body h3{font-size: 1.5em;line-height: 1.43}.markdown-body h3 .anchor{line-height: 1.2}.markdown-body h4{font-size: 1.25em}.markdown-body h4 .anchor{line-height: 1.2}.markdown-body h5{font-size: 1em}.markdown-body h5 .anchor{line-height: 1.1}.markdown-body h6{font-size: 1em;color: #777}.markdown-body h6 .anchor{line-height: 1.1}.markdown-body p,.markdown-body blockquote,.markdown-body ul,.markdown-body ol,.markdown-body dl,.markdown-body table,.markdown-body pre{margin-top: 0;margin-bottom: 16px}.markdown-body hr{height: 4px;padding: 0;margin: 16px 0;background-color: #e7e7e7;border: 0 none}.markdown-body ul,.markdown-body ol{padding-left: 2em}.markdown-body ul.no-list,.markdown-body ol.no-list{padding: 0;list-style-type: none}.markdown-body ul ul,.markdown-body ul ol,.markdown-body ol ol,.markdown-body ol ul{margin-top: 0;margin-bottom: 0}.markdown-body li&gt;p{margin-top: 16px}.markdown-body dl{padding: 0}.markdown-body dl dt{padding: 0;margin-top: 16px;font-size: 1em;font-style: italic;font-weight: bold}.markdown-body dl dd{padding: 0 16px;margin-bottom: 16px}.markdown-body blockquote{padding: 0 15px;color: #777;border-left: 4px solid #ddd}.markdown-body blockquote&gt;:first-child{margin-top: 0}.markdown-body blockquote&gt;:last-child{margin-bottom: 0}.markdown-body table{display: block;width: 100%;overflow: auto;word-break: normal;word-break: keep-all}.markdown-body table th{font-weight: bold}.markdown-body table th,.markdown-body table td{padding: 6px 13px;border: 1px solid #ddd}.markdown-body table tr{background-color: #fff;border-top: 1px solid #ccc}.markdown-body table tr:nth-child(2n){background-color: #f8f8f8}.markdown-body img{max-width: 100%;box-sizing: border-box}.markdown-body span.frame{display: block;overflow: hidden}.markdown-body span.frame&gt;span{display: block;float: left;width: auto;padding: 7px;margin: 13px 0 0;overflow: hidden;border: 1px solid #ddd}.markdown-body span.frame span img{display: block;float: left}.markdown-body span.frame span span{display: block;padding: 5px 0 0;clear: both;color: #333}.markdown-body span.align-center{display: block;overflow: hidden;clear: both}.markdown-body span.align-center&gt;span{display: block;margin: 13px auto 0;overflow: hidden;text-align: center}.markdown-body span.align-center span img{margin: 0 auto;text-align: center}.markdown-body span.align-right{display: block;overflow: hidden;clear: both}.markdown-body span.align-right&gt;span{display: block;margin: 13px 0 0;overflow: hidden;text-align: right}.markdown-body span.align-right span img{margin: 0;text-align: right}.markdown-body span.float-left{display: block;float: left;margin-right: 13px;overflow: hidden}.markdown-body span.float-left span{margin: 13px 0 0}.markdown-body span.float-right{display: block;float: right;margin-left: 13px;overflow: hidden}.markdown-body span.float-right&gt;span{display: block;margin: 13px auto 0;overflow: hidden;text-align: right}.markdown-body code,.markdown-body tt{padding: 0;padding-top: 0.2em;padding-bottom: 0.2em;margin: 0;font-size: 85%;background-color: rgba(0,0,0,0.04);border-radius: 3px}.markdown-body code:before,.markdown-body code:after,.markdown-body tt:before,.markdown-body tt:after{letter-spacing: -0.2em;content: &quot;\00a0&quot;}.markdown-body code br,.markdown-body tt br{display: none}.markdown-body del code{text-decoration: inherit}.markdown-body pre&gt;code{padding: 0;margin: 0;font-size: 100%;word-break: normal;white-space: pre;background: transparent;border: 0}.markdown-body .highlight{margin-bottom: 16px}.markdown-body .highlight pre,.markdown-body pre{padding: 16px;overflow: auto;font-size: 85%;line-height: 1.45;background-color: #f7f7f7;border-radius: 3px}.markdown-body .highlight pre{margin-bottom: 0;word-break: normal}.markdown-body pre{word-wrap: normal}.markdown-body pre code,.markdown-body pre tt{display: inline;max-width: initial;padding: 0;margin: 0;overflow: initial;line-height: inherit;word-wrap: normal;background-color: transparent;border: 0}.markdown-body pre code:before,.markdown-body pre code:after,.markdown-body pre tt:before,.markdown-body pre tt:after{content: normal}.markdown-body kbd{display: inline-block;padding: 3px 5px;font-size: 11px;line-height: 10px;color: #555;vertical-align: middle;background-color: #fcfcfc;border: solid 1px #ccc;border-bottom-color: #bbb;border-radius: 3px;box-shadow: inset 0 -1px 0 #bbb}.codehilite{background: #ffffff}.codehilite .c{color: #999988;font-style: italic}.codehilite .err{color: #a61717;background-color: #e3d2d2}.codehilite .k{color: #000000;font-weight: bold}.codehilite .o{color: #000000;font-weight: bold}.codehilite .cm{color: #999988;font-style: italic}.codehilite .cp{color: #999999;font-weight: bold}.codehilite .c1{color: #999988;font-style: italic}.codehilite .cs{color: #999999;font-weight: bold;font-style: italic}.codehilite .gd{color: #000000;background-color: #ffdddd}.codehilite .gd .x{color: #000000;background-color: #ffaaaa}.codehilite .ge{color: #000000;font-style: italic}.codehilite .gr{color: #aa0000}.codehilite .gh{color: #999999}.codehilite .gi{color: #000000;background-color: #ddffdd}.codehilite .gi .x{color: #000000;background-color: #aaffaa}.codehilite .go{color: #888888}.codehilite .gp{color: #555555}.codehilite .gs{font-weight: bold}.codehilite .gu{color: #aaaaaa}.codehilite .gt{color: #aa0000}.codehilite .kc{color: #000000;font-weight: bold}.codehilite .kd{color: #000000;font-weight: bold}.codehilite .kp{color: #000000;font-weight: bold}.codehilite .kr{color: #000000;font-weight: bold}.codehilite .kt{color: #445588;font-weight: bold}.codehilite .m{color: #009999}.codehilite .s{color: #d14}.codehilite .na{color: #008080}.codehilite .nb{color: #0086B3}.codehilite .nc{color: #445588;font-weight: bold}.codehilite .no{color: #008080}.codehilite .ni{color: #800080}.codehilite .ne{color: #990000;font-weight: bold}.codehilite .nf{color: #990000;font-weight: bold}.codehilite .nn{color: #555555}.codehilite .nt{color: #000080}.codehilite .nv{color: #008080}.codehilite .ow{color: #000000;font-weight: bold}.codehilite .w{color: #bbbbbb}.codehilite .mf{color: #009999}.codehilite .mh{color: #009999}.codehilite .mi{color: #009999}.codehilite .mo{color: #009999}.codehilite .sb{color: #d14}.codehilite .sc{color: #d14}.codehilite .sd{color: #d14}.codehilite .s2{color: #d14}.codehilite .se{color: #d14}.codehilite .sh{color: #d14}.codehilite .si{color: #d14}.codehilite .sx{color: #d14}.codehilite .sr{color: #009926}.codehilite .s1{color: #d14}.codehilite .ss{color: #990073}.codehilite .bp{color: #999999}.codehilite .vc{color: #008080}.codehilite .vg{color: #008080}.codehilite .vi{color: #008080}.codehilite .il{color: #009999}
    &lt;/style&gt;
    &lt;style type=&quot;text/css&quot;&gt;
      .markdown-body hr{background:url(&quot;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAECAYAAACtBE5DAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6OENDRjNBN0E2NTZBMTFFMEI3QjRBODM4NzJDMjlGNDgiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6OENDRjNBN0I2NTZBMTFFMEI3QjRBODM4NzJDMjlGNDgiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo4Q0NGM0E3ODY1NkExMUUwQjdCNEE4Mzg3MkMyOUY0OCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo4Q0NGM0E3OTY1NkExMUUwQjdCNEE4Mzg3MkMyOUY0OCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PqqezsUAAAAfSURBVHjaYmRABcYwBiM2QSA4y4hNEKYDQxAEAAIMAHNGAzhkPOlYAAAAAElFTkSuQmCC&quot;)}
    &lt;/style&gt;
  &lt;/head&gt;
  &lt;body&gt;
    &lt;div class=&quot;container&quot;&gt;
      &lt;div id=&quot;markup&quot;&gt;
        &lt;article class=&quot;markdown-body&quot; id=&quot;content&quot;&gt;
          &lt;div&gt;
  &lt;link href=&quot;//maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css&quot; rel=&quot;stylesheet&quot;&gt;&lt;/link&gt;
  &lt;link href=&quot;https://cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/css/toastr.css&quot; rel=&quot;stylesheet&quot;&gt;&lt;/link&gt;
  &lt;script src=&quot;//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js&quot;&gt;&lt;/script&gt;
  &lt;script src=&quot;//maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js&quot;&gt;&lt;/script&gt;
  &lt;script src=&quot;//cdn.jsdelivr.net/npm/clipboard@1/dist/clipboard.min.js&quot;&gt;&lt;/script&gt;
  &lt;script src=&quot;https://cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/js/toastr.min.js&quot;&gt;&lt;/script&gt;
  &lt;style&gt;
      .markdown-body hr {

      }
      body {min-width: initial;}
      .toolbar-wrapper {position: relative;}
      .toolbar {
        position: absolute;
        flex-direction: center;
        align-items: flex-start;
        justify-content: space-between;
        display: flex;
        left: 0;right: 0;
      }
      .toolbar-wrapper .codehilite pre {padding-top: 24px;}
    &lt;/style&gt;
  &lt;script&gt;
  $(function(){
    var toolbars = document.querySelectorAll(&#39;.toolbar&#39;);
    for (var i = 0; i &lt; toolbars.length; i++) {
      addToolbar(toolbars[i]);
    }
  });

  function addToolbar(toolbar) {
    var wrapper = toolbar.parentNode;
    var labelText = toolbar.getAttribute(&#39;label&#39;);
    var label = document.createElement(&#39;div&#39;),
        button = document.createElement(&#39;div&#39;);
    wrapper.classList = &#39;toolbar-wrapper&#39;
    label.classList = &#39;label label-default&#39;;
    label.innerHTML = labelText;
    button.classList = &#39;btn btn-default btn-xs&#39;;
    button.innerHTML = &#39;Copy&#39;;
    button.addEventListener(&#39;click&#39;, function() {
      toastr.info(&#39;클립보드에 복사되었습니다.&#39;);
      new Clipboard(&#39;.btn&#39;, {
          text: function(trigger) {
            var text = wrapper.querySelector(&#39;.codehilite pre&#39;).textContent;
            if (labelText.toLowerCase() == &#39;shell&#39;) text = text.replace(&#39;$ &#39;, &#39;&#39;);
            return text;
          }
      });
    });
    toolbar.appendChild(label);
    toolbar.appendChild(button);
  }
  &lt;/script&gt;
&lt;/div&gt;
Mac에 Composer를 인스톨 하는 방법을 메모.&lt;br /&gt;

&lt;h2&gt;
Composer 란?&lt;/h2&gt;
&lt;a href=&quot;https://getcomposer.org/&quot;&gt;composer&lt;/a&gt; 는 &lt;a href=&quot;http://php.net/&quot;&gt;php&lt;/a&gt; 를 개발하는데 있어서 패키지간의 의존성을 관리하는 의존성 관리자입니다. &lt;a href=&quot;http://nodejs.org/&quot;&gt;node.js&lt;/a&gt; 의 &lt;a href=&quot;https://www.npmjs.com/&quot;&gt;npm&lt;/a&gt;, &lt;a href=&quot;https://www.ruby-lang.org/&quot;&gt;ruby&lt;/a&gt;의 &lt;a href=&quot;http://bundler.io/&quot;&gt;bundle&lt;/a&gt;과 같은 역할을 수행합니다.&lt;br /&gt;

php를 개발하는데 있어서 다양한 패키지들을 설치하고 의존성을 관리하며 Autoload를 사용하는데 Composer가 꼭 필요하다고 할 수 있습니다.&lt;br /&gt;

PHP 5.3.2+ 이상이면 Composer가 구동될 수 있습니다.&lt;br /&gt;

&lt;h2&gt;
준비사항&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;PHP 5.3.2+ 이상&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;
시스템 환경 확인&lt;/h3&gt;
2017년08월3일 기준 현재 로컬 환경.&lt;br /&gt;

&lt;div class=&quot;codehilite&quot;&gt;
&lt;pre&gt;OS: MacOS Sierra 10.12.5
$ php -v
PHP 7.1.6 (cli) (built: Jun 23 2017 08:42:14) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.1.0, Copyright (c) 1998-2017 Zend Technologies
&lt;/pre&gt;
&lt;/div&gt;
&lt;h2&gt;
설치하기&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Composer 인스톨러를 curl로 다운로드&lt;/li&gt;
&lt;li&gt;인스톨러를 PHP로 실행&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
  &lt;div class=&quot;toolbar&quot; label=&quot;Shell&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;codehilite&quot;&gt;
&lt;pre&gt;$ curl -sS https://getcomposer.org/installer | php
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;Composer.phar를 이동&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
  &lt;div class=&quot;toolbar&quot; label=&quot;Shell&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;codehilite&quot;&gt;
&lt;pre&gt;$ mv composer.phar /usr/local/bin/composer
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;버전을 확인&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;codehilite&quot;&gt;
&lt;pre&gt;$ composer -V
Composer version 1.4.2 2017-05-17 08:17:52
&lt;/pre&gt;
&lt;/div&gt;
&lt;h2&gt;
참고&lt;/h2&gt;
&lt;a href=&quot;https://getcomposer.org/&quot;&gt;Composer&lt;/a&gt;&lt;br /&gt;

&lt;a href=&quot;https://xpressengine.github.io/Composer-korean-docs/&quot;&gt;Composer 한국어 메뉴얼&lt;/a&gt;&lt;br /&gt;

        &lt;/article&gt;
      &lt;/div&gt;
&lt;/div&gt;
&lt;/body&gt;
&lt;/html&gt;
</content><link rel='replies' type='application/atom+xml' href='http://saintshine84.blogspot.com/feeds/2213256967348346132/comments/default' title='댓글'/><link rel='replies' type='text/html' href='http://saintshine84.blogspot.com/2017/08/mac-composer.html#comment-form' title='0개의 덧글'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/216780391177423295/posts/default/2213256967348346132'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/216780391177423295/posts/default/2213256967348346132'/><link rel='alternate' type='text/html' href='http://saintshine84.blogspot.com/2017/08/mac-composer.html' title='Mac에 Composer 설치하기'/><author><name>saintSHINe</name><uri>http://www.blogger.com/profile/12329846944608930059</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjkmpBqDrmNsSktYlod_rit58kKqqIgJk26OcIb9i95lU3_LW9H6stBZZPVNWyEmj6wlCNqfjmLgd-GBwdjSJfEYYMCVsFMDgmvYWuZln_afn7NlG9xriPtWqd9we1PNis/s220/202673_1490680789.jpeg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-216780391177423295.post-8166351920390896243</id><published>2017-07-04T03:12:00.000-07:00</published><updated>2017-07-04T04:37:24.972-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="brew"/><category scheme="http://www.blogger.com/atom/ns#" term="homebrew"/><category scheme="http://www.blogger.com/atom/ns#" term="Mac"/><category scheme="http://www.blogger.com/atom/ns#" term="php"/><category scheme="http://www.blogger.com/atom/ns#" term="php7"/><category scheme="http://www.blogger.com/atom/ns#" term="맥"/><title type='text'>Mac에서 Homebrew로  PHP5를 PHP7으로 업데이트하기</title><content type='html'>&lt;h4&gt;
초기상태&lt;/h4&gt;
OS: OS X Sierra 10.12.5&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-color: #f7f7f7; border-radius: 3px; border: 0px; box-sizing: inherit; color: #333333; font-family: consolas, &amp;quot;liberation mono&amp;quot;, menlo, courier, monospace; font-size: 0.8em; line-height: 1.2; overflow-x: auto; padding: 0.6em 1.2em; word-break: break-all; word-wrap: normal;&quot;&gt;$ php -v
PHP 5.6.30 (cli) (built: Feb  7 2017 16:18:37)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies&lt;/pre&gt;
&lt;h4&gt;
Homebrew&lt;/h4&gt;
Mac에 Homebrew를 인스톨하기&lt;br /&gt;
&lt;br /&gt;
&lt;h4&gt;
Homebrew로 PHP7검색&lt;/h4&gt;
&lt;pre style=&quot;background-color: #f7f7f7; border-radius: 3px; border: 0px; box-sizing: inherit; color: #333333; font-family: consolas, &amp;quot;liberation mono&amp;quot;, menlo, courier, monospace; font-size: 0.8em; line-height: 1.2; overflow-x: auto; padding: 0.6em 1.2em; word-break: break-all; word-wrap: normal;&quot;&gt;homebrew/php/php70 ✔ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; homebrew/php/php70-xdebug
homebrew/php/php70-amqp &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;homebrew/php/php70-xmldiff
homebrew/php/php70-apcu &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;homebrew/php/php70-xxtea
homebrew/php/php70-apcu-bc &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; homebrew/php/php70-yac
homebrew/php/php70-ast &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; homebrew/php/php70-yaf
homebrew/php/php70-blitz &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; homebrew/php/php70-yaml
homebrew/php/php70-couchbase &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; homebrew/php/php71 ✔
homebrew/php/php70-ds &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;homebrew/php/php71-amqp
...
homebrew/php/php70-v8js
&lt;/pre&gt;
&lt;h4&gt;
PHP7 인스톨&lt;/h4&gt;
&lt;div class=&quot;code-frame&quot; data-lang=&quot;text&quot; style=&quot;background-color: #f7f7f7; border-radius: 3px; box-sizing: inherit; line-height: 0; margin: 1em 0px; overflow: hidden;&quot;&gt;
&lt;div class=&quot;highlight&quot; style=&quot;background: rgb(255, 255, 255); box-sizing: inherit;&quot;&gt;
&lt;pre style=&quot;background-color: #f7f7f7; border-radius: 3px; border: 0px; box-sizing: inherit; color: #333333; font-family: consolas, &amp;quot;liberation mono&amp;quot;, menlo, courier, monospace; font-size: 0.8em; line-height: 1.2; overflow-x: auto; padding: 0.6em 1.2em; word-break: break-all; word-wrap: normal;&quot;&gt;$ brew install homebrew/php/php71
brew install homebrew/php/php71
==&amp;amp;gt; Tapping homebrew/php
Cloning into &#39;/usr/local/Homebrew/Library/Taps/homebrew/homebrew-php&#39;...
remote: Counting objects: 685, done.
remote: Compressing objects: 100% (461/461), done.
remote: Total 685 (delta 448), reused 284 (delta 219), pack-reused 0
Receiving objects: 100% (685/685), 282.64 KiB | 0 bytes/s, done.
Resolving deltas: 100% (448/448), done.
Tapped 656 formulae (700 files, 1.3MB)
==&amp;amp;gt; Installing php71 from homebrew/php&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;h4&gt;
Path&lt;/h4&gt;
.bash_profile에 추가&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-color: #f7f7f7; border-radius: 3px; border: 0px; box-sizing: inherit; color: #333333; font-family: consolas, &amp;quot;liberation mono&amp;quot;, menlo, courier, monospace; font-size: 0.8em; line-height: 1.2; overflow-x: auto; padding: 0.6em 1.2em; word-break: break-all; word-wrap: normal;&quot;&gt;export PATH=&quot;$(brew --prefix homebrew/php/php71)/bin:$PATH&quot;
&lt;/pre&gt;
&lt;h4&gt;
확인&lt;/h4&gt;
&lt;pre style=&quot;background-color: #f7f7f7; border-radius: 3px; border: 0px; box-sizing: inherit; color: #333333; font-family: consolas, &amp;quot;liberation mono&amp;quot;, menlo, courier, monospace; font-size: 0.8em; line-height: 1.2; overflow-x: auto; padding: 0.6em 1.2em; word-break: break-all; word-wrap: normal;&quot;&gt;$ php -v
PHP 7.1.5 (cli) (built: May 13 2017 13:30:32) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.1.0, Copyright (c) 1998-2017 Zend Technologies&lt;/pre&gt;
</content><link rel='replies' type='application/atom+xml' href='http://saintshine84.blogspot.com/feeds/8166351920390896243/comments/default' title='댓글'/><link rel='replies' type='text/html' href='http://saintshine84.blogspot.com/2017/07/mac-homebrew-php5-php7.html#comment-form' title='0개의 덧글'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/216780391177423295/posts/default/8166351920390896243'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/216780391177423295/posts/default/8166351920390896243'/><link rel='alternate' type='text/html' href='http://saintshine84.blogspot.com/2017/07/mac-homebrew-php5-php7.html' title='Mac에서 Homebrew로  PHP5를 PHP7으로 업데이트하기'/><author><name>saintSHINe</name><uri>http://www.blogger.com/profile/12329846944608930059</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjkmpBqDrmNsSktYlod_rit58kKqqIgJk26OcIb9i95lU3_LW9H6stBZZPVNWyEmj6wlCNqfjmLgd-GBwdjSJfEYYMCVsFMDgmvYWuZln_afn7NlG9xriPtWqd9we1PNis/s220/202673_1490680789.jpeg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-216780391177423295.post-1851446924221594106</id><published>2012-09-03T18:49:00.001-07:00</published><updated>2013-05-02T20:28:43.599-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><category scheme="http://www.blogger.com/atom/ns#" term="APK"/><category scheme="http://www.blogger.com/atom/ns#" term="Error"/><category scheme="http://www.blogger.com/atom/ns#" term="GooglePlay"/><category scheme="http://www.blogger.com/atom/ns#" term="구글플레이"/><category scheme="http://www.blogger.com/atom/ns#" term="마켓"/><category scheme="http://www.blogger.com/atom/ns#" term="안드로이드"/><category scheme="http://www.blogger.com/atom/ns#" term="에러"/><title type='text'>The server could not process your apk. Try again</title><content type='html'>&lt;br /&gt;
&lt;strong style=&quot;background-color: white; border: 0px; font-family: Arial, &#39;Liberation Sans&#39;, &#39;DejaVu Sans&#39;, sans-serif; font-size: 14px; line-height: 18px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;The server could not process your apk. Try again&lt;/strong&gt;
&lt;br /&gt;
&lt;b&gt;apk をサーバーで処理できませんでした。もう一度お試しください&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: AppleGothic, Dotum, sans-serif; line-height: 19px; text-align: justify;&quot;&gt;&lt;b&gt;서버에서 APK를 처리할 수 없습니다. 다시 시도해 주세요.&lt;/b&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: AppleGothic, Dotum, sans-serif; line-height: 19px; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: AppleGothic, Dotum, sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;이와 관련 된 문제를 검색 해보면 대체적으로&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: AppleGothic, Dotum, sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: AppleGothic, Dotum, sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;1. 구글 서버 문제&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: AppleGothic, Dotum, sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;서버가 불안정하여 처리 되지 않는 다는 의견. 기다렸다가 나중에 시도해보니 되더라는 의견들.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: AppleGothic, Dotum, sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;2. 공백 태그 문제&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: AppleGothic, Dotum, sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;아래와 같은 공백 태그가 있어서 처리가 안됬었다는 의견들.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;span style=&quot;background-color: #eeeeee; text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, serif;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;&amp;lt;uses-configuration&amp;gt;&amp;lt;/uses-configuration&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;3. strings.xml&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #eeeeee; text-align: left;&quot;&gt;&lt;span style=&quot;color: #0b5394;&quot;&gt;&lt;b&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: #eeeeee; text-align: left;&quot;&gt;&lt;span style=&quot;color: #0b5394;&quot;&gt;&lt;b&gt;본인의 경우는 다중 언어 지원시 쌍이 맞지 않아서 발생한 경우로&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: #eeeeee; text-align: left;&quot;&gt;&lt;span style=&quot;color: #0b5394;&quot;&gt;&lt;b&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
default로 쓰이는 values의 strings.xml 파일과&lt;br /&gt;
values-kr, values-ja 폴더 안의 strings.xml 파일과&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
짝이 맞지 않는 경우.&lt;/div&gt;
&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://saintshine84.blogspot.com/feeds/1851446924221594106/comments/default' title='댓글'/><link rel='replies' type='text/html' href='http://saintshine84.blogspot.com/2012/09/the-server-could-not-process-your-apk.html#comment-form' title='0개의 덧글'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/216780391177423295/posts/default/1851446924221594106'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/216780391177423295/posts/default/1851446924221594106'/><link rel='alternate' type='text/html' href='http://saintshine84.blogspot.com/2012/09/the-server-could-not-process-your-apk.html' title='The server could not process your apk. Try again'/><author><name>saintSHINe</name><uri>http://www.blogger.com/profile/12329846944608930059</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjkmpBqDrmNsSktYlod_rit58kKqqIgJk26OcIb9i95lU3_LW9H6stBZZPVNWyEmj6wlCNqfjmLgd-GBwdjSJfEYYMCVsFMDgmvYWuZln_afn7NlG9xriPtWqd9we1PNis/s220/202673_1490680789.jpeg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-216780391177423295.post-6887690479832001528</id><published>2012-07-23T20:14:00.000-07:00</published><updated>2012-08-07T20:52:54.897-07:00</updated><title type='text'>SparseArrays - HashMap의 Key 타입이 Integer 인 경우 SparseArray를 사용하자</title><content type='html'>Developer 사이트 확인 중 발견 내용.&lt;br /&gt;
&lt;br /&gt;
Integer 타입을 키로&amp;nbsp;HashMap&amp;nbsp;사용하는 것 보다&lt;br /&gt;
&lt;br /&gt;
SparseArray 를 사용하는 것을 권장하고 있다.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://developer.android.com/reference/android/util/SparseArray.html&quot; target=&quot;_blank&quot;&gt;http://developer.android.com/reference/android/util/SparseArray.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
키타입 선언을 하지 않는 것을 제외하면 HashMap 사용법과 거의 동일하다.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://saintshine84.blogspot.com/feeds/6887690479832001528/comments/default' title='댓글'/><link rel='replies' type='text/html' href='http://saintshine84.blogspot.com/2012/07/hashmap-key-integer-sparsearray.html#comment-form' title='0개의 덧글'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/216780391177423295/posts/default/6887690479832001528'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/216780391177423295/posts/default/6887690479832001528'/><link rel='alternate' type='text/html' href='http://saintshine84.blogspot.com/2012/07/hashmap-key-integer-sparsearray.html' title='SparseArrays - HashMap의 Key 타입이 Integer 인 경우 SparseArray를 사용하자'/><author><name>saintSHINe</name><uri>http://www.blogger.com/profile/12329846944608930059</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjkmpBqDrmNsSktYlod_rit58kKqqIgJk26OcIb9i95lU3_LW9H6stBZZPVNWyEmj6wlCNqfjmLgd-GBwdjSJfEYYMCVsFMDgmvYWuZln_afn7NlG9xriPtWqd9we1PNis/s220/202673_1490680789.jpeg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-216780391177423295.post-8974091451627067828</id><published>2012-06-13T19:56:00.003-07:00</published><updated>2012-07-23T20:12:19.434-07:00</updated><title type='text'>ArrayList를 String[] 타입으로 변환</title><content type='html'>ArrayList&lt;string&gt; arTemp = new ArrayList&lt;string&gt;();&lt;/string&gt;&lt;/string&gt;&lt;br /&gt;
&lt;string&gt;&lt;string&gt;arTemp.add(&quot;A&quot;);&lt;/string&gt;&lt;/string&gt;&lt;br /&gt;
&lt;string&gt;&lt;string&gt;arTemp.add(&quot;B&quot;);&lt;/string&gt;&lt;/string&gt;&lt;br /&gt;
&lt;string&gt;&lt;string&gt;arTemp.add(&quot;C&quot;);&lt;/string&gt;&lt;/string&gt;&lt;br /&gt;
&lt;string&gt;&lt;string&gt;&lt;br /&gt;&lt;/string&gt;&lt;/string&gt;&lt;br /&gt;
&lt;string&gt;&lt;string&gt;String[] temp = arTemp.toArray( new String[arTemp.size()]);&lt;/string&gt;&lt;/string&gt;</content><link rel='replies' type='application/atom+xml' href='http://saintshine84.blogspot.com/feeds/8974091451627067828/comments/default' title='댓글'/><link rel='replies' type='text/html' href='http://saintshine84.blogspot.com/2012/06/arraylist-to-string.html#comment-form' title='0개의 덧글'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/216780391177423295/posts/default/8974091451627067828'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/216780391177423295/posts/default/8974091451627067828'/><link rel='alternate' type='text/html' href='http://saintshine84.blogspot.com/2012/06/arraylist-to-string.html' title='ArrayList를 String[] 타입으로 변환'/><author><name>saintSHINe</name><uri>http://www.blogger.com/profile/12329846944608930059</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjkmpBqDrmNsSktYlod_rit58kKqqIgJk26OcIb9i95lU3_LW9H6stBZZPVNWyEmj6wlCNqfjmLgd-GBwdjSJfEYYMCVsFMDgmvYWuZln_afn7NlG9xriPtWqd9we1PNis/s220/202673_1490680789.jpeg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-216780391177423295.post-5850246441027758414</id><published>2009-06-18T23:00:00.000-07:00</published><updated>2015-07-14T00:51:11.526-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C"/><category scheme="http://www.blogger.com/atom/ns#" term="C++"/><title type='text'>최대 공약수를 구하는 프로그램</title><content type='html'>&lt;div&gt;
&lt;span class=&quot;pcol1 itemSubjectBoldfont&quot; style=&quot;background-color: white; color: #94cb00; display: inline; font-family: 돋움; font-size: 18px; font-weight: bold; letter-spacing: -1px;&quot;&gt;&lt;div style=&quot;color: #666666; font-size: 12px; font-weight: normal; letter-spacing: normal; line-height: 18px; padding: 0px; text-align: justify;&quot;&gt;
// 최대 공약수를 구하기 위한 프로그램&lt;/div&gt;
&lt;div style=&quot;color: #666666; font-size: 12px; font-weight: normal; letter-spacing: normal; line-height: 18px; padding: 0px; text-align: justify;&quot;&gt;
#include &amp;lt;iostream.h&amp;gt;&lt;/div&gt;
&lt;div style=&quot;color: #666666; font-size: 12px; font-weight: normal; letter-spacing: normal; line-height: 18px; padding: 0px; text-align: justify;&quot;&gt;
int a, b, input_a, input_b, temp_a, temp_b, gcd_num;&lt;br /&gt;// 최대 공약수를 구하기 위해 int형 변수 a, b와&lt;br /&gt;// 입력받을당시의 값을 유지하기 위한 input_a, input_b&lt;br /&gt;// 임시 저장공간 temp_a, temp_b, 결과저장용 gcd_num 선언&lt;/div&gt;
&lt;div style=&quot;color: #666666; font-size: 12px; font-weight: normal; letter-spacing: normal; line-height: 18px; padding: 0px; text-align: justify;&quot;&gt;
int gcd(int a, int b);&lt;br /&gt;// 최대 공약수를 구하기 위한 사용자 정의 함수 선언&lt;/div&gt;
&lt;div style=&quot;color: #666666; font-size: 12px; font-weight: normal; letter-spacing: normal; line-height: 18px; padding: 0px; text-align: justify;&quot;&gt;
void main()&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;cout &amp;lt;&amp;lt; &quot;Input two numbers\n&quot;;&lt;br /&gt;&amp;nbsp;cin &amp;gt;&amp;gt; input_a &amp;gt;&amp;gt; input_b;&lt;br /&gt;&amp;nbsp;a = input_a, b = input_b;&lt;br /&gt;&amp;nbsp;// 최대 공약수를 구할 두 숫자를 입력 받는다&lt;br /&gt;&amp;nbsp;if(a&amp;lt;0||b&amp;lt;0) // 두 숫자 중 음수가 있으면 에러메시지를 출력&lt;br /&gt;&amp;nbsp;&amp;nbsp;cout &amp;lt;&amp;lt; &quot;Error, minus number input!\n&quot;;&lt;br /&gt;&amp;nbsp;else&lt;br /&gt;&amp;nbsp;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;if (a &amp;gt; b) // 두 숫자중 큰 숫자를 gcd 함수 앞 인자로 가도록 설정&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;gcd_num = gcd(a, b);&lt;br /&gt;&amp;nbsp;&amp;nbsp;else&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;gcd_num = gcd(b, a);&lt;br /&gt;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;if(gcd_num == 1) // gcd_num이 1일 경우 최대공약수가 없다고 출력&lt;br /&gt;&amp;nbsp;&amp;nbsp;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;cout &amp;lt;&amp;lt; &quot;No common\n&quot;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;}&lt;br /&gt;&amp;nbsp;&amp;nbsp;else&lt;br /&gt;&amp;nbsp;&amp;nbsp;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;cout &amp;lt;&amp;lt; input_a &amp;lt;&amp;lt; &quot; and &quot; &amp;lt;&amp;lt; input_b;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;cout &amp;lt;&amp;lt; &quot;&#39;s greatest common divisor is &quot; &amp;lt;&amp;lt; gcd_num &amp;lt;&amp;lt; &quot;\n&quot;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;}&lt;br /&gt;&amp;nbsp;}&lt;br /&gt;}&lt;/div&gt;
&lt;div style=&quot;color: #666666; font-size: 12px; font-weight: normal; letter-spacing: normal; line-height: 18px; padding: 0px; text-align: justify;&quot;&gt;
int gcd(int a, int b)&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;while (b!=0) // b가 0이 아닌 경우 루프 수행&lt;br /&gt;&amp;nbsp;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;temp_a = a, temp_b = b; // 임시 저장공간에 각 값을 저장&lt;br /&gt;&amp;nbsp;&amp;nbsp;a = temp_b, b = (temp_a % temp_b);&lt;br /&gt;&amp;nbsp;&amp;nbsp;// 결국 a = b, b = (a % b) 이다&lt;br /&gt;&amp;nbsp;}&lt;br /&gt;&amp;nbsp;return a; // b가 0이 되어 루프가 종료 되면 a값을 반환&lt;br /&gt;}&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;autosourcing-stub-extra&quot; style=&quot;line-height: 1.5; opacity: 0; position: absolute;&quot;&gt;
&lt;/div&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;autosourcing-stub-extra&quot; style=&quot;opacity: 0; position: absolute;&quot;&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://saintshine84.blogspot.com/feeds/5850246441027758414/comments/default' title='댓글'/><link rel='replies' type='text/html' href='http://saintshine84.blogspot.com/2009/06/blog-post.html#comment-form' title='0개의 덧글'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/216780391177423295/posts/default/5850246441027758414'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/216780391177423295/posts/default/5850246441027758414'/><link rel='alternate' type='text/html' href='http://saintshine84.blogspot.com/2009/06/blog-post.html' title='최대 공약수를 구하는 프로그램'/><author><name>saintSHINe</name><uri>http://www.blogger.com/profile/12329846944608930059</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjkmpBqDrmNsSktYlod_rit58kKqqIgJk26OcIb9i95lU3_LW9H6stBZZPVNWyEmj6wlCNqfjmLgd-GBwdjSJfEYYMCVsFMDgmvYWuZln_afn7NlG9xriPtWqd9we1PNis/s220/202673_1490680789.jpeg'/></author><thr:total>0</thr:total></entry></feed>