DavidB 44 Junior Poster

Hi, "chubbyy.putto."

(Perhaps you could include at least your first name in your Profile, so we can address you with a proper name instead of your forum handle.)

Did you ever get your program working like you wanted?
Was your assignment to write the program, or did you just need the random numbers regardless of how you got them?

You might want to check out the Mersenne Twister algorithm; as far as I know, it is presently the best pseudo-random number generator available. It has an extremely long period (i.e. - generates MANY numbers before it starts to repeat.)

A web search turns up a lot of information about this algorithm, including source code in several languages; in fact, a search of the Daniweb forums turns up several discussions too. For example: http://www.daniweb.com/software-development/cpp/threads/311641/random-number-generator

There is also a web service that provides true random numbers: http://www.random.org/

From their home page: "The randomness comes from atmospheric noise . . ."
Apparently, they have a few radio receivers, which they use to sample atmospheric noise and generate random numbers. Depending upon your needs, you can specify the types of random numbers you need, and this free web service will generate them for you.

Hope this helps.

rubberman commented: Like their use of atmospheric "noise" to seed the generator! :-) +12
DavidB 44 Junior Poster

Okay, I have played around with it a little more.
The fact that the arrays are global seems to be affecting the behaviour. All arrays declared local to the function, or passed in as usual, behave as expected (i.e. - I can watch all entries as usual).

I am going to mark this thread "Solved" and move on.

DavidB 44 Junior Poster

AD: Do you mean in the Watch Window? That is what I would like to do, and what I tried to do (see the image attached to my first post). It didn't expand to all the array elements.

ddanbe: Attached is another image. This one shows the mouse over the variable, and I tried to click on it, to make it expand, but didn't get any further.

DavidB 44 Junior Poster

Hello, Jeanette.

Welcome to the DaniWeb forums.
Maligayang pagdating.
Kamusta ka?

These forums are an excellent resource: lots of good information and many knowledgeable members here. I am sure all your questions about programming will be answered quickly here.

All the best in your school work.

See you around the forums.

DavidB 44 Junior Poster

I am trying to use Visual Studio's debugging features more effectively; I certainly do not know all its ins and outs.

At the moment, I would like to quickly see the values of an array.

See the attached screenshot of the Watch Window.
The variable k is a global array of type double variables; during the present execution, it contains 5 entries.
I have stepped through the program into a sub-routine and would like to see the present values of k's entries.
If I add a watch (Cntrl-D, Q) for k, the address for k and its first entry only are shown.
To see the values of the other four entries, I had to manually add a watch for each entry: k[0], k[1], k[2], etc.
There must be an easier way to do this. I'd simply like to click on the variable in the Watch window, expand it, and view all the values of the array entries. Adding watches manually, especially for larger arrays, could get tedious.

Am I overlooking a setting in the IDE?

Any and all advice is appreciated.

DavidB 44 Junior Poster

Hello, Edwin.

Welcome to the DaniWeb forums. We are glad you joined us.

These forums are an excellent resource: lots of good information and many knowledgeable members here.

It is a great place for the sharing of ideas. I am sure you will learn a lot here.

See you around the forums.

DavidB 44 Junior Poster

