Member Avatar
Hello, I am trying to compare a double to be within various ranges, but the comparison is not working correctly. Rounding precision is not a concern, because if the value will match the boundaries so rarely, and it is rounding up to the higher range is acceptable. Below is the …
by JohnMcPherson in Software Development ()
Member Avatar
Hi Everyone, I am here to start a defferent project, intresting for me of video clips comparison in C#. I would like to develop a destop application which can compare a video sample clip A with a destination video clip B. All I want to do is E.g if I …
by akkbkht 14 in Software Development ()
Member Avatar
All, what I am trying to do is isolate markings (differences) in images. I have an unmarked image (I1), a marked image (I2) and a third image (I3). I would like to compare I2 against I1 and store the x,y (or array of pixels) of the differences (isolate markings). I …
by ParPau in Software Development ()
Member Avatar
I'm trying to create a program in c# that asks the user a question and then tells him if he is correct or incorrect, the code I am using only allows for case to be the same. Is there a way I can compare two strings without it checking for …
by theashman88 36 in Software Development ()
Member Avatar
Hi guys! Just conducting a survey for those who have tried these two operating systems. How would you compare these two in terms of these parameters: Ease of use Availability of Software Overall Security Virus Attacks Thanks!
by rae08 in Mac OS X ()
Member Avatar
Hi, Imagine a vector of structures with each structure containing various variables. //input some data from a file into DataSet How can I iterate over this vector, comparing say, x at the nth row to the x at the (n-1th) row and the x at the (n-2th) row, beginning at …
by toneranger in Software Development ()
Member Avatar
I Need some help.i just have some tables in data base, that is school ---Name(primary key),phonenumber,street,town,state,country college---Name(primary key),phonenumber,street,town,state,country Railwaystation---Name(primary key),phonenumber,street,town,state,country Hotel---Name(primary key),phonenumber,street,town,state,country In the front end, i will put two combobox and a submit button. All i need is first combo box will have to select the table.Second combobox shows …
by gurupts in Web Development ()
Member Avatar
i have an excel file which contains the following: (only part of the file) 1 SEG-AMK EG1832 Mechanics and Materials 286 1.5 EG1832 2 SEG-AMK EG1833 Electrical Principles 375 1.5 EG1833 EG1952 EG1903 3 SEG-AMK EG1835.1 Engineering Mathematics (1) 456 1.5 EG1835 EG1001 4 SEG-AMK EG1835.2 Engineering Mathematics (2) 363 …
by Fangling in Software Development ()
Member Avatar
I have written a script to get all elements then i go and find this element in another iframe. Wait, so essentially i have 2 frame's on a page, the one on the left i called the "online" and the 2nd one i called the "base". My end result is …
by scarcella 11 in Web Development ()
Member Avatar
I have two containers with the type of A So I wrote the A class with the necessary functions and I used a for it. It has a function that returns a value of E, in my case, it returns a double which I'm trying to compare to another double. …
by sparkthesunoff in Software Development ()
Member Avatar
Hello guys, Does anyone know exactly how to make a comparison script for car insurance? Would be great if someone could make one for me (£), or could teach me! Cheers, Sam
by sam.merry in Web Development ()
Member Avatar
The comparison operators: === <=> eql? equal? == Both are performing equality check I know. Some of them overrides also. But now my query is how to think,what to use in what situations? Explanation with a code would be better idea to understand. Thanks in advance!!
by arupface in Web Development ()
Member Avatar
I have my of key value pairs like this: I want to join these arrays such that if their 'Auth_order' are sub-strings( like WE3P-1-101 and WE3P-1-02 ) then Author is concatenated to previous array and current array is unset.Eg:( If array that has WE3P-1-02 as Author_order then this array's 'Author' …
by Aditya1991 in Web Development ()
Member Avatar
Have you ever tried using the String.Compare method for a case-insensitive string comparison? The on MSDN for the overloaded method: states At first glance, this looks like exactly what we want, doesn't it? There's a catch... look at the documentation again, especially the last phrase The integer value returned is …
by john.knapp 25 in Software Development ()
Member Avatar
I have the following lines of code, where an if statement compares two strings: I'm stepping through this in debug (VS 2012, .net 4.5) and watching the two string variables. They absolutely are equivalent, BUT for some reason the boolean logic is failing. Anyone have an idea why? Is there …
by Jsplinter in Software Development ()
Member Avatar
Hi, I am currently working on a script that will compare two numbers from a file. I am thinking that I need to use a regular expression in order to get the numbers, however I don't know what the regex would be since there are multiple numbers through out the …
by deadsolo in Software Development ()
Member Avatar
I noticed that when equals() is used to compare between two String objects it works fine. But when I compare two StringBuffer objects or two StringBuilder objects or mix of String and Builder and Buffer, equals() doesn't work even though I give same string value to the two objects being …
by rahul.ch in Software Development ()
Member Avatar
Why does first two eg give true when a check done on them using if(x==y) but 3rd and 4th case give false? eg1: eg2: eg3: eg4:
by rahul.ch in Software Development ()
Member Avatar
I get error on this line: "if(plaintext == ORIGINAL_alphabet[searching_alphabet])" **This is error:***error: no match for 'operator==' in 'plaintext == ORIGINAL_alphabet[searching_alphabet]* I know i need to overload operator "==" but i don't know how
by 111100/11000 in Software Development ()
Member Avatar
I have the following code ... I expect the output to be ... MGT-101 MGT-102 MGT-103 Instead, I get .... MGT-101 MGT-102 MGT-103 MGT-104 MGT-105 MGT-106 MGT-107 MGT-108 MGT-109 MGT-110 MGT-111 MGT-112 Where did I go wrong?
by calvinmicklefin in Web Development ()
Member Avatar
I am working with CSVfile program. I have already calculate something from it. Name,Age,Sex,Pincode,Disease 1. aaa,4,M,35265,flu 2. bbb,4,M,35652,Gastric 3. eee,6,F,35265,Brain 4. sss,7,M,32564,flu I have made program for calculating no. of age,sex and pincode as attached in the code. In this i have calculated that age=4 comes how many times and …
by jalpesh_007 -3 in Software Development ()
Member Avatar
I am attempting to create a script which checks to see if the user has a warning level of less than 3. Basicaly, I want to automatically deny any account which has a Warning Level (stored in the Database) of 3 or more from logging in but whenever I attempt …
by Octet 45 in Web Development ()
Member Avatar
I am reading from a file and creating two lists, then sorting them after sorting I am trying to compare each elements number of occurances in a list but printing them with that number for example if a list is something like {1,2,3,3,3,5,5,5,6} then I want to print a report …
by sfar_furqan -3 in Software Development ()
Member Avatar
Hello, guys. I made a program to compare numbers, Example input: 1 3 10 845157 2 1101101 16 5AE12 It transfers numbers from different number system to decimal, then it compares them, but it is not so fast as i need, maybe just a little advice needed, I really dont …
by Matkoo in Software Development ()
Member Avatar
I'm looking at starting a forum. I'm unsure on which forum package to choose. I would appreciate your views. Thanks in advance.
by Azmah 1 in Community Center ()
Member Avatar
Hi, I would like to know which motherboard is better, Intel Original or Intel chipset from ASUS/Gigabyte/ASRock/Zebronics. What is the difference between performance of Intel original vs Intel chipset? Which one to prefer? Thanks and Regards, ukshir
by ukshir in Hardware ()
Member Avatar
Hi Frendz, I have two text fields 'from time' and 'to time'. The time format of the two text fields are 11:30 am 01:30 pm. I want to give alert message in javascript when the users enter the to time less than the from time.
by karthik_ppts 81 in Web Development ()
Member Avatar
I just stumbled over this: mysql&gt; select "abc" = 0; +-----------+ | "abc" = 0 | +-----------+ | 1 | +-----------+ 1 row in set, 1 warning (0.06 sec) mysql&gt; show warnings; +---------+------+-----------------------------------------+ | Level | Code | Message | +---------+------+-----------------------------------------+ | Warning | 1292 | Truncated incorrect DOUBLE value: …
by smantscheff 265 in Databases ()
Member Avatar
Hello Gurus, I have a table that holds one date field and one time field. The formats are 2011-12-01 and the time field format is 22:55:01 I want to compare a string "2011-12-01 22:58:00" to the date and time field of the table, without having to take the string apart. …
by ppohlmann in Databases ()
Member Avatar
Hello, I would like to know how do I compare two chars properly Im making a healthcare project, its pretty rudimentary, Im trying to make a comparison between a char that the user inputs and the char that is in a structure that is saved in a .txt file So …
by rayden150 -1 in Software Development ()