74 Topics
|
|
Greetings, I have two tables named 'copyright' and 'logs'. Table : copyright Field : Copyr_md5 Table : logs Field : md5checksum Problem 1 Say i have a value stored in `$md5check` in php , now i want to check if the value stored in `$md5check` is found in field `Copyr_md5`.If … |
|
I would like to know the best way to manage the two drop down menu on the PHP page. 1st menu : Select Type of House (House1, House2, ) 2nd menu : Select Number of Rooms (1,2 .. 12) The system should be displayed price based on selected items. Need … |
|
#include <iostream> #include <cmath> #include <string> #include <fstream> #include <windows.h> using namespace std; struct Grade{ int getA; int getB; int getC; int getD; int getF; float marks[100]; }; void init( Grade* student ){ student->getA=0; student->getB=0; student->getC=0; student->getD=0; student->getF=0; for( int i=0; i < 100 ; i++) student->marks[i]=NULL; } int readFile( … |
|
// #include <iostream> #include <iomanip> using namespace std; int main() { float assign1, assign2, assign3, assign4, examScore; float assignWeight; cout << " Welcome to UOW Score System" << endl; cout << " " << endl; cout << "Enter the scores for Assignment 1 / 2 / 3 / 4" << … |
|
Hi! I am new in vb.net and use it in our game programming. I don't know if this is the same in what they do. Here's the code. Thanks! :) Dim jeepEnemyGallery As New jeepGallery Me.y = CInt(Int((8 * Rnd(1)) + 1)) Select Case y Case 1 To 2 jeepEnemy … |
|
Hi, I'm new to junit. I want to create test cases for if condition,loops. do we have any guidelines to write test cases for if conditions.Can any1 explain with an example. Thanks in advance. Lavanya |
|
Last year I reviewed the original Kensington KeyFolio Pro case with integrated keyboard, and liked it so much I have been using it on a daily basis ever since. With a DaniWeb rating of 9 out of 10, there really wasn't much room for improvement. So when Kensington released the … |
|
The Kensington Folio Trio Mobile Workstation for new iPad and iPad 2 is rather a large title for what is actually just a case. Mind you, it's also rather a large case. This thing is absolutely huge. No, seriously, it's actually bigger in all dimensions than my laptop. This thing … |
|
I'm currently creating a program where a user should enter the correct color shown in it. This should be entered in text box. What code should I use to make the program accept both upper case and lower case text inputs? For example "red" should be equivalent to "Red" something … |
|
My iPhone is always with me, and I will admit to having mild panic attacks if I misplace it around the office or house. Only once have I had cause to go into major panic mode though, and that was when I managed to leave my iPhone and my car … |
|
I have the following code ... <?php // test $item_101_product_title = "MGT-101"; $item_102_product_title = "MGT-102"; $item_103_product_title = "MGT-103"; $item_104_product_title = "MGT-104"; $item_105_product_title = "MGT-105"; $item_106_product_title = "MGT-106"; $item_107_product_title = "MGT-107"; $item_108_product_title = "MGT-108"; $item_109_product_title = "MGT-109"; $item_110_product_title = "MGT-110"; $item_111_product_title = "MGT-111"; $item_112_product_title = "MGT-112"; $item_113_product_title = "MGT-113"; $message = … |
|
Hi all. Maybe someone can help me here. I have a pagination document in php to paginate a large mysql table. This pagination document (by Jatinder Singh Thind, www.phpsense.com) "includes_once" another pagination document that has functions to handle the page links. The functions return a link. I'm trying to get … |
|
List the customer number and name for all customers located in the city of Grove. Your query should ignore case. For example, a customer with the city Grove should be included as should customers whose city is GROVE, grove, GrOvE, and so on. Can someone explain if I am doing … |
|
Hi all, I have a situation where am using String conditions(say if(name.equalsIgnoreCase(Arathy)). I want to replace this if-else loop with Switch cases..What way i can do to accomplish this? |
|
Hi, this is regarding a program I was working on, and codeorder managed to help me out, big time! Although One problem remains, I don't know how to make the streaks not duplicate. (If you don't understand, please review : [url]http://bit.ly/Av6Xeb[/url] ) [CODE] Private rnd As New Random '// DECLARED … |
|
[CODE] #include <iostream> #include<stdio.h> #include<string.h> using namespace std; int main() { // cout << "Hello world!" << endl; int t,i,j,a,flag; char str[1000001]; cin>>t; while(t--) { a=1; scanf("%s",str); for(i=0;i<=strlen(str);i++) {flag=0; if(!isdigit(str[i])) {flag=0; for(j=i-1;isdigit(str[j]);j--) { if(str[j]!='0') { flag++; a*=str[j]-'0'; //cout<<"flag"<<flag<<" "<<a<<"A"<<endl; break; } } if(flag==0) { a=0;break; } } while(a>9) { if((a%10)!=0) … |
|
string s1="Ui"; string s2="uk"; How can I compare them and print result just Uik or uik. not twice Uuik. my program understand such as different values(Uu). Is there any function or something like that? thank you a lot |
|
Hi all, this is a homework assignment that I'm not sure how to begin with. We are given all the code and I just need to finish a function to convert digits to words. For example, the string "1, 2, and 3." becomes "One, Two, and Three." The String "10" … |
|
Hello, I am doing a simple calculator program. I have a combo box and assigned numerical values to a string variable under each case number using the same variable name. My problem is I don't know how to assign that value. When I use the current code, it pulls the … |
|
Given an array A of length N, my task is to find the element which repeats in A maximum number of times as well as the corresponding count. In case of ties,I choose the smaller element first. Input First line of input contains an integer T, denoting the number of … |
|
Hi guys, Recently I was struck by a question "[B][COLOR="Red"]HOW MUCH AVERAGE TIME IS REQUIRED TO WRITE A TEST CASE OR TEST STEP FOR ANY APPLICATION. CAN WE HAVE ANY METRICS FOR IT.......[/COLOR][/B] Please Help ! Thanks in advance....... |
|
Hello i want to the textbox that when I start to type in names it should be like this [B]Camille Aisha Cordova[/B] How do I do this? |
|
Hello All ! I'm trying to write a Robot Class who have several methods. One of its methods is move() that move the robot the direction his looking at, one step ahead. I'm getting an error on this: [CODE]switch (Direction) {[/CODE] If some one can help me find the mistake, … |
|
As well as being Editor-in-Chief and Community Administrator here at DaniWeb, for the last 20 years I have also been a freelance journalist (writing for national newspapers as well as being Contributing Editor of PC Pro, the best selling computer magazine in the UK) and am fortunate enough to have … |
|
The trouble with Kensington lock systems for laptops in the past was that they were fiddly to actually use, which is why the company took a step back and redesigned the process by introducing the new ClickSafe system. This still utilises the same Kensington lock slot that appears on everything … |
|
Can anyone help me making ah Case Diagram for Online enrollment? can anyone provide links to a good Case diagram tutorial? and Please help me here |
|
Hi as u all probably notice Im a noob with Delphi Is it possible to code a case like I did below If it is please correct my faults I made so that it would run redSpan is a rich edit edt1s is a edit chelsea and arsenal are textfiles … |
|
I'm relatively new to VBA, and I'm trying to automate some macros for a datasheet. I need it to look at the value known as rackRack.Text (I know, not the best var name) and split it. The original value would look like: "B-04". I want it to split and select … |
|
Hi, I use the stl features to deal with string conversions, especially facets. Now, I am faced with the task to lower a string except its first letter. Please note that I am dealing with multi-byte characters and so I cannot simply replace the first character of the string with … |
The End.