Actually, on line 2 in my post just above, I think the loop index should have started at remainder, since the first few entries were done in the step just before. i.e. - line 2 should be for (j = remainder; j < nCols; j +=5) {

DavidB 44 Junior Poster

If the password is maximum four letters long, you won't need an infinite loop. I think a combination of four variables can be arranged, at most, 4! times: 4! = 4*3*2*1 = 24. (It has been several years since my last stats class, so I could be wrong. But there is a formula for this variation.)

In any case, have you at least started writing some code? Please post what you have done so far, so members can offer guidance and suggestions.

DavidB 44 Junior Poster

Have you decided what number you are going to use to unroll the loop? For example, are you going to unroll 5 loops at a time? 7 loops at a time? etc.?

I posted a code snippet several months ago that does matrix multiplication:

http://www.daniweb.com/software-development/cpp/code/456187/matrix-multiplication-c-program

The block that does the actual multiplication is contained in lines 40 - 48.

Say you wanted to unroll the inner loop 5 at time.
You don't know beforehand if the number of loops is evenly divisible by 5, so you have to check and deal with the remainder.

For example,

int remainder = nCols%5;

Then,

dummy = 0.0;
for (i = 0; i < remainder; i++){
    dummy += A_Matrix[k][j]*B_Matrix[j][i];
}
C_Matrix[k][i] = dummy;

So now you have taken care of the iterations that would be "left over" when the loop is unrolled 5 at a time.

Now you can do the unrolling:

dummy = 0.0;
for (j = 0; j < nCols; j +=5) {
    dummy += A_Matrix[k][j]*B_Matrix[j][i];
    dummy += A_Matrix[k][j+1]*B_Matrix[j+1][i];
    dummy += A_Matrix[k][j+2]*B_Matrix[j+2][i];
    dummy += A_Matrix[k][j+3]*B_Matrix[j+3][i];
    dummy += A_Matrix[k][j+4]*B_Matrix[j+4][i];
} // End for j
C_Matrix[k][i] = dummy;

This code may not be completely accurate; I am writing off the top of my head. But I hope you get the idea. You are explicitly writing out the loops 5 at a time, incrementing the counter by five, and eliminating the test in the for-loop for many iterations (instead of testing the condition in the for-loop …

DavidB 44 Junior Poster

You should check to see if the discriminant is negative before calculating x1 and x2. And if you want to deal with possible imaginary components of results, you will need two more variables (for the imaginary parts of x1 and x2.)

Actually, I posted a small sub-routine in the "Code Snippets" section several months ago that is relevant to your problem:
http://www.daniweb.com/software-development/cpp/code/455970/quadratic-equation-solver-c-sub-routine

DavidB 44 Junior Poster

If you want a laugh, and don't mind some potty humour, some of the reviews on Amazon are pretty funny too. Here is a link I received from a member of the Pasadena IBM Users Group (PIBMUG) some time ago:

http://www.amazon.com/dp/B000EVQWKC/?tag=PIBMUG-20

The Questions and Answers, and quotes, are funny, but I think the funniest content for this product page are the Customer Reviews. The first one is the funniest, but several of the rest are pretty good too.

I laughed my head off a couple times.

DavidB 44 Junior Poster

I haven't gone through this code thoroughly, but a couple things caught my eye.

First, does this program compile?
If so, what is it doing wrong?

I don't think you need the break on line 27. If number==x the program should go back up to line 11 and break out of the loop there anyhow.

I don't see counter increment. How are you keeping track of the number of times the user has been asked to enter a number?

Seems like there are too many while loops. Do you really need a nested while loop?

DavidB 44 Junior Poster

I am not clear what you are asking.

Are you asking if you can add the Google Analytics (GA) code multiple times to the same page? You probably could, but why would you want to? What would be the point? You would possibly ruin the information you are getting from GA and defeating the point of putting it on the page (i.e. - to supply you with meaningful information).

DavidB 44 Junior Poster

Could you be a little more specific please?

What is going wrong? Does your program not compile? Does it compile but not execute correctly? Are you asking about a logic error?

DavidB 44 Junior Poster

I have been spending a lot of time on LinkedIn lately and one feature I find annoying is the infinite scroll.

I simply want to learn more about some companies: their size, earnings, number of employees, mailing address, etc.
So I go to the company page on LinkedIn and quickly scroll to the bottom.
However, I only read about one line about the company before more content loads and the company profile gets pushed down off the page. So I have to scroll down again to get back to the profile.

Is there a way to disable this infinite scroll feature? Better yet, perhaps a hot key or something that takes me straight to the bottom of the page, so I can read a company profile without having to repeatedly scroll down?

DavidB 44 Junior Poster

You are passing by value to this function. So the value (1200) gets passed into the function, not the actual variable. The function does not perform any manipulations on the variable and, even if it did, the effects would not be visible outside the function.

DavidB 44 Junior Poster

It would get rid of the virus, but reformating your computer is a pretty drastic step to take just to get rid of one virus. Before taking such a step, is all important information from the computer backed up? If not, it would all be lost when the computer is reformated. Is there any anti-virus software on the computer that can be run?

DavidB 44 Junior Poster

Hello, Rasha Ali.

Welcome to the DaniWeb forums. We are glad you joined us.

These forums are an excellent resource: lots of good information and many knowledgeable members here.

It is a great place for the sharing of ideas. I am sure you will learn a lot here.

See you around the forums.

DavidB 44 Junior Poster

Hi, "Qqueen".

Did you get your problem resolved?

If not, what other steps have you taken to confirm one way or the other if your site has been hacked?

What browser do you use?
The reason I ask is because, if you use Firefox it usually accesses a database that documents bad sites and should block your site from loading if your site has been added to the known "bad" site list. So load your site in Firefox and see if any warnings appear.

Alternately, you can submit your site to some of Google's webmaster tools. For example, their diagnostics tool (replace "example.com" at the end of this URL by the domain of your own site):

www.google.com/safebrowsing/diagnostic?site=example.com

WordPress is notorious for getting hacked. I had a WordPress blog myself for a while, but it got hacked, and I decided to give up on it (I wasn't a prolific blogger anyhow.)

Please post back to let us know how this matter progresses.

DavidB 44 Junior Poster

What have you tried so far?

Off the top of my head, I'd probably use two variables.
Call rand() and assign its output to an integer variable, say, temp_int.
Do a modulus operation on this variable: temp_int %= 50;
That should keep the variable's value to 50 or less.
Do a check to see if variable's value under 3; if so, add 3.
Assign this variable's value to a variable of type float.

There's probably a shorter, more elegant, way to do this, but even an awkward way like this should get you started.

Please post code so we know how you progress.

DavidB 44 Junior Poster

Are you willing to purchase a compiler? If so, there are some commercial products available, for example, Pro Fortran 2014: http://www.absoft.com/

Otherwise, you might be interested in Open Watcom. I don't have extensive experiences with it myself. I downloaded it a couple years ago to test original Fortran code against my C++ translations but, other than that, haven't used it much. Still, it might suffice for your purposes.

DavidB 44 Junior Poster

If you want to create a blog on a domain you already own and administer, you would first have to check with your web host to determine if it supports the features required. For example, WordPress is popular for self-hosted blogs. Its minimum requirements are PHP version 5.2.4 or greater, and MySQL version 5.0 or greater. If your web host does not support these services, then you don't even have the option of adding a WordPress blog to your site; you might have to change web hosts or perhaps select a different blogging platform.

Once your new blog is set up, you would have to copy all your posts over from Blogger one-at-a-time. I am not aware of a service that allows you to conveniently copy all posts over from Blogger to a new blog.

In terms of SEO, I really don't know if there are any benefits to having a self-hosted blog or using a service like Blogger. And I don't think it matters if the URL of the blog takes the form blog.domain.com or domain.com/blog. It all depends on the quality of your content.

If your existing blog has PageRank that you would like to transfer over to the new blog, you should use a re-direct on the old pages, to send robots to the new pages. And you should get the old blog de-indexed so you don't get a duplicate content penalty in the search engines.

DavidB 44 Junior Poster

Does it have to be done like this?

If you have to input a string and then extract the individual words and numbers from it, that would involve regular expressions and can get complicated.

An easier way might be to use
i) a radio button, and ask the user to indicate if the input represents inches or feet, and
ii) a simple text box to accept input of the actual number. Then you just have to use parseFloat on the input, assign it to a variable, and then manipulate that variable as you like.

DavidB 44 Junior Poster

One of my contacts on LinkedIn uses Buffer: http://bufferapp.com/
He submits his article once and it is fed into several social media sites: LinkedIn, Facebook, Twitter, G+, etc.

Also, HootSuite has been getting a lot of attention in the media lately: https://hootsuite.com/
I think it does the same as Buffer.

Dani, I haven't used these services myself; I simply don't write often enough. But they might be appropriate for you.

DavidB 44 Junior Poster

That is a pretty nebulous question; it covers so much ground.

You learn best by doing, so continually program.
Learn one thing at a time. It sounds like you are in school so, for the moment, focus on the languages you are covering in class. And keep asking questions.

DavidB 44 Junior Poster

A few things come to mind:

1) you already know the size of the array, so I don't see the point of using the new operator, which indicates a dynamic array.
2) if the array is supposed to hold floating point numbers, why do you declare it type int?
3) what is the point of the variable scores (presently, it is just assigned the array index value squared)?
4) the variables average, sum, and length are not defined before they are used, and they are used before values are assigned to them.

