<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>Hello</span></div><div><span><br></span></div><div><span>&nbsp;that did the trick. thanks a lot. :) and thanks to everybody who replied to help me out</span></div><div>&nbsp;</div><div>-----------</div><div>Aparna</div><div><br></div><div style="font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; "><div style="font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; "><font size="2" face="Arial"><hr size="1"><b><span style="font-weight:bold;">From:</span></b> Brecht Heyde &lt;Brecht.Heyde@med.kuleuven.be&gt;<br><b><span style="font-weight: bold;">To:</span></b> 'John Drescher' &lt;drescherjm@gmail.com&gt;; 'Aparna Srinivasan' &lt;coffeeadicto@yahoo.co.in&gt;<br><b><span style="font-weight: bold;">Cc:</span></b> insight-users@itk.org<br><b><span style="font-weight:
 bold;">Sent:</span></b> Tuesday, 16 August 2011 1:21 AM<br><b><span style="font-weight: bold;">Subject:</span></b> RE: [Insight-users] helloworld.exe not running<br></font><br>Hi,<br><br>Try adding std::cin.get() to your code. This will pause your executable<br>until you push another key. You should be able to see the output then, even<br>from the debugger.<br><br>Best,<br>Brecht<br><br>-----Original Message-----<br>From: <a ymailto="mailto:insight-users-bounces@itk.org" href="mailto:insight-users-bounces@itk.org">insight-users-bounces@itk.org</a> [mailto:<a ymailto="mailto:insight-users-bounces@itk.org" href="mailto:insight-users-bounces@itk.org">insight-users-bounces@itk.org</a>]<br>On Behalf Of John Drescher<br>Sent: zondag 14 augustus 2011 16:15<br>To: Aparna Srinivasan<br>Cc: <a ymailto="mailto:insight-users@itk.org" href="mailto:insight-users@itk.org">insight-users@itk.org</a><br>Subject: Re: [Insight-users] helloworld.exe not running<br><br>On
 Sun, Aug 14, 2011 at 6:05 AM, Aparna Srinivasan<br>&lt;<a ymailto="mailto:coffeeadicto@yahoo.co.in" href="mailto:coffeeadicto@yahoo.co.in">coffeeadicto@yahoo.co.in</a>&gt; wrote:<br>&gt; Hello<br>&gt; I spent the better part of today morning and the afternoon trying to get<br>itk<br>&gt; running on my windows xp 32 bit OS. I use visual C++ 2008 for compiling.<br>&gt; to test the helloworld program, i copied the cmake...txt file and the<br>&gt; helloworld.cxx file into a folder and used cmake to specify the source and<br>&gt; binary directories and configured and generated it.<br>&gt; no problem with that.<br>&gt; i run the solution file in both the debug and release modes in visual<br>&gt; studio.. no errors..build succeeded..0 failed..however when i execute the<br>&gt; .exe files located in the debug and release folders.. i dont get the<br>&gt; required output..<br>&gt; &nbsp;all i get is a blank screen that immediately shuts off on it own.. no<br>&gt;
 'hello world.. press any key to continue' .. can somebody please tell me<br>&gt; what might have gone wrong.. im very frustrated. :(<br>&gt;<br><br>That is the expected output for running a console program in the<br>Visual Studio debugger. To see the output run it from a cmd.exe<br>prompt.<br><br>John<br>_____________________________________<br>Powered by www.kitware.com<br><br>Visit other Kitware open-source projects at<br><a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br><br>Kitware offers ITK Training Courses, for more information visit:<br><a href="http://www.kitware.com/products/protraining.html" target="_blank">http://www.kitware.com/products/protraining.html</a><br><br>Please keep messages on-topic and check the ITK FAQ at:<br><a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br><br>Follow this link to
 subscribe/unsubscribe:<br><a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br><br><br><br></div></div></div></body></html>