<div>어.. 일단 소스코드는 이겁니다.</div> <div> </div><pre style="margin:0px;line-height:125%;"><span style="color:rgb(136,136,136);">#include <stdio.h></span><span style="color:rgb(136,136,136);">#include <stdlib.h></span><span style="color:rgb(136,136,136);">#include <string.h></span><span style="color:rgb(136,136,136);">#pragma warning(disable:4996)</span> <span style="color:rgb(0,112,32);">int</span> main() { char player1,player2; printf(<span style="background-color:rgb(255,240,240);">"첫번째 선수 이름을 등록하세요 : "</span>); scanf(<span style="background-color:rgb(255,240,240);">"</span><span style="background-color:rgb(238,238,238);">%s</span><span style="background-color:rgb(255,240,240);">"</span>, <span style="color:rgb(51,51,51);">&</span>player1); printf(<span style="background-color:rgb(255,240,240);">"두번째 선수 이름을 등록하세요 : "</span>); scanf(<span style="background-color:rgb(255,240,240);">"</span><span style="background-color:rgb(238,238,238);">%s</span><span style="background-color:rgb(255,240,240);">"</span>, <span style="color:rgb(51,51,51);">&</span>player2); printf(<span style="background-color:rgb(255,240,240);">"</span><span style="background-color:rgb(238,238,238);">%s</span><span style="background-color:rgb(255,240,240);"> 차례입니다 : "</span>, player1); }</pre><pre style="margin:0px;line-height:125%;"> </pre><pre style="margin:0px;line-height:125%;">그런데 문제는 실행하면 printf에서 실행이 멈추고 죽어버립니다...</pre><pre style="margin:0px;line-height:125%;">진짜 뭐가 잘못된건지 모르겠네요 이건...</pre><pre style="margin:0px;line-height:125%;">아래는 디버깅할때 캡쳐입니다</pre><pre style="margin:0px;line-height:125%;"></pre><div style="text-align:left;"><img class="chimg_photo" style="border:;width:758px;height:444px;" alt="캡처.PNG" src="http://thimg.todayhumor.co.kr/upfile/201505/1430797205h8jAjFYpUePXUyHzZfMU1hblQT1.png"></div><pre style="margin:0px;line-height:125%;"> </pre><pre style="margin:0px;line-height:125%;">뭐가 잘못된 건가요? ㅠㅠ 이런적이 처음이라 당황스러워요.. </pre><br>
<a href="http://steamcommunity.com/id/zpq456/">http://steamcommunity.com/id/zpq456/</a>
댓글 분란 또는 분쟁 때문에 전체 댓글이 블라인드 처리되었습니다.