September 23rd, 2008, 11:18 PM
You can use a open source framework to do this. I know that zk is a very perfect ajax framework. it can do this very easily. You'd better to see whether it can help you about doing this.
...
September 21st, 2008, 11:33 PM
you can also input the number into a int array. such as int num[10].
Then the program will like this.
for(int i=0;i<10;i++)
{
if(num[i]>0)
sum=sum+num[i];
}
September 21st, 2008, 11:22 PM
I think that maybe the problem is caused by createRequest();
Ajax needs the xmlhttprequest , So I think you should check this function.
September 21st, 2008, 08:32 AM
you should know that the difference between the a++ and ++a.
if a=0, then a++ equals 0, but ++a equals 1.
So you should know what your problem is.
September 21st, 2008, 08:26 AM
the problem is simple, you need to have this sentence in your code:
sum = t1+t2;
I think you must forget this sentence.
------------------------------------------------
codeuu,source...
September 19th, 2008, 09:42 PM
you'd better put your full source code here. So that we can see the exact problem.
---------------------------------------
www.codeuu.com
September 19th, 2008, 09:34 PM
may be it because of the spead of your computer.
----------------------------------------
www.codeuu.com
August 9th, 2008, 01:40 AM
you can find a open source library, it will save your lots of time.
December 11th, 2007, 04:10 AM
what is p2p network?
codeuu
December 11th, 2007, 04:07 AM
how to use hook?
thank you
codeuu
December 11th, 2007, 04:04 AM
can anyone tell me what do openGl use for?
i don't know how to do it.
codeuu
December 11th, 2007, 04:01 AM
just look carefully.
http://www.codeuu.com/
December 11th, 2007, 03:59 AM
yes ,i think you are right.