<div class="gmail_quote">On Wed, Mar 2, 2011 at 2:41 AM, michael ma <span dir="ltr"><<a href="mailto:michael8446@126.com">michael8446@126.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div>Dear all,</div>
<div> </div>
<div>when i run helloworld, it should stay there and press anykey to stop,but my helloworld just flash and gone,</div>
<div> </div>
<div>does that mean i dont install itk successfully?</div>
<div> </div>
<div>what is wrong?</div>
<div> </div>
<div>thanks for any help.</div>
<div> </div>
<div>best regards,</div>
<div> </div>
<div>micheal</div><div><br></div></blockquote><div><br></div><meta http-equiv="content-type" content="text/html; charset=utf-8">Are you running it from an IDE like Visual Studio? That is a typical default behavior. I believe there is some setting that will keep the terminal open, or you can "force" it by adding a </div>
<div class="gmail_quote"><br></div><div class="gmail_quote">int a;</div><div class="gmail_quote">cin >> a;</div><div class="gmail_quote"><br></div><div class="gmail_quote">to the end of the program.</div><div class="gmail_quote">
<br></div><div class="gmail_quote">You could also run the executable manually from a terminal to inspect the output.<br clear="all"><br><div>David </div></div>