Forum: PHP Aug 8th, 2009 |
| Replies: 2 Views: 731 1. Keep an array to hold the random numbers
2. In order to add an element to this array, generate a random number in the required range, and check the array to see if the generated number is... |
Forum: Windows Vista and Windows 7 Jul 21st, 2009 |
| Replies: 2 Views: 530 This is quite possible. How should I troubleshoot this?
What other info should I supply?
Thanks for help, and sorry for the delayed response |
Forum: VB.NET Jul 18th, 2009 |
| Replies: 7 Views: 665 Check my blog post- http://dotnet.tekyt.info/?p=27
If you still have any doubts, feel free to ask |
Forum: PHP Jul 15th, 2009 |
| Replies: 7 Views: 567 Check with your network administrator if there is a mail server on your network. If you are running the website on your own server, you might have to configure your mail settings on the localhost |
Forum: C Jul 14th, 2009 |
| Replies: 5 Views: 458 Use exit() function
http://www.cprogramming.com/fod/exit.html |
Forum: C Jul 14th, 2009 |
| Replies: 46 Views: 1,495 did you try debugging using gdb? |
Forum: C Jul 14th, 2009 |
| Replies: 11 Views: 626 Its possible that what the original thread starter meant by 'swap' was to actually interchange the pointers to the read-only strings as Dave and Dream2Code have suggested. |
Forum: C Jul 12th, 2009 |
| Replies: 9 Views: 796 That is just the reverse of the aforementioned algorithm.
Explanation- Scan the input string from left to right. Whenever you see an operand, just push it onto a stack. When you encounter an... |
Forum: C Jul 12th, 2009 |
| Replies: 9 Views: 796 The expression contains only operands. Where are the operators?
If you have a string in infix, ie. in form A+B, and you wish to have it in the form AB+, you can use the Shunting Yard Algorithm... |
Forum: C Jul 11th, 2009 |
| Replies: 13 Views: 612 printf("Trip Summary");
You are missing the semicolon here
and here
printf("Enter Total amount of fuel required");
and why do you have the return statement outside the main function? |
Forum: Windows Vista and Windows 7 Jul 11th, 2009 |
| Replies: 2 Views: 530 Hi,
I am running Windows Vista. Sometimes my browsers will abruptly stop displaying webpages. The error on Mozilla says- Unable to Connect, on Safari - Winsock Error 10013
I am able to ping, my... |
Forum: Database Design Jun 26th, 2009 |
| Replies: 0 Views: 336 Hi,
I was reading the book "Fundamentals of Database Systems" by Elmasri and Navathe. In that it is given that for a relation to be in 2nd NF, every non prime attribute (attribute which is not a... |
Forum: Search Engine Optimization Jun 8th, 2009 |
| Replies: 2 Views: 304 I am sorry, I have not phrased my question correctly.
The thing is that I have two navigational paths to the same page as described in the first post.
So, these two pages will link in a ... |
Forum: Search Engine Optimization Jun 8th, 2009 |
| Replies: 2 Views: 304 Hi,
On my website, I am using breadcrumb links-
A->B->P
X->Y->P (same P)
The breadcrumbs and other links change depending upon whether a spider visits P from B or Y. |
Forum: Java May 23rd, 2009 |
| Replies: 6 Views: 380 Yeah, using the try-catch |
Forum: Java May 23rd, 2009 |
| Replies: 6 Views: 380 Hi,
There are 65536 ports (TCP) i.e 0-65535
Port No 0 to 1023 are reserved for well known services (http, ftp, telnet)
If you try to use a port already in use, you will get a... |
Forum: C May 14th, 2009 |
| Replies: 1 Views: 373 Hi,
What is the conversion character for long double in gcc? |
Forum: MySQL Apr 30th, 2009 |
| Replies: 0 Views: 298 In a application for online test, the rank list is computed as follows-
select * from test order by marks DESC
How can we make sure that the first record gets rank1, second rank2 and so on... I... |
Forum: Java Mar 10th, 2009 |
| Replies: 1 Views: 1,826 Hi,
I am trying to implement a client server wherein the client must be able to download a requested file off the server and upload a file onto the server. I have implemented the download part of... |
Forum: Computer Science Feb 23rd, 2009 |
| Replies: 0 Views: 390 Hi,
I am involved in a project which requires our team to build a web portal for our college. We have gone about the collection of requirements.
Hereafter, I need to know which is the best... |
Forum: DaniWeb Community Feedback Feb 22nd, 2009 |
| Replies: 14 Views: 1,437 - Have done that quite some days back, no reply
@Narue- You sure are a meanie |
Forum: DaniWeb Community Feedback Feb 22nd, 2009 |
| Replies: 14 Views: 1,437 Awaiting Dani's take on this.... |
Forum: DaniWeb Community Feedback Feb 17th, 2009 |
| Replies: 14 Views: 1,437 How exactly do you calculate the traffic?
Don't you think RIA's are picking up these days and Dani should have a forum meant for that?
Maybe some other forums such as Assembly (last activity 9... |
Forum: DaniWeb Community Feedback Feb 16th, 2009 |
| Replies: 14 Views: 1,437 Hi !
I really don't know where to put this thread up, so this might be a misfit.
I was wondering if we could have new forums on DaniWeb, especially for RIA's like Flex, JavaFx etc..
I guess... |
Forum: Java Jan 24th, 2009 |
| Replies: 3 Views: 670 Yeah that was the problem, the code was not flushing the stream.
I flushed the write stream and it started to work, thanks a lot for your reply. |
Forum: Java Jan 24th, 2009 |
| Replies: 3 Views: 670 Hi!
I am trying to initiate a client-server talk but for some reason it is not working. The server starts running, but when I start the client nothing happens. Please point out the mistake in my... |
Forum: Graphics and Multimedia Jan 11th, 2009 |
| Replies: 9 Views: 1,962 Or you could see youtube video tutorials by Mike Lively, those are good to get started. |
Forum: PHP Dec 29th, 2008 |
| Replies: 2 Views: 1,564 Thank you for your reply, but I have read that GMail will just strip off whatever is in the head if the email.
Anyways I found a work around by using inline styling. |
Forum: Viruses, Spyware and other Nasties Dec 28th, 2008 |
| Replies: 1 Views: 918 Hi!
Sometimes while browsing, suddenly I stop getting sites, but I am able to ping sites. If I reboot, it starts working correctly again.
Here is my HJT log-
Logfile of Trend Micro... |
Forum: PHP Dec 25th, 2008 |
| Replies: 2 Views: 1,564 Hi!
How can I include CSS styles in a PHP HTML Email?
This is what I have so far-
<?php |
Forum: Cases, Fans and Power Supplies Dec 25th, 2008 |
| Replies: 4 Views: 820 Thank you for your reply, jermaghs07
Unfortunately, my HP warranty has expired. I have heard that normal battery life is around 12-18 months after which you would need to get a new one. Isn't that... |
Forum: Website Reviews Dec 23rd, 2008 |
| Replies: 1 Views: 571 hey alice,
we've got the site made...
just wanted to know your opinion on it, so what say you? how can it be improved? |
Forum: VB.NET Dec 18th, 2008 |
| Replies: 1 Views: 616 Maybe you can try something like an automated payroll system? |
Forum: Cases, Fans and Power Supplies Dec 18th, 2008 |
| Replies: 4 Views: 820 Hi all!
I have a HP dv6000 laptop, bought it around 18 months back.
The laptop battery has fallen to 10% of origin capacity.
I'm trying to buy a new battery, but the HP battery costs a bit... |
Forum: Networking Hardware Configuration Dec 13th, 2008 |
| Replies: 11 Views: 962 What I can gather from your post is-
1. When you try to connect your computer using wireless, your router is detected. Are the other computers on the network (probably your old computer) also... |
Forum: Networking Hardware Configuration Dec 13th, 2008 |
| Replies: 11 Views: 962 Check your ethernet connected computer, does it also use automatic IP? Or are the IP settings manually entered there? |
Forum: PHP Dec 13th, 2008 |
| Replies: 2 Views: 1,212 try this-
<?php
$name="foo";
$age="bar";
header("Location: print.php?name=".$name."&&age=".$age);
?> |
Forum: VB.NET Dec 11th, 2008 |
| Replies: 4 Views: 674 try this connection string-
Server=myServerAddress;Database=myDataBase;Uid=myUsername;Pwd=myPassword; |
Forum: VB.NET Dec 11th, 2008 |
| Replies: 4 Views: 674 Hi!
Just verify these-
Do you have the MySQL Connector installed?
Are you sure your connection string is correct? |
Forum: Website Reviews Dec 11th, 2008 |
| Replies: 1 Views: 668 I suggest you work on the following-
1. The site header- I think you should customize this, there is little relevance with the site content.
2. Take care of the text overflow in the blocks that... |