DavidB 44 Junior Poster

Hello, "catastrophe2".

Welcome to the DaniWeb forums. We are glad you joined us.

These forums are an excellent resource: lots of good information and many knowledgeable members here.

It is a great place for the sharing of ideas. I am sure you will learn a lot here.

See you around the forums.

DavidB 44 Junior Poster

I experienced a similar problem some time ago (trying to get data off a crashed harddrive on a Dell laptop).

However, I didn't even try to fix it myself; I brought it in to a local computer repair store, they moved the hard drive in to a comparable Dell laptop, and were able to copy most files on to a USB drive. I don't know all the software packages they used in the process.

It might be best to go to a professional. All the tinkering you do trying to do it yourself might just make it harder to recover data when you do bring it in to a pro.

Since then, I have been very anal about backing things up--on a USB drive and in the cloud.

DavidB 44 Junior Poster

Yesterday (October 25) I spent a few hours working on a Word document. When printed out, it is six pages long.
This morning (October 26) when I opened up the document to resume work on it, all my latest work was gone.
The document property indicates it was last modified October 21.
In fact, it looks like the work I did on October 22 is not there either.
I am anal about saving, usually hitting the Control-S key or Save button frequently as I work on something.

So I am wondering what the heck happened? Has anybody else encountered behaviour like this? I am using Word 2007 and it has worked fine for many years. Why the baffling behaviour now?

