<?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>Scripts and Programming</title>
	<atom:link href="http://www.egscript.info/feed" rel="self" type="application/rss+xml" />
	<link>http://www.egscript.info</link>
	<description>Everything about scripts and programming</description>
	<lastBuildDate>Wed, 10 Mar 2010 02:26:43 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How to Ask Questions The Smart Way in Java</title>
		<link>http://www.egscript.info/2010/03/10/how-to-ask-questions-the-smart-way-in-java.html</link>
		<comments>http://www.egscript.info/2010/03/10/how-to-ask-questions-the-smart-way-in-java.html#comments</comments>
		<pubDate>Wed, 10 Mar 2010 02:26:43 +0000</pubDate>
		<dc:creator>kishore</dc:creator>
				<category><![CDATA[Hackers]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[os]]></category>
		<category><![CDATA[source]]></category>
		<category><![CDATA[article]]></category>
		<category><![CDATA[article-useful]]></category>
		<category><![CDATA[ask-questions-]]></category>
		<category><![CDATA[getting-advice]]></category>
		<category><![CDATA[huge-suggestion]]></category>
		<category><![CDATA[linux-kernel]]></category>
		<category><![CDATA[proper]]></category>
		<category><![CDATA[read-as-often]]></category>
		<category><![CDATA[steven-raymond]]></category>
		<category><![CDATA[there-already]]></category>
		<category><![CDATA[very-important]]></category>

		<guid isPermaLink="false">http://www.egscript.info/2010/03/10/how-to-ask-questions-the-smart-way-in-java.html</guid>
		<description><![CDATA[Alright, I realize that this topic will be read as often as the rules topic is, but it is really important to understand the best way to ask questions. 


Related posts:<ol><li><a href='http://www.egscript.info/2009/09/15/use-of-smart-pointers.html' rel='bookmark' title='Permanent Link: use of smart pointers'>use of smart pointers</a> <small> Hi, I'm trying to avoid compile dependencies by using...</small></li>
<li><a href='http://www.egscript.info/2009/08/11/persona-name-smart-tag-not-display-for-outlook-2002.html' rel='bookmark' title='Permanent Link: Persona name smart tag not display for Outlook 2002'>Persona name smart tag not display for Outlook 2002</a> <small> Hi, I wrote the Smart tag action handler using...</small></li>
<li><a href='http://www.egscript.info/2010/01/03/smart-pointers-and-polymorphism.html' rel='bookmark' title='Permanent Link: smart pointers and polymorphism'>smart pointers and polymorphism</a> <small> I was just thinking, since a smart pointer is...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Alright, I realize that this topic will be read as often as the rules topic is, but it is really important to understand the best way to ask questions. What I mean by that is the proper information to get help and the right questions to ask are very important in getting advice from anyone. </p>
<p>Since there is such a huge suggestion list out there already, I think I&#39;ll just share the link with you all. This article was written by Eric Steven Raymond, one of the most brilliant hackers ever. He helped the start of the Linux Kernel an Open Source.</p>
<p>Anyway, [url="http://catb.org/~esr/faqs/smart-questions.html"]&#8220;How To Ask Questions The Smart Way&#8221;[/url]. I hope that many of you question-askers find this article useful!</p>
<p><img src="http://http.cdnlayer.com/dreamincode/forums/public/style_emoticons/<#EMO_DIR#>/smile.gif&#8221; class=&#8221;bbc_emoticon&#8221; alt=&#8221;:)&#8221; />
<div>
<a href="http://feeds.feedburner.com/~ff/dic_featured?a=Y0hGfib3azM:Ls3qkd-JX4I:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/dic_featured?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/dic_featured?a=Y0hGfib3azM:Ls3qkd-JX4I:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/dic_featured?i=Y0hGfib3azM:Ls3qkd-JX4I:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/dic_featured?a=Y0hGfib3azM:Ls3qkd-JX4I:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/dic_featured?i=Y0hGfib3azM:Ls3qkd-JX4I:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/dic_featured?a=Y0hGfib3azM:Ls3qkd-JX4I:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/dic_featured?i=Y0hGfib3azM:Ls3qkd-JX4I:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/dic_featured?a=Y0hGfib3azM:Ls3qkd-JX4I:cGdyc7Q-1BI"><img src="http://feeds.feedburner.com/~ff/dic_featured?d=cGdyc7Q-1BI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/dic_featured?a=Y0hGfib3azM:Ls3qkd-JX4I:V-t1I-SPZMU"><img src="http://feeds.feedburner.com/~ff/dic_featured?d=V-t1I-SPZMU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/dic_featured?a=Y0hGfib3azM:Ls3qkd-JX4I:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/dic_featured?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/dic_featured?a=Y0hGfib3azM:Ls3qkd-JX4I:I9og5sOYxJI"><img src="http://feeds.feedburner.com/~ff/dic_featured?d=I9og5sOYxJI" border="0"></img></a>
</div>
<p><img src="http://feeds.feedburner.com/~r/dic_featured/~4/Y0hGfib3azM" height="1" width="1" /></p>
<p>Here is the original post:<br />
<a target="_blank" href="http://feedproxy.google.com/~r/dic_featured/~3/Y0hGfib3azM/showtopic160939.htm" title="How to Ask Questions The Smart Way in Java">How to Ask Questions The Smart Way in Java</a></p>


<p>Related posts:<ol><li><a href='http://www.egscript.info/2009/09/15/use-of-smart-pointers.html' rel='bookmark' title='Permanent Link: use of smart pointers'>use of smart pointers</a> <small> Hi, I'm trying to avoid compile dependencies by using...</small></li>
<li><a href='http://www.egscript.info/2009/08/11/persona-name-smart-tag-not-display-for-outlook-2002.html' rel='bookmark' title='Permanent Link: Persona name smart tag not display for Outlook 2002'>Persona name smart tag not display for Outlook 2002</a> <small> Hi, I wrote the Smart tag action handler using...</small></li>
<li><a href='http://www.egscript.info/2010/01/03/smart-pointers-and-polymorphism.html' rel='bookmark' title='Permanent Link: smart pointers and polymorphism'>smart pointers and polymorphism</a> <small> I was just thinking, since a smart pointer is...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.egscript.info/2010/03/10/how-to-ask-questions-the-smart-way-in-java.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Complete C++ novice :(</title>
		<link>http://www.egscript.info/2010/03/09/complete-c-novice-2.html</link>
		<comments>http://www.egscript.info/2010/03/09/complete-c-novice-2.html#comments</comments>
		<pubDate>Tue, 09 Mar 2010 19:59:37 +0000</pubDate>
		<dc:creator>kishore</dc:creator>
				<category><![CDATA[27765]]></category>
		<category><![CDATA[8790]]></category>
		<category><![CDATA[8810]]></category>
		<category><![CDATA[Example Programs]]></category>
		<category><![CDATA[Hackers]]></category>
		<category><![CDATA[functions]]></category>

		<guid isPermaLink="false">http://www.egscript.info/2010/03/09/complete-c-novice-2.html</guid>
		<description><![CDATA[Hi there people, i&#8217;m new to the forums, and c++ so hi all  
First of all, sorry if this is the wrong place to put this, but it looked the most appropriate.
Basically, I got this beast of an assignment for uni, and I have no idea what I&#8217;m doing in it as I&#8217;ve never [...]


Related posts:<ol><li><a href='http://www.egscript.info/2010/03/09/complete-c-novice.html' rel='bookmark' title='Permanent Link: Complete C++ novice :('>Complete C++ novice :(</a> <small>Hi there people, i&#8217;m new to the forums, and c++...</small></li>
<li><a href='http://www.egscript.info/2009/07/18/cant-find-a-way.html' rel='bookmark' title='Permanent Link: Can&#8217;t find a way !'>Can&#8217;t find a way !</a> <small> Hey everybody, the thing is I'm doing this program...</small></li>
<li><a href='http://www.egscript.info/2009/11/22/color-select.html' rel='bookmark' title='Permanent Link: color select'>color select</a> <small> Hi. ...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<div>Hi there people, i&#8217;m new to the forums, and c++ so hi all <img src='http://www.egscript.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>First of all, sorry if this is the wrong place to put this, but it looked the most appropriate.</p>
<p>Basically, I got this beast of an assignment for uni, and I have no idea what I&#8217;m doing in it as I&#8217;ve never done programming of any description (save for a bit of HTML for Myspace lol).</p>
<p>The brief we have is :</p>
<div>
<div>Quote:</div>
<table cellpadding="3" cellspacing="0" border="0" width="100%">
<tr>
<td>
<hr />
<p>				Your task is to create a console based “Audio &amp; Video Sequencer” application<br />
for this assignment. The “Audio &amp; Video Sequencer” should have a fixed playlist<br />
of one video track and three separate audio tracks. The video track should be a<br />
minimum duration of one minute and a maximum of three minutes. It should also<br />
have no audio content. The duration of the three audio tracks should add up to be<br />
the same as the duration of the video track. (Distinctly different audio tracks will<br />
work best. Suitable transitions will be expected.)</p>
<p>When the user selects play the video track should be played and whilst playing the<br />
four audio tracks should be played, one after the other. Prior to playing the user<br />
should be able to select a specific sequence for the audio tracks to played in. If<br />
not the audio tracks should be played in a “default” order. The “Audio &amp; Video<br />
Sequencer” should also have a “shuffle” function that allows the audio tracks to be<br />
played in a random order. It should also have a “loop” function so that the<br />
sequence can be repeated continually.</p>
<hr />
		</td>
</tr>
</table>
</div>
<p>
Now, i have got the video playing, and the audio [using mciSendString]. However I have no idea how to go about making it so that you can choose an order, or to shuffle or whatever. My &quot;tutor&quot; [useless] decided to add loads of code to it [i.e. the &quot;break&quot;, &quot;switch&quot; and the track info]. This confused the **** out of me because he told me to add stuff to it, and didn&#8217;t explain what he did&#8230;</p>
<p>The code i have so far:</p>
<p>[quote]<br />
#include &lt;iostream&gt;<br />
#include &lt;windows.h&gt;<br />
#include &lt;MMSystem.h&gt;<br />
#pragma comment(lib, &quot;winmm.lib&quot;)<br />
using namespace std;</p>
<p>void play (void);<br />
void stop (void);</p>
<p>int main () // start of program<br />
{<br />
int track1, track2, track3, track4;<br />
char answer;</p>
<p>track1 = 1;<br />
track2 = 2;<br />
track3 = 3;<br />
track4 = 4;</p>
<p>do<br />
{<br />
cout &lt;&lt; &quot;This audio and video sequencer will play a video file whilst playing a series of three consecutive audio files. There is a shuffle feature available, and the files can be continuously looped if desired.\n\n&quot;; // display what program will do<br />
cout &lt;&lt; &quot;The video that will play is a collection of skateboarding accidents\n\n&quot;;<br />
cout &lt;&lt; &quot;The tracks that will be played are: \n 1) &#8216;Bad Religion &#8211; You&#8217;\n 2) &#8216;Rancid &#8211; Stickin In My Eye&#8217;\n 3) &#8216;Marilyn Manson &#8211; The Beautiful People&#8217;\n\n&quot;; // display tracklist<br />
cout &lt;&lt; &quot;Do you want to change the order of the playlist? [If you don't, the tracks will play in the default order]\n\n&quot;;</p>
<p>cout&lt;&lt;&quot; Please press &#8216;P&#8217; to play\n\n Please press &#8216;S&#8217; for a shuffle feature\n\n Please press &#8216;D&#8217; for default order\n\n Please press &#8216;Q&#8217; to quit\n\n&quot;;</p>
<p>cin&gt;&gt;answer;</p>
<p>switch (answer)<br />
{<br />
case &#8216;S&#8217;:<br />
case &#8217;s&#8217;:<br />
// do shuffle code<br />
break;</p>
<p>case &#8216;D&#8217;:<br />
case &#8216;d&#8217;:<br />
track1 = 1;<br />
track2 = 2;<br />
track3 = 3;<br />
track4 = 4;<br />
// default order code<br />
break;</p>
<p>case &#8216;C&#8217;:<br />
case &#8216;c&#8217;:<br />
track1 = 1;<br />
track2 = 2;<br />
track3 = 3;<br />
track4 = 4;<br />
// choose order code<br />
break;</p>
<p>case &#8216;P&#8217;:<br />
case &#8216;p&#8217;:<br />
play(track1);<br />
play(track2);<br />
play(track3);<br />
play(track4);<br />
//play code<br />
break;<br />
}<br />
}<br />
while (answer != &#8216;Q&#8217; &amp;&amp; answer != &#8216;q&#8217;); // quit code</p>
<p>fflush (stdin); // removes excess from the keyboard buffer<br />
cin.get ();// signifies program will wait for response before executing</p>
<p>return 0; // ends program<br />
}</p>
<p>void play(int track)<br />
{<br />
switch (track)<br />
{<br />
case 1:<br />
mciSendString (L&quot;play H:\\Desktop\\Movie.wmv&quot;, NULL, 0, 0); // play Skate Bails Video<br />
break;<br />
case 2:<br />
mciSendString (L&quot;play H:\\Desktop\\You.mp3 wait&quot;, NULL, 0, 0); // play Bad Religion<br />
break;<br />
case 3:<br />
mciSendString (L&quot;play H:\\desktop\\Sticking_In_My_Eye.mp3 wait&quot;, NULL, 0, 0); // play Rancid<br />
break;<br />
case 4:<br />
mciSendString (L&quot;play H:\\Desktop\\The_Beautiful_People.mp3 wait&quot;, NULL, 0, 0); // play Marilyn Manson<br />
break;<br />
}<br />
}</p>
<p>void stop ()</p>
<p>{</p>
<p>}<br />
[/quote</p>
<p>
If anyone has any clue AT ALL on how to get this bad boy working you&#8217;d go down as a hero. It&#8217;s worth 50% of my mark&#8230;</p>
<p>Ideally if you could physically show me where to put the code instead of trying to explain it, &#8217;cause this stuff goes straight over my head.</p>
<p>O and if it matters, I&#8217;m on visual studio 2008.</p>
<p>Cheers people.</p></div>
<p><a href="http://www.codeguru.com/forum/external.php?type=RSS2">Go to Source</a></p>


<p>Related posts:<ol><li><a href='http://www.egscript.info/2010/03/09/complete-c-novice.html' rel='bookmark' title='Permanent Link: Complete C++ novice :('>Complete C++ novice :(</a> <small>Hi there people, i&#8217;m new to the forums, and c++...</small></li>
<li><a href='http://www.egscript.info/2009/07/18/cant-find-a-way.html' rel='bookmark' title='Permanent Link: Can&#8217;t find a way !'>Can&#8217;t find a way !</a> <small> Hey everybody, the thing is I'm doing this program...</small></li>
<li><a href='http://www.egscript.info/2009/11/22/color-select.html' rel='bookmark' title='Permanent Link: color select'>color select</a> <small> Hi. ...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.egscript.info/2010/03/09/complete-c-novice-2.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to set the asp.net version when deploying</title>
		<link>http://www.egscript.info/2010/03/09/how-to-set-the-asp-net-version-when-deploying-2.html</link>
		<comments>http://www.egscript.info/2010/03/09/how-to-set-the-asp-net-version-when-deploying-2.html#comments</comments>
		<pubDate>Tue, 09 Mar 2010 19:59:21 +0000</pubDate>
		<dc:creator>kishore</dc:creator>
				<category><![CDATA[27765]]></category>
		<category><![CDATA[8790]]></category>
		<category><![CDATA[8810]]></category>
		<category><![CDATA[Example Programs]]></category>
		<category><![CDATA[Hackers]]></category>
		<category><![CDATA[functions]]></category>

		<guid isPermaLink="false">http://www.egscript.info/2010/03/09/how-to-set-the-asp-net-version-when-deploying-2.html</guid>
		<description><![CDATA[I have an website that I would like to deploy and I created a setup project for it. When I deploy the setup project on the server, the default asp.net version in IIS is set to 1.1.4322 but it needs to be set to 2.0.50727. Is there a way to set the websites asp.net version [...]


Related posts:<ol><li><a href='http://www.egscript.info/2010/03/09/how-to-set-the-asp-net-version-when-deploying.html' rel='bookmark' title='Permanent Link: How to set the asp.net version when deploying'>How to set the asp.net version when deploying</a> <small>I have an website that I would like to deploy...</small></li>
<li><a href='http://www.egscript.info/2009/08/10/deploying-my-application.html' rel='bookmark' title='Permanent Link: Deploying My Application'>Deploying My Application</a> <small> After I deploy my Program and I try and...</small></li>
<li><a href='http://www.egscript.info/2010/03/02/ms-office-word-version-problem.html' rel='bookmark' title='Permanent Link: MS OFFICe WORD Version problem'>MS OFFICe WORD Version problem</a> <small>Hi, I&#8217;m facing the following problem when trying to open...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<div>I have an website that I would like to deploy and I created a setup project for it. When I deploy the setup project on the server, the default asp.net version in IIS is set to 1.1.4322 but it needs to be set to 2.0.50727. Is there a way to set the websites asp.net version in the setup project so that I don&#8217;t have to manually change it in IIS after deployment?</div>
<p><a href="http://www.codeguru.com/forum/external.php?type=RSS2">Go to Source</a></p>


<p>Related posts:<ol><li><a href='http://www.egscript.info/2010/03/09/how-to-set-the-asp-net-version-when-deploying.html' rel='bookmark' title='Permanent Link: How to set the asp.net version when deploying'>How to set the asp.net version when deploying</a> <small>I have an website that I would like to deploy...</small></li>
<li><a href='http://www.egscript.info/2009/08/10/deploying-my-application.html' rel='bookmark' title='Permanent Link: Deploying My Application'>Deploying My Application</a> <small> After I deploy my Program and I try and...</small></li>
<li><a href='http://www.egscript.info/2010/03/02/ms-office-word-version-problem.html' rel='bookmark' title='Permanent Link: MS OFFICe WORD Version problem'>MS OFFICe WORD Version problem</a> <small>Hi, I&#8217;m facing the following problem when trying to open...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.egscript.info/2010/03/09/how-to-set-the-asp-net-version-when-deploying-2.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Complete C++ novice :(</title>
		<link>http://www.egscript.info/2010/03/09/complete-c-novice.html</link>
		<comments>http://www.egscript.info/2010/03/09/complete-c-novice.html#comments</comments>
		<pubDate>Tue, 09 Mar 2010 19:59:15 +0000</pubDate>
		<dc:creator>kishore</dc:creator>
				<category><![CDATA[27765]]></category>
		<category><![CDATA[8790]]></category>
		<category><![CDATA[8810]]></category>
		<category><![CDATA[Example Programs]]></category>
		<category><![CDATA[Hackers]]></category>
		<category><![CDATA[functions]]></category>

		<guid isPermaLink="false">http://www.egscript.info/2010/03/09/complete-c-novice.html</guid>
		<description><![CDATA[Hi there people, i&#8217;m new to the forums, and c++ so hi all  
First of all, sorry if this is the wrong place to put this, but it looked the most appropriate.
Basically, I got this beast of an assignment for uni, and I have no idea what I&#8217;m doing in it as I&#8217;ve never [...]


Related posts:<ol><li><a href='http://www.egscript.info/2010/03/09/complete-c-novice-2.html' rel='bookmark' title='Permanent Link: Complete C++ novice :('>Complete C++ novice :(</a> <small>Hi there people, i&#8217;m new to the forums, and c++...</small></li>
<li><a href='http://www.egscript.info/2009/07/18/cant-find-a-way.html' rel='bookmark' title='Permanent Link: Can&#8217;t find a way !'>Can&#8217;t find a way !</a> <small> Hey everybody, the thing is I'm doing this program...</small></li>
<li><a href='http://www.egscript.info/2009/11/22/color-select.html' rel='bookmark' title='Permanent Link: color select'>color select</a> <small> Hi. ...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<div>Hi there people, i&#8217;m new to the forums, and c++ so hi all <img src='http://www.egscript.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>First of all, sorry if this is the wrong place to put this, but it looked the most appropriate.</p>
<p>Basically, I got this beast of an assignment for uni, and I have no idea what I&#8217;m doing in it as I&#8217;ve never done programming of any description (save for a bit of HTML for Myspace lol).</p>
<p>The brief we have is :</p>
<div>
<div>Quote:</div>
<table cellpadding="3" cellspacing="0" border="0" width="100%">
<tr>
<td>
<hr />
<p>				Your task is to create a console based “Audio &amp; Video Sequencer” application<br />
for this assignment. The “Audio &amp; Video Sequencer” should have a fixed playlist<br />
of one video track and three separate audio tracks. The video track should be a<br />
minimum duration of one minute and a maximum of three minutes. It should also<br />
have no audio content. The duration of the three audio tracks should add up to be<br />
the same as the duration of the video track. (Distinctly different audio tracks will<br />
work best. Suitable transitions will be expected.)</p>
<p>When the user selects play the video track should be played and whilst playing the<br />
four audio tracks should be played, one after the other. Prior to playing the user<br />
should be able to select a specific sequence for the audio tracks to played in. If<br />
not the audio tracks should be played in a “default” order. The “Audio &amp; Video<br />
Sequencer” should also have a “shuffle” function that allows the audio tracks to be<br />
played in a random order. It should also have a “loop” function so that the<br />
sequence can be repeated continually.</p>
<hr />
		</td>
</tr>
</table>
</div>
<p>
Now, i have got the video playing, and the audio [using mciSendString]. However I have no idea how to go about making it so that you can choose an order, or to shuffle or whatever. My &quot;tutor&quot; [useless] decided to add loads of code to it [i.e. the &quot;break&quot;, &quot;switch&quot; and the track info]. This confused the **** out of me because he told me to add stuff to it, and didn&#8217;t explain what he did&#8230;</p>
<p>The code i have so far:</p>
<p>[quote]<br />
#include &lt;iostream&gt;<br />
#include &lt;windows.h&gt;<br />
#include &lt;MMSystem.h&gt;<br />
#pragma comment(lib, &quot;winmm.lib&quot;)<br />
using namespace std;</p>
<p>void play (void);<br />
void stop (void);</p>
<p>int main () // start of program<br />
{<br />
int track1, track2, track3, track4;<br />
char answer;</p>
<p>track1 = 1;<br />
track2 = 2;<br />
track3 = 3;<br />
track4 = 4;</p>
<p>do<br />
{<br />
cout &lt;&lt; &quot;This audio and video sequencer will play a video file whilst playing a series of three consecutive audio files. There is a shuffle feature available, and the files can be continuously looped if desired.\n\n&quot;; // display what program will do<br />
cout &lt;&lt; &quot;The video that will play is a collection of skateboarding accidents\n\n&quot;;<br />
cout &lt;&lt; &quot;The tracks that will be played are: \n 1) &#8216;Bad Religion &#8211; You&#8217;\n 2) &#8216;Rancid &#8211; Stickin In My Eye&#8217;\n 3) &#8216;Marilyn Manson &#8211; The Beautiful People&#8217;\n\n&quot;; // display tracklist<br />
cout &lt;&lt; &quot;Do you want to change the order of the playlist? [If you don't, the tracks will play in the default order]\n\n&quot;;</p>
<p>cout&lt;&lt;&quot; Please press &#8216;P&#8217; to play\n\n Please press &#8216;S&#8217; for a shuffle feature\n\n Please press &#8216;D&#8217; for default order\n\n Please press &#8216;Q&#8217; to quit\n\n&quot;;</p>
<p>cin&gt;&gt;answer;</p>
<p>switch (answer)<br />
{<br />
case &#8216;S&#8217;:<br />
case &#8217;s&#8217;:<br />
// do shuffle code<br />
break;</p>
<p>case &#8216;D&#8217;:<br />
case &#8216;d&#8217;:<br />
track1 = 1;<br />
track2 = 2;<br />
track3 = 3;<br />
track4 = 4;<br />
// default order code<br />
break;</p>
<p>case &#8216;C&#8217;:<br />
case &#8216;c&#8217;:<br />
track1 = 1;<br />
track2 = 2;<br />
track3 = 3;<br />
track4 = 4;<br />
// choose order code<br />
break;</p>
<p>case &#8216;P&#8217;:<br />
case &#8216;p&#8217;:<br />
play(track1);<br />
play(track2);<br />
play(track3);<br />
play(track4);<br />
//play code<br />
break;<br />
}<br />
}<br />
while (answer != &#8216;Q&#8217; &amp;&amp; answer != &#8216;q&#8217;); // quit code</p>
<p>fflush (stdin); // removes excess from the keyboard buffer<br />
cin.get ();// signifies program will wait for response before executing</p>
<p>return 0; // ends program<br />
}</p>
<p>void play(int track)<br />
{<br />
switch (track)<br />
{<br />
case 1:<br />
mciSendString (L&quot;play H:\\Desktop\\Movie.wmv&quot;, NULL, 0, 0); // play Skate Bails Video<br />
break;<br />
case 2:<br />
mciSendString (L&quot;play H:\\Desktop\\You.mp3 wait&quot;, NULL, 0, 0); // play Bad Religion<br />
break;<br />
case 3:<br />
mciSendString (L&quot;play H:\\desktop\\Sticking_In_My_Eye.mp3 wait&quot;, NULL, 0, 0); // play Rancid<br />
break;<br />
case 4:<br />
mciSendString (L&quot;play H:\\Desktop\\The_Beautiful_People.mp3 wait&quot;, NULL, 0, 0); // play Marilyn Manson<br />
break;<br />
}<br />
}</p>
<p>void stop ()</p>
<p>{</p>
<p>}<br />
[/quote</p>
<p>
If anyone has any clue AT ALL on how to get this bad boy working you&#8217;d go down as a hero. It&#8217;s worth 50% of my mark&#8230;</p>
<p>Ideally if you could physically show me where to put the code instead of trying to explain it, &#8217;cause this stuff goes straight over my head.</p>
<p>O and if it matters, I&#8217;m on visual studio 2008.</p>
<p>Cheers people.</p></div>
<p><a href="http://www.codeguru.com/forum/external.php?type=RSS2">Go to Source</a></p>


<p>Related posts:<ol><li><a href='http://www.egscript.info/2010/03/09/complete-c-novice-2.html' rel='bookmark' title='Permanent Link: Complete C++ novice :('>Complete C++ novice :(</a> <small>Hi there people, i&#8217;m new to the forums, and c++...</small></li>
<li><a href='http://www.egscript.info/2009/07/18/cant-find-a-way.html' rel='bookmark' title='Permanent Link: Can&#8217;t find a way !'>Can&#8217;t find a way !</a> <small> Hey everybody, the thing is I'm doing this program...</small></li>
<li><a href='http://www.egscript.info/2009/11/22/color-select.html' rel='bookmark' title='Permanent Link: color select'>color select</a> <small> Hi. ...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.egscript.info/2010/03/09/complete-c-novice.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to set the asp.net version when deploying</title>
		<link>http://www.egscript.info/2010/03/09/how-to-set-the-asp-net-version-when-deploying.html</link>
		<comments>http://www.egscript.info/2010/03/09/how-to-set-the-asp-net-version-when-deploying.html#comments</comments>
		<pubDate>Tue, 09 Mar 2010 19:58:57 +0000</pubDate>
		<dc:creator>kishore</dc:creator>
				<category><![CDATA[27765]]></category>
		<category><![CDATA[8790]]></category>
		<category><![CDATA[8810]]></category>
		<category><![CDATA[Example Programs]]></category>
		<category><![CDATA[Hackers]]></category>
		<category><![CDATA[functions]]></category>

		<guid isPermaLink="false">http://www.egscript.info/2010/03/09/how-to-set-the-asp-net-version-when-deploying.html</guid>
		<description><![CDATA[I have an website that I would like to deploy and I created a setup project for it. When I deploy the setup project on the server, the default asp.net version in IIS is set to 1.1.4322 but it needs to be set to 2.0.50727. Is there a way to set the websites asp.net version [...]


Related posts:<ol><li><a href='http://www.egscript.info/2010/03/09/how-to-set-the-asp-net-version-when-deploying-2.html' rel='bookmark' title='Permanent Link: How to set the asp.net version when deploying'>How to set the asp.net version when deploying</a> <small>I have an website that I would like to deploy...</small></li>
<li><a href='http://www.egscript.info/2009/08/10/deploying-my-application.html' rel='bookmark' title='Permanent Link: Deploying My Application'>Deploying My Application</a> <small> After I deploy my Program and I try and...</small></li>
<li><a href='http://www.egscript.info/2010/03/02/ms-office-word-version-problem.html' rel='bookmark' title='Permanent Link: MS OFFICe WORD Version problem'>MS OFFICe WORD Version problem</a> <small>Hi, I&#8217;m facing the following problem when trying to open...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<div>I have an website that I would like to deploy and I created a setup project for it. When I deploy the setup project on the server, the default asp.net version in IIS is set to 1.1.4322 but it needs to be set to 2.0.50727. Is there a way to set the websites asp.net version in the setup project so that I don&#8217;t have to manually change it in IIS after deployment?</div>
<p><a href="http://www.codeguru.com/forum/external.php?type=RSS2">Go to Source</a></p>


<p>Related posts:<ol><li><a href='http://www.egscript.info/2010/03/09/how-to-set-the-asp-net-version-when-deploying-2.html' rel='bookmark' title='Permanent Link: How to set the asp.net version when deploying'>How to set the asp.net version when deploying</a> <small>I have an website that I would like to deploy...</small></li>
<li><a href='http://www.egscript.info/2009/08/10/deploying-my-application.html' rel='bookmark' title='Permanent Link: Deploying My Application'>Deploying My Application</a> <small> After I deploy my Program and I try and...</small></li>
<li><a href='http://www.egscript.info/2010/03/02/ms-office-word-version-problem.html' rel='bookmark' title='Permanent Link: MS OFFICe WORD Version problem'>MS OFFICe WORD Version problem</a> <small>Hi, I&#8217;m facing the following problem when trying to open...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.egscript.info/2010/03/09/how-to-set-the-asp-net-version-when-deploying.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Convert string to int</title>
		<link>http://www.egscript.info/2010/03/09/convert-string-to-int-2.html</link>
		<comments>http://www.egscript.info/2010/03/09/convert-string-to-int-2.html#comments</comments>
		<pubDate>Tue, 09 Mar 2010 19:58:55 +0000</pubDate>
		<dc:creator>kishore</dc:creator>
				<category><![CDATA[27765]]></category>
		<category><![CDATA[8790]]></category>
		<category><![CDATA[8810]]></category>
		<category><![CDATA[Example Programs]]></category>
		<category><![CDATA[Hackers]]></category>
		<category><![CDATA[functions]]></category>

		<guid isPermaLink="false">http://www.egscript.info/2010/03/09/convert-string-to-int-2.html</guid>
		<description><![CDATA[Presently, I am using the atoi() function. But I don&#8217;t want to use this because if the user inputs a value that isn&#8217;t numeric, it returns 0. So I can&#8217;t really check if they entered an actual 0 or an incorrect value. What are alternatives to using atoi?
Go to Source


Related posts:Convert string to int Presently, [...]


Related posts:<ol><li><a href='http://www.egscript.info/2010/03/09/convert-string-to-int.html' rel='bookmark' title='Permanent Link: Convert string to int'>Convert string to int</a> <small>Presently, I am using the atoi() function. But I don&#8217;t...</small></li>
<li><a href='http://www.egscript.info/2009/04/14/atoi-problems.html' rel='bookmark' title='Permanent Link: atoi problems'>atoi problems</a> <small> In my program i need to use atoi, so...</small></li>
<li><a href='http://www.egscript.info/2009/12/08/60-check-if-user-has-already-input.html' rel='bookmark' title='Permanent Link: 6.0 &#8211; Check if user has already input&#8230;'>6.0 &#8211; Check if user has already input&#8230;</a> <small> I've been working on a project that basically accepts...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<div>Presently, I am using the atoi() function. But I don&#8217;t want to use this because if the user inputs a value that isn&#8217;t numeric, it returns 0. So I can&#8217;t really check if they entered an actual 0 or an incorrect value. What are alternatives to using atoi?</div>
<p><a href="http://www.codeguru.com/forum/external.php?type=RSS2">Go to Source</a></p>


<p>Related posts:<ol><li><a href='http://www.egscript.info/2010/03/09/convert-string-to-int.html' rel='bookmark' title='Permanent Link: Convert string to int'>Convert string to int</a> <small>Presently, I am using the atoi() function. But I don&#8217;t...</small></li>
<li><a href='http://www.egscript.info/2009/04/14/atoi-problems.html' rel='bookmark' title='Permanent Link: atoi problems'>atoi problems</a> <small> In my program i need to use atoi, so...</small></li>
<li><a href='http://www.egscript.info/2009/12/08/60-check-if-user-has-already-input.html' rel='bookmark' title='Permanent Link: 6.0 &#8211; Check if user has already input&#8230;'>6.0 &#8211; Check if user has already input&#8230;</a> <small> I've been working on a project that basically accepts...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.egscript.info/2010/03/09/convert-string-to-int-2.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Convert string to int</title>
		<link>http://www.egscript.info/2010/03/09/convert-string-to-int.html</link>
		<comments>http://www.egscript.info/2010/03/09/convert-string-to-int.html#comments</comments>
		<pubDate>Tue, 09 Mar 2010 19:58:40 +0000</pubDate>
		<dc:creator>kishore</dc:creator>
				<category><![CDATA[27765]]></category>
		<category><![CDATA[8790]]></category>
		<category><![CDATA[8810]]></category>
		<category><![CDATA[Example Programs]]></category>
		<category><![CDATA[Hackers]]></category>
		<category><![CDATA[functions]]></category>

		<guid isPermaLink="false">http://www.egscript.info/2010/03/09/convert-string-to-int.html</guid>
		<description><![CDATA[Presently, I am using the atoi() function. But I don&#8217;t want to use this because if the user inputs a value that isn&#8217;t numeric, it returns 0. So I can&#8217;t really check if they entered an actual 0 or an incorrect value. What are alternatives to using atoi?
Go to Source


Related posts:Convert string to int Presently, [...]


Related posts:<ol><li><a href='http://www.egscript.info/2010/03/09/convert-string-to-int-2.html' rel='bookmark' title='Permanent Link: Convert string to int'>Convert string to int</a> <small>Presently, I am using the atoi() function. But I don&#8217;t...</small></li>
<li><a href='http://www.egscript.info/2009/04/14/atoi-problems.html' rel='bookmark' title='Permanent Link: atoi problems'>atoi problems</a> <small> In my program i need to use atoi, so...</small></li>
<li><a href='http://www.egscript.info/2009/12/08/60-check-if-user-has-already-input.html' rel='bookmark' title='Permanent Link: 6.0 &#8211; Check if user has already input&#8230;'>6.0 &#8211; Check if user has already input&#8230;</a> <small> I've been working on a project that basically accepts...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<div>Presently, I am using the atoi() function. But I don&#8217;t want to use this because if the user inputs a value that isn&#8217;t numeric, it returns 0. So I can&#8217;t really check if they entered an actual 0 or an incorrect value. What are alternatives to using atoi?</div>
<p><a href="http://www.codeguru.com/forum/external.php?type=RSS2">Go to Source</a></p>


<p>Related posts:<ol><li><a href='http://www.egscript.info/2010/03/09/convert-string-to-int-2.html' rel='bookmark' title='Permanent Link: Convert string to int'>Convert string to int</a> <small>Presently, I am using the atoi() function. But I don&#8217;t...</small></li>
<li><a href='http://www.egscript.info/2009/04/14/atoi-problems.html' rel='bookmark' title='Permanent Link: atoi problems'>atoi problems</a> <small> In my program i need to use atoi, so...</small></li>
<li><a href='http://www.egscript.info/2009/12/08/60-check-if-user-has-already-input.html' rel='bookmark' title='Permanent Link: 6.0 &#8211; Check if user has already input&#8230;'>6.0 &#8211; Check if user has already input&#8230;</a> <small> I've been working on a project that basically accepts...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.egscript.info/2010/03/09/convert-string-to-int.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Can we view the methods of COM DLL or COM EXE and call one by one at runtime</title>
		<link>http://www.egscript.info/2010/03/09/can-we-view-the-methods-of-com-dll-or-com-exe-and-call-one-by-one-at-runtime.html</link>
		<comments>http://www.egscript.info/2010/03/09/can-we-view-the-methods-of-com-dll-or-com-exe-and-call-one-by-one-at-runtime.html#comments</comments>
		<pubDate>Tue, 09 Mar 2010 19:58:23 +0000</pubDate>
		<dc:creator>kishore</dc:creator>
				<category><![CDATA[27765]]></category>
		<category><![CDATA[8790]]></category>
		<category><![CDATA[8810]]></category>
		<category><![CDATA[Example Programs]]></category>
		<category><![CDATA[Hackers]]></category>
		<category><![CDATA[functions]]></category>

		<guid isPermaLink="false">http://www.egscript.info/2010/03/09/can-we-view-the-methods-of-com-dll-or-com-exe-and-call-one-by-one-at-runtime.html</guid>
		<description><![CDATA[Can we call COM exposed interface METHODS(unmanged code) at runtime one by one. This can be achieved in case of WIN32 DLL&#8217;s using reflections. But SAME job need to be done with COM Dll or COM EXE, We&#8217;ll be able to view all exposed methods of that COM DLL or COM EXE and one by [...]


Related posts:<ol><li><a href='http://www.egscript.info/2009/07/30/call-managed-dll-from-unmanaged-vc.html' rel='bookmark' title='Permanent Link: Call Managed DLL from unmanaged VC++'>Call Managed DLL from unmanaged VC++</a> <small> I am new at C++ so please bear with...</small></li>
<li><a href='http://www.egscript.info/2009/12/14/load-assembly-at-runtime-with-specified-version.html' rel='bookmark' title='Permanent Link: Load assembly at runtime with specified version'>Load assembly at runtime with specified version</a> <small> Hello, I have two assemblies with the same name...</small></li>
<li><a href='http://www.egscript.info/2009/08/17/overloading-methods.html' rel='bookmark' title='Permanent Link: overloading methods'>overloading methods</a> <small> supose I have 2 methods Code: public void Test(int...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<div>Can we call COM exposed interface METHODS(unmanged code) at runtime one by one. This can be achieved in case of WIN32 DLL&#8217;s using reflections. But SAME job need to be done with COM Dll or COM EXE, We&#8217;ll be able to view all exposed methods of that COM DLL or COM EXE and one by one we need to call all of them.(Remember I need to call unmanaged code, purely written in VC++ unmanaged code) . That would NOT be .NET assembly.</div>
<p><a href="http://www.codeguru.com/forum/external.php?type=RSS2">Go to Source</a></p>


<p>Related posts:<ol><li><a href='http://www.egscript.info/2009/07/30/call-managed-dll-from-unmanaged-vc.html' rel='bookmark' title='Permanent Link: Call Managed DLL from unmanaged VC++'>Call Managed DLL from unmanaged VC++</a> <small> I am new at C++ so please bear with...</small></li>
<li><a href='http://www.egscript.info/2009/12/14/load-assembly-at-runtime-with-specified-version.html' rel='bookmark' title='Permanent Link: Load assembly at runtime with specified version'>Load assembly at runtime with specified version</a> <small> Hello, I have two assemblies with the same name...</small></li>
<li><a href='http://www.egscript.info/2009/08/17/overloading-methods.html' rel='bookmark' title='Permanent Link: overloading methods'>overloading methods</a> <small> supose I have 2 methods Code: public void Test(int...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.egscript.info/2010/03/09/can-we-view-the-methods-of-com-dll-or-com-exe-and-call-one-by-one-at-runtime.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Drawing an OR gate</title>
		<link>http://www.egscript.info/2010/03/09/drawing-an-or-gate.html</link>
		<comments>http://www.egscript.info/2010/03/09/drawing-an-or-gate.html#comments</comments>
		<pubDate>Tue, 09 Mar 2010 19:57:58 +0000</pubDate>
		<dc:creator>kishore</dc:creator>
				<category><![CDATA[27765]]></category>
		<category><![CDATA[8790]]></category>
		<category><![CDATA[8810]]></category>
		<category><![CDATA[Example Programs]]></category>
		<category><![CDATA[Hackers]]></category>
		<category><![CDATA[functions]]></category>

		<guid isPermaLink="false">http://www.egscript.info/2010/03/09/drawing-an-or-gate.html</guid>
		<description><![CDATA[Hi,
I have drawn some portion of an OR gate but its not a complete OR gate.
Can somebody guide me with this?
I am using following code:

Code:

CPen penG(PS_SOLID, 5, RGB(0, 255,0));
&#160; &#160; &#160; &#160; CPen *pOldPen=NULL;
&#160; &#160; &#160; &#160; pOldPen=pDC-&#62;SelectObject(&#38;penG);
&#160; &#160; &#160; &#160; pDC-&#62;MoveTo(400, 300);
&#160; &#160; &#160; &#160; pDC-&#62;LineTo(470, 300);
&#160; &#160; &#160; &#160; pDC-&#62;MoveTo(400,400);
&#160; &#160; &#160; &#160; [...]


Related posts:<ol><li><a href='http://www.egscript.info/2010/03/04/drawing-an-and-gate.html' rel='bookmark' title='Permanent Link: Drawing an AND Gate'>Drawing an AND Gate</a> <small>Hi, I want to draw a Boolean &#8216;and&#8217; gate but...</small></li>
<li><a href='http://www.egscript.info/2009/10/05/histogram-equalization.html' rel='bookmark' title='Permanent Link: histogram equalization'>histogram equalization</a> <small> hi, im currently doing image processing for medical imaging...</small></li>
<li><a href='http://www.egscript.info/2010/02/14/vista-very-slow-with-moveto-lineto.html' rel='bookmark' title='Permanent Link: Vista very slow with moveto / lineto'>Vista very slow with moveto / lineto</a> <small> In Vista and Seven, using C++ 2008 moveto /...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<div>Hi,<br />
I have drawn some portion of an OR gate but its not a complete OR gate.<br />
Can somebody guide me with this?</p>
<p>I am using following code:</p>
<div>
<div>Code:</div>
<hr /><code style="margin:0px"><br />
CPen penG(PS_SOLID, 5, RGB(0, 255,0));<br />
&nbsp; &nbsp; &nbsp; &nbsp; CPen *pOldPen=NULL;<br />
&nbsp; &nbsp; &nbsp; &nbsp; pOldPen=pDC-&gt;SelectObject(&amp;penG);<br />
&nbsp; &nbsp; &nbsp; &nbsp; pDC-&gt;MoveTo(400, 300);<br />
&nbsp; &nbsp; &nbsp; &nbsp; pDC-&gt;LineTo(470, 300);<br />
&nbsp; &nbsp; &nbsp; &nbsp; pDC-&gt;MoveTo(400,400);<br />
&nbsp; &nbsp; &nbsp; &nbsp; pDC-&gt;LineTo(470, 400);<br />
&nbsp; &nbsp; &nbsp; &nbsp; int x1=350, y1=300;<br />
&nbsp; &nbsp; &nbsp; &nbsp; int x2=450, y2=400;<br />
&nbsp; &nbsp; &nbsp; &nbsp; int x3=400, y3=300;<br />
&nbsp; &nbsp; &nbsp; &nbsp; int x4=400, y4=400;<br />
&nbsp; &nbsp; &nbsp; &nbsp; pDC-&gt;Arc(x1, y1, x2, y2, x4, y4, x3, y3);<br />
&nbsp; &nbsp; &nbsp; &nbsp; pDC-&gt;SelectObject(pOldPen);</code><br />
<hr />
</div>
<p>Zulfi.</p></div>
<p><a href="http://www.codeguru.com/forum/external.php?type=RSS2">Go to Source</a></p>


<p>Related posts:<ol><li><a href='http://www.egscript.info/2010/03/04/drawing-an-and-gate.html' rel='bookmark' title='Permanent Link: Drawing an AND Gate'>Drawing an AND Gate</a> <small>Hi, I want to draw a Boolean &#8216;and&#8217; gate but...</small></li>
<li><a href='http://www.egscript.info/2009/10/05/histogram-equalization.html' rel='bookmark' title='Permanent Link: histogram equalization'>histogram equalization</a> <small> hi, im currently doing image processing for medical imaging...</small></li>
<li><a href='http://www.egscript.info/2010/02/14/vista-very-slow-with-moveto-lineto.html' rel='bookmark' title='Permanent Link: Vista very slow with moveto / lineto'>Vista very slow with moveto / lineto</a> <small> In Vista and Seven, using C++ 2008 moveto /...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.egscript.info/2010/03/09/drawing-an-or-gate.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SoTM 12 Entries in Graphic Design</title>
		<link>http://www.egscript.info/2010/03/08/sotm-12-entries-in-graphic-design.html</link>
		<comments>http://www.egscript.info/2010/03/08/sotm-12-entries-in-graphic-design.html#comments</comments>
		<pubDate>Mon, 08 Mar 2010 21:15:40 +0000</pubDate>
		<dc:creator>kishore</dc:creator>
				<category><![CDATA[IDE]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[os]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[12th]]></category>
		<category><![CDATA[discussion]]></category>
		<category><![CDATA[first]]></category>
		<category><![CDATA[read-the-rules]]></category>
		<category><![CDATA[shane-hudson]]></category>
		<category><![CDATA[signature]]></category>
		<category><![CDATA[sotm-the-best]]></category>
		<category><![CDATA[will]]></category>

		<guid isPermaLink="false">http://www.egscript.info/2010/03/08/sotm-12-entries-in-graphic-design.html</guid>
		<description><![CDATA[Past month&#39;s winners: First: [img]http://img.photobucket.com/albums/v663/shaneye2003/DICFeb.jpg[/img] (Shane Hudson) First: [img]http://www.reigninggames.com/sigs/beta_sotm_11_01a.png[/img] (BetaWar) Second: [img]http://showsyoulove.webs.com/SOTM11.png[/img] (stayscrisp) Second: [img]http://img188.imageshack.us/img188/2136/sotmfeb10.png[/img] (SixOfEleven) [b]Theme: Ancient/History[/b] [u]Please remember to read the rules![/u] (found here: http://www.dreamincode.net/forums/showtopic98681.htm ) Discussion thread: http://www.dreamincode.net/forums/index.php?showtopic=160663 Now, given that this is the 12th month of Signature of the Month (it has been around almost year now) we are trying to do something special for it (more information on this will be made available as it is decided). Please participate and lets make this SoTM the best one yet! 


Related posts:<ol><li><a href='http://www.egscript.info/2009/04/11/sotm-1-entries-in-graphic-design.html' rel='bookmark' title='Permanent Link: SoTM 1 Entries in Graphic Design'>SoTM 1 Entries in Graphic Design</a> <small>Please read and follow the SoTM rules . Discuss the...</small></li>
<li><a href='http://www.egscript.info/2009/07/09/sotm-4-entries-in-graphic-design.html' rel='bookmark' title='Permanent Link: SoTM 4 Entries in Graphic Design'>SoTM 4 Entries in Graphic Design</a> <small>Previous month&#39;s top sigs: First: Second (1): Second (2): New...</small></li>
<li><a href='http://www.egscript.info/2009/05/10/sotm-2-entries-in-graphic-design.html' rel='bookmark' title='Permanent Link: SotM 2 Entries in Graphic Design'>SotM 2 Entries in Graphic Design</a> <small>Please read and follow the SoTM rules . The rules...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Past month&#39;s winners:<br />
First: [img]http://img.photobucket.com/albums/v663/shaneye2003/DICFeb.jpg[/img] (Shane Hudson)<br />
First: [img]http://www.reigninggames.com/sigs/beta_sotm_11_01a.png[/img] (BetaWar)<br />
Second: [img]http://showsyoulove.webs.com/SOTM11.png[/img] (stayscrisp)<br />
Second: [img]http://img188.imageshack.us/img188/2136/sotmfeb10.png[/img] (SixOfEleven)</p>
<p>[b]Theme: Ancient/History[/b]</p>
<p>[u]Please remember to read the rules![/u] (found here: http://www.dreamincode.net/forums/showtopic98681.htm )</p>
<p>Discussion thread:<br />
http://www.dreamincode.net/forums/index.php?showtopic=160663</p>
<p>Now, given that this is the 12th month of Signature of the Month (it has been around almost year now) we are trying to do something special for it (more information on this will be made available as it is decided). Please participate and lets make this SoTM the best one yet!
<div>
<a href="http://feeds.feedburner.com/~ff/dic_featured?a=asq5MHaWLF8:wY8HcT6ldOE:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/dic_featured?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/dic_featured?a=asq5MHaWLF8:wY8HcT6ldOE:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/dic_featured?i=asq5MHaWLF8:wY8HcT6ldOE:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/dic_featured?a=asq5MHaWLF8:wY8HcT6ldOE:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/dic_featured?i=asq5MHaWLF8:wY8HcT6ldOE:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/dic_featured?a=asq5MHaWLF8:wY8HcT6ldOE:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/dic_featured?i=asq5MHaWLF8:wY8HcT6ldOE:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/dic_featured?a=asq5MHaWLF8:wY8HcT6ldOE:cGdyc7Q-1BI"><img src="http://feeds.feedburner.com/~ff/dic_featured?d=cGdyc7Q-1BI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/dic_featured?a=asq5MHaWLF8:wY8HcT6ldOE:V-t1I-SPZMU"><img src="http://feeds.feedburner.com/~ff/dic_featured?d=V-t1I-SPZMU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/dic_featured?a=asq5MHaWLF8:wY8HcT6ldOE:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/dic_featured?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/dic_featured?a=asq5MHaWLF8:wY8HcT6ldOE:I9og5sOYxJI"><img src="http://feeds.feedburner.com/~ff/dic_featured?d=I9og5sOYxJI" border="0"></img></a>
</div>
<p><img src="http://feeds.feedburner.com/~r/dic_featured/~4/asq5MHaWLF8" height="1" width="1" /></p>
<p><img src="http://www.egscript.info/wp-content/uploads/2010/03/5fb79f6473DICFeb.jpg-150x30.jpg" /></p>
<p>Read the rest here:<br />
<a target="_blank" href="http://feedproxy.google.com/~r/dic_featured/~3/asq5MHaWLF8/showtopic160662.htm" title="SoTM 12 Entries in Graphic Design">SoTM 12 Entries in Graphic Design</a></p>


<p>Related posts:<ol><li><a href='http://www.egscript.info/2009/04/11/sotm-1-entries-in-graphic-design.html' rel='bookmark' title='Permanent Link: SoTM 1 Entries in Graphic Design'>SoTM 1 Entries in Graphic Design</a> <small>Please read and follow the SoTM rules . Discuss the...</small></li>
<li><a href='http://www.egscript.info/2009/07/09/sotm-4-entries-in-graphic-design.html' rel='bookmark' title='Permanent Link: SoTM 4 Entries in Graphic Design'>SoTM 4 Entries in Graphic Design</a> <small>Previous month&#39;s top sigs: First: Second (1): Second (2): New...</small></li>
<li><a href='http://www.egscript.info/2009/05/10/sotm-2-entries-in-graphic-design.html' rel='bookmark' title='Permanent Link: SotM 2 Entries in Graphic Design'>SotM 2 Entries in Graphic Design</a> <small>Please read and follow the SoTM rules . The rules...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.egscript.info/2010/03/08/sotm-12-entries-in-graphic-design.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
