<font face="맑은 고딕">질문 하나만 드릴게요...</font> <div><font face="맑은 고딕"><br /></font></div> <div><hr /></div> <div><div> <div><font face="맑은 고딕">int main(void)</font></div> <div><font face="맑은 고딕">{</font></div> <div><font face="맑은 고딕"><span class="Apple-tab-span" style="white-space: pre"> </span>char preFixExpr[256] = "-+*ABC/EF";</font></div> <div><font face="맑은 고딕"><span class="Apple-tab-span" style="white-space: pre"> </span>char postFixExpr[256] = "";</font></div> <div><font face="맑은 고딕"><br /></font></div> <div><font face="맑은 고딕"><span class="Apple-tab-span" style="white-space: pre"> </span>preToPostFix(preFixExpr, postFixExpr);</font></div> <div style="text-align: center"><font size="5" face="맑은 고딕">.</font></div></div> <div><font face="맑은 고딕"><br /></font></div> <div><font face="맑은 고딕">void preToPostFix(char* preFixIn, char* postFix)</font></div> <div><font face="맑은 고딕">{</font></div> <div><font face="맑은 고딕"><br /></font></div> <div><font face="맑은 고딕"><span class="Apple-tab-span" style="white-space: pre"> </span><font color="#ff0000">char operate[2];</font></font></div> <div><font face="맑은 고딕"><span class="Apple-tab-span" style="white-space: pre"> </span>char postFix1[256];</font></div> <div><font face="맑은 고딕"><span class="Apple-tab-span" style="white-space: pre"> </span>char postFix2[256];</font></div> <div><font face="맑은 고딕"><span class="Apple-tab-span" style="white-space: pre"> </span>char temp[256];</font></div> <div><font face="맑은 고딕"><span class="Apple-tab-span" style="white-space: pre"> </span>int lenPreFix;</font></div> <div><font face="맑은 고딕"><br /></font></div> <div><font face="맑은 고딕"><span class="Apple-tab-span" style="white-space: pre"> </span>if (strlen(preFixIn) == 1)</font></div> <div><font face="맑은 고딕"><span class="Apple-tab-span" style="white-space: pre"> </span>{</font></div> <div><font face="맑은 고딕"><span class="Apple-tab-span" style="white-space: pre"> </span>*postFix = *preFixIn;</font></div> <div><font face="맑은 고딕"><span class="Apple-tab-span" style="white-space: pre"> </span>*(postFix + 1) = '\0';</font></div> <div><font face="맑은 고딕"><span class="Apple-tab-span" style="white-space: pre"> </span>return;</font></div> <div><font face="맑은 고딕"><span class="Apple-tab-span" style="white-space: pre"> </span>}<font color="#00b050">//if only operand</font></font></div> <div><font face="맑은 고딕"><br /></font></div> <div><font face="맑은 고딕"><span class="Apple-tab-span" style="white-space: pre"> </span><font color="#ff0000">*operate = *preFixIn;</font></font></div> <div><font face="맑은 고딕"><span class="Apple-tab-span" style="white-space: pre"> </span>*(operate + 1) = '\0';</font></div> <div><font face="맑은 고딕"><span class="Apple-tab-span" style="white-space: pre"> </span><font color="#00b050">//find 1st expression</font></font></div></div> <div style="text-align: center"><font size="5" face="맑은 고딕">.</font></div> <div><font color="#00b050" face="맑은 고딕"><br /></font></div> <div><hr /><font face="맑은 고딕">위 빨간색으로 지정한 부분에서...operate 배열 크기가 2밖에 안되는데, </font></div> <div><font face="맑은 고딕"><br /></font></div> <div><font face="맑은 고딕">-+*ABC/EF가 들어있는 배열의 주소가 어떻게 들어가죠??</font></div> <div><font face="맑은 고딕"><br /></font></div> <div><font face="맑은 고딕">아, 그리고 이게 그 prefix to Postfix를 수행하는 함수인데...</font></div> <div><font face="맑은 고딕"><br /></font></div> <div><font face="맑은 고딕">저 <span style="color: #ff0000; font-size: 9pt; line-height: 1.5">*operate = *preFixIn; </span><span style="font-size: 9pt; line-height: 1.5">*(operate + 1) = '\0';</span></font></div> <div><font face="맑은 고딕"><br /></font></div> <div><font face="맑은 고딕">이 두코드가 어째서 첫번째 expression을 지칭하게 되는건지 잘 모르겠습니다 ㅠㅠ...</font></div> <div><font face="맑은 고딕"><br /></font></div> <div><font face="맑은 고딕">부디 초보자에게 은총을 으어...</font></div>
<a href="http://www.steambb.com/steam/profile.php?id=76561197964191377"><img src="http://www.steambb.com/card/76561197964191377"></a>
[팬픽]
-Cellia-
<a href="http://todayhumor.com/?pony_12771">(프롤로그)</a>
1화-Cherry Blossom
<a href="http://todayhumor.com/?pony_12779">(1)</a><a href="http://todayhumor.com/?pony_13381">(2)</a><a href="http://todayhumor.com/?pony_13990">(3)</a><a href="http://todayhumor.com/?pony_14775">(4)</a>
2화-Daisy
<a href="http://todayhumor.com/?pony_16369">(1)</a><a href="http://todayhumor.com/?pony_18037">(2)</a><a href="http://todayhumor.com/?pony_22027
">(3)</a>
[Pony 번역영상 목록_계속 업데이트 됩니다.]
::||<a href="http://youtu.be/YmjmQ4LMpS0">세이브 더피</a>
::||<a href="http://www.youtube.com/watch?v=sWSnPLqA7vg&feature=share&list=ULsWSnPLqA7vg">레인보우대쉬 Hotminute</a>
::||<a href="http://www.youtube.com/watch?v=UEbf1h3IHGY&feature=share&list=ULUEbf1h3IHGY">플러터샤이 Hotminute</a>
::||<a href="http://www.youtube.com/watch?v=beuBZoHBFnk&feature=share&list=ULbeuBZoHBFnk">열혈 핑키파이에게 물어 봐!</a>
::||<a href="http://www.youtube.com/watch?v=E5N6QTXzFn4&feature=share&list=ULE5N6QTXzFn4">스타워즈 Re-enact 포니팬무비</a>
::||<a href="http://youtu.be/-x-ID01QnD0">포탈 2 포니 팬무비</a>
::||<a href="http://youtu.be/gzjOtFsYOb8">마이 리틀 포탈 EP 01</a><//a><//a><//a><//a><//a><//a><//a><//a><//a><//a><//a><//a><//a><//a><//a><//a></img>
댓글 분란 또는 분쟁 때문에 전체 댓글이 블라인드 처리되었습니다.