<?xml version="1.0" encoding="utf-8"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>DaniWeb IT Discussion Community</title>
		<link>http://www.daniweb.com/forums</link>
		<description>Tech support, programming, web development, and internet marketing community. Forums to get free computer help and support.</description>
		<language>en-US</language>
		<lastBuildDate>Sat, 11 Oct 2008 17:13:10 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://www.daniweb.com/forums/myimages/misc/rss.jpg</url>
			<title>DaniWeb IT Discussion Community</title>
			<link>http://www.daniweb.com/forums</link>
		</image>
		<item>
			<title>for loop and if else statement help</title>
			<link>http://www.daniweb.com/forums/thread150559.html</link>
			<pubDate>Sat, 11 Oct 2008 17:13:07 GMT</pubDate>
			<description><![CDATA[Hi All,

I'm trying to figure out how I canFirst, enter the number of salaries to process: 4

Now enter the 4 salaries to be averaged.

Enter salary #1: 10000
Enter salary #2: 8000
Enter salary #3: -20000
*** Invalid entry. Salary must be positive. ***]]></description>
			<content:encoded><![CDATA[<div>Hi All,<br />
<br />
I'm trying to figure out how I canFirst, enter the number of salaries to process: 4<br />
<br />
Now enter the 4 salaries to be averaged.<br />
<br />
Enter salary #1: 10000<br />
Enter salary #2: 8000<br />
Enter salary #3: -20000<br />
*** Invalid entry. Salary must be positive. ***<br />
Enter salary #3: 25000<br />
Enter salary #4: -3333<br />
*** Invalid entry. Salary must be positive. ***<br />
Enter salary #4: 52000<br />
<br />
The Average of the 4 salaries entered is: $ 23750.00<br />
<br />
The Total of the 4 salaries entered is: $ 95000.0<br />
<br />
Any help would be very appreciated<br />
 test a condition (negative or positive number) and then have it go back into the for loop. What I'm trying to accomplish is if the user enters a negative number the user will get an error and then should be re-prompted for a positive number like this:<br />
<br />
<pre style="margin:20px; line-height:13px"><br />
#include &lt;stdio.h&gt;<br />
<br />
int main(void)<br />
{<br />
<br />
<br />
int i, salary;<br />
int numb_salaries = 0;<br />
int sal_total = 0;<br />
float total = 0;<br />
<br />
<br />
printf(&quot;Welcome to the Employee Calculator Program. \n\n&quot;);<br />
<br />
printf(&quot;This program calculates the average and total of as &quot;);<br />
printf(&quot;many employee salaries as you wish to enter. \n\n&quot;);<br />
<br />
printf(&quot;First, enter the number of salaries to process: &quot;);<br />
scanf (&quot;%i&quot;, &amp;numb_salaries);<br />
<br />
printf(&quot;\nNow enter the salaries to be averaged. \n\n&quot;);<br />
<br />
/* Enter for loop */<br />
<br />
for (i = 1; i &lt;=numb_salaries; ++i)<br />
{<br />
<br />
printf(&quot;Enter salary #%i: &quot;,i);<br />
scanf (&quot;%i&quot;, &amp;salary);<br />
sal_total = sal_total + salary;<br />
<br />
if ( salary &lt; 0 )<br />
salary = -salary;<br />
<br />
printf(&quot;*** Invalid entry. Salary must be positive. *** &quot;);<br />
<br />
<br />
<br />
}<br />
<br />
printf (&quot;Thanks for using the program.\n\n&quot;);<br />
<br />
getchar(); /* Pause output */<br />
<br />
return (0);<br />
}<br />
</pre></div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum118.html">C</category>
			<dc:creator>maker10</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread150559.html</guid>
		</item>
		<item>
			<title>File Appendage, check for duplicate first</title>
			<link>http://www.daniweb.com/forums/thread150558.html</link>
			<pubDate>Sat, 11 Oct 2008 16:54:54 GMT</pubDate>
			<description><![CDATA[Okay, I'm doing some experimenting on file I/O using a user/password access program I'm writing. My problem right now is while the program will append the new user and password, it does so whether or not that user name exists already. I'm not worried about duplicate passwords, but I don't want...]]></description>
			<content:encoded><![CDATA[<div>Okay, I'm doing some experimenting on file I/O using a user/password access program I'm writing. My problem right now is while the program will append the new user and password, it does so whether or not that user name exists already. I'm not worried about duplicate passwords, but I don't want duplicate usernames. My question is, when appending the new username to a data file, how do I check to see if the username variable matches any existing usernames on the file already?<br />
<br />
I wouldn't think my code need be posted on this, but if it is, let me know.<br />
<br />
Thanks in advance for any help you may lend, I've searched for this, but maybe I'm not using the right terminology to find anything useful.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum114.html">Python</category>
			<dc:creator>Andymoore88</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread150558.html</guid>
		</item>
		<item>
			<title>E book on CBL or CAL</title>
			<link>http://www.daniweb.com/forums/thread150557.html</link>
			<pubDate>Sat, 11 Oct 2008 16:44:47 GMT</pubDate>
			<description>Could anyone tell me where can I download a good book on implementing either Computer Based Learning or Computer aided Learning?

Thanks</description>
			<content:encoded><![CDATA[<div>Could anyone tell me where can I download a good book on implementing either Computer Based Learning or Computer aided Learning?<br />
<br />
Thanks</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum14.html">Computer Science and Software Design</category>
			<dc:creator>Alohavik</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread150557.html</guid>
		</item>
		<item>
			<title>Data retrive</title>
			<link>http://www.daniweb.com/forums/thread150556.html</link>
			<pubDate>Sat, 11 Oct 2008 16:39:13 GMT</pubDate>
			<description>Hello sir
          Can u say me how to retrive data from database and showing the result on the html page.well i have created a user DSN named as new then created a database named as DB
n created a table named as information. well i am using sql server 2005.
plz sir send me some code to retrive...</description>
			<content:encoded><![CDATA[<div>Hello sir<br />
          Can u say me how to retrive data from database and showing the result on the html page.well i have created a user DSN named as new then created a database named as DB<br />
n created a table named as information. well i am using sql server 2005.<br />
plz sir send me some code to retrive data from database</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum9.html">Java</category>
			<dc:creator>moharana_jyoti</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread150556.html</guid>
		</item>
		<item>
			<title>disabling built in webcam</title>
			<link>http://www.daniweb.com/forums/thread150555.html</link>
			<pubDate>Sat, 11 Oct 2008 16:25:24 GMT</pubDate>
			<description>The Laptop is an HP 1340ea with a built in webcam and Vista. We are trying to use Sightspeed for video chat and although it seems to work fine on my XP laptop we cannot use it on the HP. At laptop startup a Sightspeed window opens with the message that the webcam is being used by another programme...</description>
			<content:encoded><![CDATA[<div>The Laptop is an HP 1340ea with a built in webcam and Vista. We are trying to use Sightspeed for video chat and although it seems to work fine on my XP laptop we cannot use it on the HP. At laptop startup a Sightspeed window opens with the message that the webcam is being used by another programme which should be closed to allow sightspeed to use the camera.<br />
All I can think of is that the HP Webcam feature is starting at the startup and although the camera is not being used it is 'occupied'<br />
I cannot find anything on the start menu that would seem to be the HP webcam programme<br />
Can anyone give me an idea how to estabish what programme could be in use and how to find it on the start menu to disable it<br />
<br />
Thanks<br />
<br />
Jim</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum107.html">Peripherals</category>
			<dc:creator>jimyboyle</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread150555.html</guid>
		</item>
		<item>
			<title>Get high traffic to your website within 24 hours With Opt In Email Advertising - No S</title>
			<link>http://www.daniweb.com/forums/thread150554.html</link>
			<pubDate>Sat, 11 Oct 2008 16:18:19 GMT</pubDate>
			<description>Hi,

If you are looking for high sales, at low cost, we can ppromote your company.
No spam opt in email advertising for your website.

Just go to www.emailads.biz. 

We are in business since 1997 with lots of repeat customers.

Thank You,</description>
			<content:encoded><![CDATA[<div>Hi,<br />
<br />
If you are looking for high sales, at low cost, we can ppromote your company.<br />
No spam opt in email advertising for your website.<br />
<br />
Just go to <a rel="nofollow" class="t" href="http://www.emailads.biz" target="_blank">www.emailads.biz</a>. <br />
<br />
We are in business since 1997 with lots of repeat customers.<br />
<br />
Thank You,<br />
Emailads.biz</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum65.html">Ad Space for Sale</category>
			<dc:creator>Emailadvertiser</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread150554.html</guid>
		</item>
		<item>
			<title>develop a project for you for free</title>
			<link>http://www.daniweb.com/forums/thread150552.html</link>
			<pubDate>Sat, 11 Oct 2008 16:05:43 GMT</pubDate>
			<description>i am doing HND in computing and i need to develop a software project;
the problem that i have no idea what can i develop.
actually if i can find a real world case or areal customer ,i will develop it for him for free;
but he should not be in harry ;
if anybody has ideas or a real customer or a...</description>
			<content:encoded><![CDATA[<div>i am doing HND in computing and i need to develop a software project;<br />
the problem that i have no idea what can i develop.<br />
actually if i can find a real world case or areal customer ,i will develop it for him for free;<br />
but he should not be in harry ;<br />
if anybody has ideas or a real customer or a company interested please please please tell me ;<br />
thank you all; <i>&lt;&lt;email snipped&gt;&gt;</i></div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum9.html">Java</category>
			<dc:creator>lastmoh1989</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread150552.html</guid>
		</item>
		<item>
			<title>help with driver for external HDD</title>
			<link>http://www.daniweb.com/forums/thread150551.html</link>
			<pubDate>Sat, 11 Oct 2008 15:55:20 GMT</pubDate>
			<description>im trying to install my western digital hard drive on windows 2000</description>
			<content:encoded><![CDATA[<div>im trying to install my western digital hard drive on windows 2000</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum10.html">Windows NT / 2000 / XP / 2003</category>
			<dc:creator>eduardoelguero</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread150551.html</guid>
		</item>
		<item>
			<title><![CDATA[PHP & Flash are driving me insane. HALP PLS?!]]></title>
			<link>http://www.daniweb.com/forums/thread150550.html</link>
			<pubDate>Sat, 11 Oct 2008 15:42:37 GMT</pubDate>
			<description><![CDATA[Hi there.
I've been attempting for a good few months to develop a new webpage at www.mnc99.com.
You can see my current efforts at www.mnc99.com/index.php .

Notice that the movie you will receive (morning, afternoon, evening) depends on the time you access the page. You're more than welcome to...]]></description>
			<content:encoded><![CDATA[<div>Hi there.<br />
I've been attempting for a good few months to develop a new webpage at <a rel="nofollow" class="t" href="http://www.mnc99.com" target="_blank">www.mnc99.com</a>.<br />
You can see my current efforts at <a rel="nofollow" class="t" href="http://www.mnc99.com/index.php" target="_blank">www.mnc99.com/index.php</a> .<br />
<br />
Notice that the movie you will receive (morning, afternoon, evening) depends on the time you access the page. You're more than welcome to inspect my code to see how I did it, but suffice to say it involved a lot of messing around with Javascript and SWFObject. But here is where I think my problems begin.<br />
<br />
If you were to click any of the links besides &quot;Skip Intro&quot; on the flash intro, you'd be presented with a dead click if you were using anything but Internet Explorer. I have attempted to use the page with both Opera (SUPERIAR) and Firefox and have received the same, disappointing results on both.<br />
<br />
The links all work on the movies when I'm viewing them locally, so what gives? Are my browsers employing some form of 'protection' to circumvent a misdiagnosed spam attack? How do I get around it?<br />
<br />
SIMPLE ANSWERS, please! &gt;_&lt; I'm a complete code newbie.<br />
Cheers!<br />
!MNc99</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum17.html">PHP</category>
			<dc:creator>MNc99</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread150550.html</guid>
		</item>
		<item>
			<title>reading a text file to a remote PC</title>
			<link>http://www.daniweb.com/forums/thread150549.html</link>
			<pubDate>Sat, 11 Oct 2008 14:38:05 GMT</pubDate>
			<description><![CDATA[hello everyone!

Anyone has an idea of reading the content of the text file from the remote computer using ASP.Net VB.

I know how to read textfile if it resides in the server but i keep searching on the net on how I can read the data from the textfile but up to now I can't find. Location is fixed,...]]></description>
			<content:encoded><![CDATA[<div>hello everyone!<br />
<br />
Anyone has an idea of reading the content of the text file from the remote computer using ASP.Net VB.<br />
<br />
I know how to read textfile if it resides in the server but i keep searching on the net on how I can read the data from the textfile but up to now I can't find. Location is fixed, example: C:/Directory/Textfile.txt. <br />
That is the location where I am going to pull the data inside the textfile then after reading it will delete the textfile generated.<br />
Anyone has an idea please help. Thanks a lot.<br />
<br />
Regards :)</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>dudegio</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread150549.html</guid>
		</item>
		<item>
			<title><![CDATA[Delphi dictionary [HELP!]]]></title>
			<link>http://www.daniweb.com/forums/thread150548.html</link>
			<pubDate>Sat, 11 Oct 2008 14:18:04 GMT</pubDate>
			<description>Hey, im writing a dictionary in Delphi, and i dont know how to solve 1 problem. How to make Delphi display an explanation for the selected word from the word list? :confused:</description>
			<content:encoded><![CDATA[<div>Hey, im writing a dictionary in Delphi, and i dont know how to solve 1 problem. How to make Delphi display an explanation for the selected word from the word list? :confused:</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum124.html">Pascal and Delphi</category>
			<dc:creator>cheburaska</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread150548.html</guid>
		</item>
		<item>
			<title>Initialization Error</title>
			<link>http://www.daniweb.com/forums/thread150547.html</link>
			<pubDate>Sat, 11 Oct 2008 14:12:50 GMT</pubDate>
			<description>This is my code

import java.lang.Math; 
import java.io.*; 

public class TestDfunction { 

static void fun(float num1, float num2) throws IOException  
        { 
            BufferedReader read = new BufferedReader( new InputStreamReader(System.in));</description>
			<content:encoded><![CDATA[<div>This is my code<br />
<br />
<pre style="margin:20px; line-height:13px">import java.lang.Math; <br />
import java.io.*; <br />
<br />
public class TestDfunction { <br />
<br />
static void fun(float num1, float num2) throws IOException&nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; { <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; BufferedReader read = new BufferedReader( new InputStreamReader(System.in)); <br />
&nbsp; &nbsp; &nbsp; &nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; String strNum1, strNum2; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; System.out.print(&quot;Enter the first number: &quot;);&nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; strNum1 = read.readLine(); <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; num1 = Float.parseFloat(strNum1); <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; System.out.print(&quot;Enter the second number: &quot;); <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; strNum2 = read.readLine(); <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; num2 = Float.parseFloat(strNum2); <br />
&nbsp; &nbsp; &nbsp; &nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; } <br />
<br />
&nbsp;  <br />
static void menu() <br />
{ <br />
&nbsp; &nbsp; &nbsp; &nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; System.out.println(&quot;Please choose the type of operation needs to be computed by pressing the corresponding number: &quot;);<br />
&nbsp; &nbsp; &nbsp; &nbsp; System.out.println(&quot;----------------------------------------------------------------------------------------------&quot;);&nbsp; &nbsp; &nbsp; &nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; System.out.println(&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 1.&nbsp; &nbsp; &nbsp; &nbsp; Addition&quot;); <br />
&nbsp; &nbsp; &nbsp; &nbsp; System.out.println(&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 2.&nbsp; &nbsp; &nbsp; &nbsp; Subtraction&quot;); <br />
&nbsp; &nbsp; &nbsp; &nbsp; System.out.println(&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 3.&nbsp; &nbsp; &nbsp; &nbsp; Multiplication&quot;); <br />
&nbsp; &nbsp; &nbsp; &nbsp; System.out.println(&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 4.&nbsp; &nbsp; &nbsp; &nbsp; Division&quot;); <br />
&nbsp; &nbsp; &nbsp; &nbsp; System.out.println(&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 5.&nbsp; &nbsp; &nbsp; &nbsp; Remainder&quot;); <br />
&nbsp; &nbsp; &nbsp; &nbsp; System.out.println(&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 6.&nbsp; &nbsp; &nbsp; &nbsp; Minimum&quot;); <br />
&nbsp; &nbsp; &nbsp; &nbsp; System.out.println(&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 7.&nbsp; &nbsp; &nbsp; &nbsp; Maximum&quot;); <br />
&nbsp; &nbsp; &nbsp; &nbsp; System.out.println(&quot;----------------------------------------------------------------------------------------------&quot;);&nbsp; &nbsp;  <br />
}&nbsp; &nbsp; &nbsp;  <br />
<br />
&nbsp; &nbsp; public static void main(String[] args) <br />
&nbsp; &nbsp; &nbsp; &nbsp;  <br />
&nbsp; &nbsp; { <br />
&nbsp; &nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; menu();&nbsp; &nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; try{ <br />
&nbsp; &nbsp; &nbsp; &nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; BufferedReader read = new BufferedReader( new InputStreamReader(System.in)); <br />
&nbsp; &nbsp; &nbsp; &nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; float num11, num22; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; String strChoose; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; int choose; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; strChoose = read.readLine(); <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; choose = Integer.parseInt(strChoose); <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; System.out.println(&quot;&quot;); <br />
&nbsp; &nbsp; &nbsp; &nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; while ((choose &lt;1) || (choose &gt;8)) <br />
&nbsp; &nbsp; &nbsp; &nbsp; { <br />
&nbsp; &nbsp; &nbsp; &nbsp; System.out.println(); <br />
&nbsp; &nbsp; &nbsp; &nbsp; System.out.println(&quot;The number you have entered is invalid...&quot;); <br />
&nbsp; &nbsp; &nbsp; &nbsp; menu(); <br />
&nbsp; &nbsp; &nbsp; &nbsp; strChoose = read.readLine(); <br />
&nbsp; &nbsp; &nbsp; &nbsp; choose = Integer.parseInt(strChoose);&nbsp; &nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; } <br />
&nbsp; &nbsp; &nbsp; &nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; switch (choose) <br />
&nbsp; &nbsp; &nbsp; &nbsp; {&nbsp; &nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; case 1:&nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fun(num11,num22); <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; System.out.println(&quot;The sum is: &quot;+ (num11 + num22)); <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; break; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; case 2:&nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fun(num11,num22); <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; System.out.println(&quot;The diferrence is: &quot; + (num11 - num22)); <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; break; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; case 3: <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fun(num11,num22); <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; System.out.println(&quot;The product is: &quot; + (num11 * num22)); <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; break; <br />
&nbsp; &nbsp; &nbsp; &nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; case 4:&nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fun(num11,num22); <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; System.out.println(&quot;The quotion is: &quot; + (num11 / num22)); <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; break; <br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; case 5:&nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fun(num11,num22); <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; System.out.println(&quot;The remainder is: &quot; + Math.IEEEremainder(num11,num22)); <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; break; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; case 6:&nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fun(num11,num22); <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; System.out.println(&quot;The smaller value is: &quot; + Math.min(num11,num22)); <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; break; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; case 7:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fun(num11,num22); <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; System.out.println(&quot;The greater value is: &quot; + Math.max(num11,num22)); <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; break; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; case 8: <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  System.exit(0);&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; } <br />
&nbsp; &nbsp; &nbsp; &nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }&nbsp; &nbsp; &nbsp; &nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; catch (IOException e) {System.out.println(&quot;IO Error&quot;);} <br />
&nbsp; &nbsp; &nbsp; &nbsp; } <br />
&nbsp; &nbsp; }&nbsp; </pre>
<br />
Errors:<br />
variable num11 might not have been initialized<br />
variable num22 might not have been initialized</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum9.html">Java</category>
			<dc:creator>Batool.Ahmed</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread150547.html</guid>
		</item>
		<item>
			<title>Sara Palin Is a Fraud</title>
			<link>http://www.daniweb.com/forums/thread150543.html</link>
			<pubDate>Sat, 11 Oct 2008 13:37:07 GMT</pubDate>
			<description><![CDATA[I knew there was something fake about that woman.  She's an actress, not a politician.


---Quote---
*On Palin from a fellow Alaskan.*
Like many Alaskans, I resent Palin’s claims that she speaks for all of us, and cringe when she tosses off her stump speech line, “Well, up in Alaska, we….”...]]></description>
			<content:encoded><![CDATA[<div>I knew there was something fake about that woman.  She's an actress, not a politician.<br />
<br />
<div style="margin:20px; margin-top:5px; "> <div class="smallfont" style="margin-bottom:2px">Quote:</div> <table cellpadding="5" cellspacing="0" border="0" width="100%"> <tr> <td class="alt2"> <hr />  
<b>On Palin from a fellow Alaskan.</b><br />
Like many Alaskans, I resent Palin’s claims that she speaks for all of us, and cringe when she tosses off her stump speech line, “Well, up in Alaska, we….” Not only did I not vote for her, she represents the antithesis of the Alaska I love. As mayor, she helped shape Wasilla into the chaotic, poorly planned strip mall that it is; as governor, she’s promoted that same headlong drive toward development and despoilment on a grand scale, while paying lip service to her love of the place. <br />
<br />
As for that frontierswoman shtick, take another look at that hairpiece-augmented beehive and those stiletto heels. Coming from a college-educated family, living in a half-million-dollar view home, basking in a net worth of $1.25 million, and having owned 40-some registered motorized vehicles in the past two decades (including 17 snowmobiles and a plane) hardly qualifies Palin and her clan as the quintessential Joe Six-Pack family unit — though the adulation from that quarter shows the Palins must be fulfilling some sort of role-model fantasy. <br />
<br />
Palin can claim to know Alaska; the fact is, she’s seen only a minuscule fraction of it — and that doesn’t include Little Diomede Island, the one place in Alaska where you actually can see Russia. So she can ride an ATV and shoot guns. Set her down in the bush on her own and I bet we’d discover she’s about as adept at butchering a moose and building a fire at 40 below zero as she is at discussing Supreme Court decisions. And that mountain-woman act is only the tip of a hollow iceberg. <br />
<br />
Palin, and by extension, the McCain campaign, has hijacked our state for political purposes, much to the chagrin of the tens of thousands of Alaskans who loathe what she stands for. Her much-touted popularity among residents has eroded over the past six weeks to somewhere in the mid-60s — not exactly what you’d expect in support of a home girl making a White House run. <br />
<br />
There are no doubt a variety of reasons for this decline, but many Alaskans are embarrassed — not just by her, but for our state and for ourselves. What’s with the smug posturing, recently adopted fake Minnesota accent, and that gosh-darn-it hockey mom pitch? Maybe it plays well in Peoria (and presumably Duluth), but it’s all an act. “She’s definitely put on a new persona since she’s been a vice-presidential candidate,” says Kertulla, who has worked closely with Palin for the past 18 months. “I don’t even recognize her.” <br />
--- <br />
Want to talk to Sarah? As governor, she has been accessible only on her carefully chosen terms, a trend we’re now witnessing on the national stage. And how about those Katie Couric moments when she drifts just a skosh off a well-rehearsed script? Are those a recent phenomenon, brought on by all this new information, pressure and the liberal-gotcha media? Nah. She’s been spouting “political gibberish” (to quote gubernatorial opponent Andrew Halcro) since she arrived on the Alaska scene. Yet somehow she continues to get away with it. <br />
<br />
<br />
<a rel="nofollow" class="t" href="http://www.salon.com/opinion/feature/2008/10/11/sarah_palin_alaska/?source=newsletter" target="_blank">http://www.salon.com/opinion/feature...rce=newsletter</a> <br />  <hr /> </td> </tr> </table> </div></div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum6.html"><![CDATA[Geeks' Lounge]]></category>
			<dc:creator>Ancient Dragon</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread150543.html</guid>
		</item>
		<item>
			<title>Workgroup Problem</title>
			<link>http://www.daniweb.com/forums/thread150542.html</link>
			<pubDate>Sat, 11 Oct 2008 13:30:34 GMT</pubDate>
			<description>my problem is i have a laptop and pc and need to exchange files between them 
 so i set a network and the laptop seems to see the pc and everything is fine But when i try to ping the laptop form the PC it asks me for a username and a password (Authentication Required) 

  and i dont know whats the...</description>
			<content:encoded><![CDATA[<div>my problem is i have a laptop and pc and need to exchange files between them <br />
 so i set a network and the laptop seems to see the pc and everything is fine But when i try to ping the laptop form the PC it asks me for a username and a password (Authentication Required) <br />
<br />
  and i dont know whats the username and pass <br />
   can anyone help me plz</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum23.html">Networking Hardware Configuration</category>
			<dc:creator>yasmena</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread150542.html</guid>
		</item>
		<item>
			<title>help ,problem with radio</title>
			<link>http://www.daniweb.com/forums/thread150541.html</link>
			<pubDate>Sat, 11 Oct 2008 13:14:18 GMT</pubDate>
			<description><![CDATA[hello 
i have problem with radio in this code 

 <div class="codeblock"> <div class="spaced"> <div class="light" style="float:right"> <a href="/forums/misc.php?do=explaincode&amp;TB_iframe=true&amp;height=400&amp;width=680" class="thickbox" title="Help with Code Tags" target="_blank">Help with Code...]]></description>
			<content:encoded><![CDATA[<div>hello <br />
i have problem with radio in this code <br />
<br />
<pre style="margin:20px; line-height:13px">&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;<br />
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;<br />
&lt;head&gt;<br />
&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=utf-8&quot; /&gt;<br />
&lt;title&gt;Untitled Document&lt;/title&gt;<br />
&lt;link href=&quot;style.css&quot; rel=&quot;stylesheet&quot; /&gt;<br />
&lt;script&gt;<br />
function add()<br />
{<br />
var radio=document.getElementsByName(&quot;t&quot;);<br />
var d=document.getElementById(&quot;div&quot;);<br />
if(radio[0].checked==true)<br />
{<br />
d.innerHTML+=&quot;&lt;p&gt;&lt;input type='text' id='txtfname'&gt;&lt;br /&gt;&quot;;<br />
d.innerHTML+=&quot;&lt;p&gt;&lt;input type='text' id='txttxtlname'&gt;&lt;br /&gt;&quot;;<br />
d.innerHTML+=&quot;&lt;p&gt;&lt;input type='submit' value=&quot;&quot;&gt;&quot;;<br />
}<br />
if(radio[1].checked==true)<br />
{<br />
d.innerHTML+=&quot;&lt;p&gt;&lt;input type='text' id='code'&gt;&lt;br /&gt;&quot;;<br />
d.innerHTML+=&quot;&lt;p&gt;&lt;input type='submit' value=&quot;&quot;&gt;&quot;;<br />
}<br />
}<br />
&lt;/script&gt;<br />
&lt;/head&gt;<br />
<br />
<br />
&lt;body&gt;<br />
&lt;form method=&quot;post&quot; &gt;<br />
&lt;table &gt;<br />
&lt;tr&gt;<br />
<br />
&lt;input type=&quot;radio&quot; id=&quot;name&quot; name=&quot;t&quot; value=&quot;name&quot;&nbsp; /&gt;&lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td&gt;<br />
&lt;input type=&quot;radio&quot; id=&quot;code&quot; name=&quot;t&quot; value=&quot;code&quot; /&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;<br />
&lt;tr&gt;<br />
&lt;td&gt;&lt;p&gt;&lt;input type=&quot;button&quot; value=&quot;Add&quot; onclick=&quot;add()&quot; class=&quot;btn&quot;/&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;<br />
&lt;tr&gt;&lt;td&gt;<br />
&lt;div id=&quot;div&quot;&gt;<br />
&lt;/td&gt;<br />
&lt;/tr&gt;<br />
&lt;/div&gt;<br />
&lt;/table&gt;<br />
&lt;/form&gt;<br />
&lt;/body&gt;<br />
&lt;/html&gt;<br />
</pre></div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum117.html">JavaScript / DHTML / AJAX</category>
			<dc:creator>Coward</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread150541.html</guid>
		</item>
	</channel>
</rss>
