Archive for March, 2008

31
Mar

I know that i can use printf() and %2.2f and stuff like that i learned in C, but is there a special way to do so in C , where I'd use cout

Read the rest of this entry »

31
Mar

double a=4.35;
System.out.println(100*a);
answer is 434.99999999999994
Why is not be 435.00 ?
Answer: This is a FAQ on Programming & Design…
to make the computer go faster, double and floats are calculated as a binary number with an exponent. Use BigDecimal number type to regain your familiar base-10 arithmatic. If you software program deals with money, use integer math […]

Read the rest of this entry »

31
Mar

HTML/CSS img help?

Author: admin

How do you make it so it shows one picture but when you hover over it with your mouse it shows a different picture?
For example, The front of a T-shirt and when your mouse is on it, It shows the back of the T-shirt?
Answer: Use the following Code in HTML

If you use CSS then you […]

Read the rest of this entry »

31
Mar

This should work….
chhandak@chhandak:~$ irb
irb(main):001:0> def multiply(val1, val2 )
irb(main):002:1> result = val1 * val2
irb(main):003:1> puts result
irb(main):004:1> end
=> nil
irb(main):005:0>
irb(main):006:0* multiply( 2, 10 )
20
=> nil
irb(main):007:0>
irb(main):007:0>

Book Mark it-> del.icio.us | Reddit | Slashdot | Digg |

Read the rest of this entry »

31
Mar

Is this funny?

Author: admin

i have recently made my own website, can u tell me if it is funny? http://smaltise.webs.com thx for the input! and, if it is funny, please give the link to as many paople as you can!
Answer: Not really. Also, you need to make a title. I mean the title that goes in the […]

Read the rest of this entry »

31
Mar

http://www.clublakers.com/forums/jackpot…
Like the original (first) poster in this website and how he has it in his avatar
if i wanna use like lets say 2-3 seconds of a movie and make it into a gif, how do i do that?
Answer: You can do this with total video converter software. Check the link below.
after installation, select new and […]

Read the rest of this entry »

31
Mar

ok, i know it confusing……
refraised….
Site A has a scroll box on it's page, how do i make Site A's scroll box have a different website (Site B).
Answer: Assuming you own site A, you could replace the scroll box with an iframe.

Book Mark it-> del.icio.us | Reddit | Slashdot | Digg |

Read the rest of this entry »

31
Mar

I have my website hosted with goDaddy. I'm trying to create a registration form and login system. What I want to do is be able to allow users to register and then be able to keep track individually of each user's account balance when they login. So, what I did was use godaddy's SQL interface […]

Read the rest of this entry »

31
Mar

I'm probably doing something painfully obvious here. >.< I'm trying to make a scroll bar colour generator and whenever I ask the php to print the style tag it stops working. The whole page won't load. Here is an example of what the php looks like with the style tag:

Anyone have a clue to what […]

Read the rest of this entry »

31
Mar

Hanoi Tower?

Author: admin

Write a complete program of the famous Hanoi Towers. The program should read the integer n from the user and print a sequence of instructions of the form:
move top disk from A to B
move top disk from A to C
move top disk from C to B
…..etc….etc…..etc…..etc…..
I really really need help with this
Answer: Check out […]

Read the rest of this entry »