The only thing I have done to my computer between October 21 and today is download and install Visual Studio Express 2013 for Windows Desktop. Would that have anything to do with it? Could this new software have somehow prevented Word from retaining edits to a document?

More importantly, is there a way to get that work back? I have a print-out of the October 25 draft, so I could always re-type it, but if I can get the draft back that would be easier. I did not print a copy of the October 22 version, so I will either have to re-do it by memory (not good) or somehow figure out a way to get it back.

This is really frustrating; I find writing well …

DavidB 44 Junior Poster

Just so I am clear: you have posted in the Javascript forum. Are you, indeed, working with Javascript? Or Java, as "Assembly Guy" implied?

What have you done so far? If you post the code you have written so far, forum members can offer specific advice for making it work, or making it work better.

DavidB 44 Junior Poster

I just logged on to Facebook no problem (from Vancouver, B.C., Canada).

I was able to get to twitter.com, but I don't have a Twitter account, so wasn't able to test further.

DavidB 44 Junior Poster

What is your question?

DavidB 44 Junior Poster

The benefit is that people who may not have known about your site before are made aware of it. Even though no-follow links may not provide a boost in terms of PageRank, they can lead to increased traffic. And if you make your post in a blog or forum directly relevant to the topic, it can lead to people taking an interest in your work which, in turn, leads to more people knowing about it.

Don't spend too much time thinking about whether a link is no-follow or not. Be more concerned about whether the post or comment you want to make is directly on topic, in an appropriate forum, or just a blatant attempt to spam.

DavidB 44 Junior Poster

Okay, my social media links have been in my Profile for one month now.

Nothing significant to report.

