No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Re:
Hi, I wonder what is the best way to prevent injection against user input. There are a lot of examples but one say "magic_quotes_gpc" is good but removed from PHP soon. Therefore, no point of using it. Another says "mysql_real_escape_string and addslashes" just used to clean iptuts. Etc etc. I … |
|
Re:
I see that there are many questions here regarding complexity analysis, specifically regarding the Big-O notation of algorithms. I will attempt to shed some light on the subject. I will start with an introduction, after which I will go over some common complexities and last we will solve a few … |
|
Re:
Could someone explain to me what it returns? int result2 = negative(-3); System.out.println("The final answer is " + result2); [B]public[/B] [B]int[/B] negative(int num){ [B]if[/B](num >= 20){ [B]return[/B] -5; }[B]else[/B]{ [B]return[/B] negative(num + 4) + 2 * num; } } |
|
Re:
Hi to all... I've just join and found this amazing website/forum today which is very helpful. So here's the problem.. I need to find the factorial of an input number, I have a slight problem with my script, when i enter a value which is 11 upwards it doesn't print … |