Advertisement

1 - 10 of 65 containing alltags:("comparision") (0 seconds)
hi , i have got small piece of code #include<stdio.h> int main() { float a=0.7; if(a<0.7) printf("a is less than 0.7"); else printf(" a is equal to 0.7"); return 0; } when i exec...
Zones: CDate Answered: 08/13/2003 Grade: B Views: 0
Hi What I have is a load of files which are playlists for and audio app I'm writing, in these playlists is the locations of the files ie F:\Mp3's\S\Somesong.mp3 What I want to do is change a ...
Zones: Windows MFCDate Answered: 08/29/2003 Grade: A Views: 0
I have this field "shipMeth" as a tinyint in the database. I need to check it against the value "1". Both of  these work, but is one better than the other? If customerReader("shipMeth") = "1" ...
Zones: ASP.Net ProgrammingDate Answered: 06/01/2005 Grade: A Views: 0
Hi, I have an urgent data comparison and matching problem that needs resolving - on one table (imported from a spreadsheet) I have the fields client code, title,initial, surname and on the other...
Zones: MS SQL ServerDate Answered: 07/17/2006 Grade: A Views: 0
How do I compare the string '1/4/2007 8:58:44 AM'  with the current date. This value is passed to strore proc as string. I want to check if it is the current date.
Zones: MS SQL ServerDate Answered: 02/11/2007 Grade: B Views: 0
Hi every one.   I have a question about a string comparision. I am reading it in from a file charecter by charecter and then using the valueOf(str) fx to convert it into a string. But when i am t...
Zones: JavaDate Answered: 03/27/1999 Grade: A Views: 0
Hi  I would  like to see that  date field I got from resultset has value or not. Code below explains what I need to ResultSet rs = Statement.executeQuery() Date d = rs.getDate(1);//java.s...
Zones: JavaDate Answered: 08/16/2000 Grade: B Views: 0
I need to select data by comparing a date datatype with current date-1. I have found this code: declare @tdate varchar(20) set @tdate=getdate() set @tdate=convert(varchar(20),@tdate,102) SELE...
Zones: MS SQL ServerDate Answered: 09/25/2002 Grade: B Views: 0
i have a string, say char str= "ab\\c"; char *cp; for(cp = str; cp; cp++) {   if(strcmp(*cp, "\")==0)      do_some_thing... /*if find the escape \, doing something*/ ) the problem is tha...
Zones: CDate Answered: 04/26/2003 Grade: A Views: 0
I have Two Strings like this. MainString = "ke32,43ab,eds" Sstring = "43ab,eds" Some times MainString is bigger then Sstring and Vice Versa. and someTime Equall. Some Times String Content...
Zones: ASPDate Answered: 01/14/2004 Grade: A Views: 0