<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Vdiscussion &#187; Visual Programming</title>
	<atom:link href="http://vdiscussion.com/category/software-programs/visual-programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://vdiscussion.com</link>
	<description>Vinoth Kumar&#039;s Discussion</description>
	<lastBuildDate>Wed, 09 Dec 2009 15:34:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>Simple Visual C++ Program</title>
		<link>http://vdiscussion.com/simple-visual-c-program/</link>
		<comments>http://vdiscussion.com/simple-visual-c-program/#comments</comments>
		<pubDate>Wed, 28 Oct 2009 17:41:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Software Programs]]></category>
		<category><![CDATA[Visual Programming]]></category>
		<category><![CDATA[Hello World Program in VC++]]></category>
		<category><![CDATA[Simple Visual C++ Program]]></category>
		<category><![CDATA[VP Programs]]></category>

		<guid isPermaLink="false">http://vdiscussion.com/?p=23</guid>
		<description><![CDATA[Simple Visual C++ Program]]></description>
			<content:encoded><![CDATA[<blockquote><p>#include &lt;windows.h&gt;</p>
<p>int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance,PSTR szCmdLine, int iCmdShow)<br />
{</p>
<p>MessageBox (NULL, TEXT (&#8220;Hello, Windows 98!&#8221;), TEXT (&#8220;HelloMsg&#8221;), 0) ;</p>
<p>return 0 ;<br />
}</p></blockquote>
<p><strong>Step by Step Procedure :</strong></p>
<p><strong>How to Compile and Build the project in Visual C++<br />
</strong>Step 1: Select New from the File menu. In the New dialog box, pick the Projects tab.<br />
Step 2: Select Win32 Application. In the Location field, select a subdirectory. In the  Project Name field, type the name of the project, which in this case is HelloMsg .  This will be a subdirectory of the directory indicated in the Location  field.<br />
Step 3: Create New Workspace button should be checked. The Platforms section  should indicate Win32. Choose OK.</p>
<p>Step 4: A dialog box labeled Win32 Application &#8211; Step 1 Of 1 will appear. Indicate that  you want to create an Empty Project, and press the Finish button.<br />
Step 5: Select New from the File menu again. In the New dialog box, pick the Files tab.  Select C++ Source File. The Add To Project box should be checked, and HelloMsg  should be indicated. Type HelloMsg.c in the File Name field. Choose OK.Step 6 : Paste the Program</p>
<p>Step 6 : When you&#8217;re ready to compile HELLOMSG, you can select Build Hellomsg.exe from  the Build menu, or press F7, or select the Build icon from the Build toolbar.  (The appearance of this icon is shown in the Build menu. If the Build toolbar is  not currently displayed, you can choose Customize from the Tools menu and select  the Toolbars tab. Pick Build or Build MiniBar.)</p>
<p>Step 7: You can select Execute Hellomsg.exe from the Build menu, or  press Ctrl+F5, or click the Execute Program icon (which looks like a red  exclamation point) from the Build toolbar. You&#8217;ll get a message box asking you  if you want to build the program.</p>
<p>Sample Output will be displayed.</p>
]]></content:encoded>
			<wfw:commentRss>http://vdiscussion.com/simple-visual-c-program/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