No significant increase in the number of views of my LinkedIn Profile.
Not a single Connection Request from a stranger.
(I am not the most prolific poster in these forums, so that may have been a factor; I wasn't "out there" much.)

Same goes for Facebook and Google Plus.

In any case, I am going to conclude this experiment and mark this thread "Solved."

I am still working to build up my network on LinkedIn, and would like to connect with a few Daniweb members. If anybody would like to Connect with me on LinkedIn, send me a PM. I am going to take the initiative and send out one or two myself (Dani and Mike: PMs coming your way.)

DavidB 44 Junior Poster

Do you mean Google's EMD (Exact Match Domain) Update?

Have you already searched these forums for existing discussions on the topic?

In addition, Search Engine Land is always a good place to start looking for info about search engines: http://searchengineland.com/library/google/emd-update

DavidB 44 Junior Poster

What have you got so far?

Do you know the algorithm for the Newton-Raphson Method?
Have you written pseudo-code for this program?
Have you got any C++ code written?

DavidB 44 Junior Poster

Wow! You guys have some pretty specialized tastes. My own is pretty mainstream.

I usually just go to Songza (http://songza.com/), on which I have found music I couldn't find anywhere else,

raditaz (http://raditaz.com), which is available in the US (being in Canada, I have to VPN in to a US site to be able to use this site.),

Grooveshark (http://grooveshark.com/),

or Spotify (https://www.spotify.com/int/) which, like raditaz, restricts users by country. If you don't know of a VPN server you can access, you might consider a paid service like WiTopia (https://www.witopia.net/), which allows you to select an IP address from an American city.

DavidB 44 Junior Poster

You might also want to consider an online presence manager like about.me:
https://about.me/

Then you could create whatever image you want as a background, supply whatever information about yourself you want made public, and then put a link to your Profile page in your signature. It's a slick way of creating an online Profile that doesn't have to be repeated each time you join a new site or forum.

I suppose you could do something similar with Gravatar (http://en.gravatar.com/) too.

Or your Facebook page.
Why not use that graphic on your Facebook page, put whatever information you want made public on your Facebook page, and then put that link in your signature? It would save you the trouble of duplicating your work? (Why re-invent the wheel?)

DavidB 44 Junior Poster

Hi, Dani.

The trend in the world does seem to be toward specialization. People want ever finer control over their lives. That's why industries around print magazines, newspapers, CDs, videos, etc. are dying out. Myself, I don't want to have to buy a CD with nine songs I don't like just to get the one I do. With an MP3 player, people can download exactly what they want without getting anything they don't want. The same goes for magazines and newspapers. On one hand, I happen to like reading ink on paper. On the other hand, I dislike having to purchase a whole newspaper or magazine whose content is 80% uninteresting to me (Sports, Local Social Scene, Local Interest, etc.). With online news, I can read about the exact topics that interest me (developments in the aerospace field, international news, business news, economic trends, etc.). Even a big company like Microsoft caught on a few years ago by offering users more granular control over what they could install or omit with their software.

(Having said that, I like Daniweb, with its mix of tech talk and social talk. I mean, coders don't want to talk about programming PHP in PhpStorm all the time; they need some casual chat.)

I think if you want to be a One-stop Shop for all things related to website development, you have to make sure (i) you've got a good, deep, trove of resources (which you have), (ii) those resources have to be extremely well-organized, …

DavidB 44 Junior Poster

Post the code you have so far, so we can see what you have done. Then Daniweb members can try to help you.

DavidB 44 Junior Poster

Hello, "naamurad".

Welcome to the DaniWeb forums.

Normally, new members make an introductory post in the "Community Introductions" section of the "Community Center." It is not required, but it is nice when new members introduce themselves and share a little information about themselves, their background, what school they go to, some skills they bring to the forums, their interests, etc.

Did you write this program yourself? I notice this program, and the program you link to in your other post (re: Kruskal's Algorithm) were posted by "vishv", Biju Patnaik University of Technology, Rourkela: http://in.docsity.com/en/users/profile/vishv

Is "vishv" an alias of yours? Is "vishv" a classmate?

If the code is yours, I recommend posting the snippet directly into the Daniweb "Code Snippets" section. At the top of the thread listings, there are several tabs:
"All Articles"
"News Stories"
"Product Reviews"
. . .
"Code Snippets"
. . .

Select the "Code Snippets" tab. Then write a brief introduction for the code, explaining what it does, perhaps some background, etc. Then select the "Code" button, paste your code into the editing window, format the code nicely, then submit it. That way, you better contribute to the Daniweb forums.

(Also, instead of replying to a thread that is 7 years old to post a Code Snippet, I recommend you create a brand-new thread--as a "Code Snippet"--to make your contribution. It is still searchable, and it saves you the trouble of replying to threads for which the …

DavidB 44 Junior Poster

I don't think forums are dying because of social media; from what I have seen, they are a poor substitute for the back-and-forth discussions that take place when somebody needs help with something. The groups on Facebook or LinkedIn simply do not offer that.

Are forums dying, period?
Perhaps some. I suspect there were simply too many forums in the first place. It was another thing for the admins to tinker with and learn about but, after the novelty wore off, they realized forums were more trouble than they were worth. Five years ago, I had several forums bookmarked. Now half of them have been replaced by blogs. The only interaction between users now is via the comments, which is a poor substitute for a proper forum.

Plus, it is getting harder to earn money online. People are using more ad-blockers and becoming "ad blind". Because the income a site can generate is shrinking, some forum admins are faced with the hard reality of paying for an ongoing hobby out of their own pockets. I am feeling the pinch myself. I had hoped my site would generate enough income to at least pay for its hosting, but that is a fading dream; traffic is going up but income is going down. I do not know what other way a site can generate income except for ads (paid memberships?). And if this avenue closes, I don't know how long I can fund a site out of my own pocket. I …

DavidB 44 Junior Poster

I think you should do more thorough checking of terms between lines 20 and 23. It may be a letter, and have a value greater than 0, which satisfies the if condition, but you should do a better check that it is, indeed, a number before line 23.

What if you put an output statement before line 23, indicating if terms is greater than 0, enter some letters, then run a few tests to see how letters are being treated. For example, add the following code just after you input terms on line 20:

cout << "The input value of terms is: " << terms << "." << endl << endl;
if (terms > 0) {
  cout << "The value of terms has been identified as being greater than 0." << endl;
}

Then run the program a few times entering a non-number. Then you will see how your program is handling non-numbers. I suspect it is not handling them properly, and entering that if block when it should not.

DavidB 44 Junior Poster

At the moment, links in the main forum work fine for me.

However, I notice the home page listed in my Profile still shows "Coming Soon", although the actual link works.

Edit (5 minutes later): Oops, it is working fine now, just like before.

DavidB 44 Junior Poster

See: . . .

There is also an informative post made by Danny Sullivan on Search Engine Land:

FAQ: All About The New Google “Hummingbird” Algorithm
http://searchengineland.com/google-hummingbird-172816

" . . . has anyone seen a flux in that over the past month?"

For my sites, traffic always goes up in September. Summers are very quiet but when school starts up again in September the traffic increases. So it is hard for me to gauge if that traffic change is caused by the algorithm change or the simple fact that students start needed my math tools again.

My own activities don't change in any case. I can't live my life around what Google or doing, or speculation about what changes Google may make in their algorithm. I still have to focus on writing some blog posts, writing programs, participating in a few forums, etc. My activities don't change.

DavidB 44 Junior Poster

"How can I get both values for further comparison?"

Not sure what you mean by this. The rest of your program doesn't do further comparison of the equal variables anyhow. If you just want to list all the variable names that contain the minimum value, you are going in the right direction with the second version of your program. I think you might want to edit your code slightly to something like the following:

var y = "The variable(s) that contain the minimum value(s) follow: <br />";

. . .

if (a == z){
  y = y + "a" + "<br />";
}

etc., etc.

Then, when all the variables have been compared to the min and the y string includes all the variable names it should, output y.

A couple other options you might consider:
i) use a switch statement instead of a bunch of if statements.
ii) if the number of variables gets large, consider creating an array to hold them. Then instead of having a large number of if statements, you could have a simple loop that goes through the array elements.

DavidB 44 Junior Poster

RAND_MAX is defined in <stdlib.h>, which you have to include in your program to use rand() anyhow. So you don't have to include anything additional.

RAND_MAX is the largest number that can be output by rand(). You should check out your documentation for more detailed information.

DavidB 44 Junior Poster

rand() gives an integer between 0 and RAND_MAX.

To get a number between 0 and 25, I'd do something like the following:

1) Divide the output of rand() by RAND_MAX to get a number between 0 and 1.
2) Multiply the result by your desired maximum, in this case, 25.

i.e. -

randNum = (rand()/RAND_MAX)*25;

This code might need some tweaking. Play around with it a bit to get it doing what you want. (round, floor, etc, the result to get an integer)

DavidB 44 Junior Poster

I haven't gone through your code in detail, but perhaps you could give a rough outline of what the inputs are and what the program does.

The reason I ask is because usually when eigenvectors are computed, they are computed for corresponding eigenvalues.

i.e. - Solve [A] - [I]lambda = 0

where lambda is a specific eigenvalue.

Then the process is repeated for each eigenvalue.

I don't see where an eigenvalue is input so that the corresponding eigenvector can be computed. Does the data in the array already represent [A] - [I]lambda? Otherwise, it looks like you are going straight to the computation of the eigenvectors.

DavidB 44 Junior Poster

"bourisly":

Please post the code you have so far. Once we see what you've done up to now, we can offer suggestions for how to edit the program so it does what you want.

Does your existing program accept input of the numbers and then output them? That way, you could confirm it is inputting the numbers properly, and that is already half the program.

"i have prombler to slove my asigmnt question that is to aply data structure operation on arry of 6 so plzzzzzz help me to slove this question"

"anamkiani":

You should start your own thread instead of hijacking somebody else's; it just confuses issues. And you haven't provided much information anyhow. When you do start your own thread, tell us more about the problem, let us know what you have done so far, and perhaps post your code. And make an effort to use proper English.