Enter Keywords:
1 - 10 of 145(0.005 seconds)
Sort By:
 
I am using (x div 2) = 0 to check if a given number (x) is even. However this is called many, MANY times in a loop. Is there a faster way? This question may not make sense, but I'd like to give...
Zones: Delphi ProgrammingDate Answered: 02/18/1999 Rating: 8.4 Views: 0
Hello, I have a query which returns 10 results per page... the results are ordered in a specific sequence... for the page rendering I need to loop over the result set twice. First rendering a colu...
Zones: Cold...Date Answered: 03/19/2005 Rating: 9.8 Views: 0
Hi ,  the following code generates random numbers between 1 and 10, how can i make it generate only even numbers between that range #include <cstdlib> #include <ctime> #include <iostream> ...
Zones: C++Date Answered: 10/25/2005 Rating: 6.6 Views: 0
Hi, I need to write a sub which will get a date and will return Odd/Even if the date belongs to an Odd or Even week from the start of the given year... Any Simple ideas? Tnx.
Zones: PerlDate Answered: 03/24/1999 Rating: 8.8 Views: 4
I need to enter 10 positive integers and display only the even nos from the 10 nos entered. I cant use .IF,.WHILE,.REPEAT directives
Zones: AssemblyDate Answered: 11/28/2004 Rating: 8.4 Views: 0
I am trying to compute an even parity bit for a variable of type char[].  Are there any C++, C# examples on how to first compute the bit and then check it.  Thank you very much ahead of time
Zones: MS Visual C++Date Answered: 01/30/2006 Rating: 8.6 Views: 0
My session variables are ok. They timeout at the time i've set in web.config. The problem is that it times out from the time I login rather than from the last time I requested for a page. So, e...
Zones: ASP.Net ProgrammingDate Answered: 12/06/2005 Rating: 8.8 Views: 0
Hi, I have a client who called and stated that would like to get her messages back from her msn messenger from the last 24 hours.  Problem is, she didn't enable the history of the msn messenger.  I...
Zones: Misc SoftwareDate Answered: 02/20/2006 Rating: 8.2 Views: 0
Hi, how do i determine an input to be even or odd numbers? public class evenNum {       public static void main(String[] args) throws Exception       {             System.out.print("Enter any number: ");             i...
Zones: JavaDate Answered: 01/21/2007 Rating: 7.2 Views: 0
I have a query that I need to filter off of account numbers that are 9 digets long. How can I seperate the two.
Zones: MS AccessDate Answered: 01/21/2003 Rating: 7.6 Views: 0