199,113 Archived Topics
Remove Filter ![]() | |
i am making the hotel reservation system database.cosidering the following customer(name,phone,address,city,creditcard no,etc) reservation(check in date, check out date, price, customer name, no of rooms) room (room no,room type, price)' but i am not satisfied with it.i have to keep record of hall and table reservation as well . i want … | |
i am trying to calculate my working hours. I have a start time, a finish time and a lunch flag. What i am hoping to achieve is: difference between start & End time. If Lunch flag equals yes then deduct an hour from the Total. Can anyone help? Thanks in … | |
I can open most of the FileMaker files on our network. But all of a sudden I've been getting errors when I attempt to open a couple of the files that were working fine all these years. When I try to open these problematic FileMaker Pro 5.5v1 files, I get … | |
I'm new to java and we have to create a program telling the user how much of their income will be taxed based on rates given out by the government of Canada. I am getting 2 errors, one saying that "variable federal might not have been initialized" and the other … | |
I'm trying to pass on a URL variable using Javascript and it works fine in Fire Fox but not in IE. I've been reading that IE7 has a problem with GetElementbyID but I don't know how to work around it using the code. Any help would be greatly appreciated. [CODE] … | |
There is showing error but i am not able to solve, please help: error is : [B]You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 Warning: mysql_fetch_array(): supplied argument is … | |
I have a generic static inner class inside a generic non-static class. It gives me errors because E cannot be accessed from a static context: [CODE] public class List<E>{ public static class InnerClass<E>{ } [/CODE] How do I fix this? Thanks! | |
I am writing a code to read in a mips file to look for data dependencys, but when i read the file in i get all kinds of goofy stuff coming in as well, thanks in advance for any help. [code=java] import java.io.*; import java.util.*; public class hw { static … | |
Good evening everyone. I am new here and also new to JavaScript. I have a small assignment that I think I have just about done, but the False part of my conditional expression is not calculating properly. My program keeps 'spitting out' the same calculation of rate times hours if … | |
Hi every body , I got one problem that how can we generate 1 to n numbers without using any loop and without using recursion function ? | |
//challenge,, fix this! [code=cplusplus] #include<stdio.h> #include<conio.h> void main() { struct job{ int at; int bt; }; struct job J[80], cpy[80], temp, cpy2[80]; int q, oh, jbn, x, y, z, t, ref=0, tt[80]; again: clrscr(); textcolor(YELLOW); gotoxy(20,5); cprintf("*** ROUND ROBIN WITH OVERHEAD ALGORITHM ***"); textcolor(10); gotoxy(5,7); cprintf("How many jobs do you … | |
Hi, Please help me doing Program for "Game of life". Here is the link for that: [url]http://en.wikipedia.org/wiki/Conway%27s_Game_of_Life[/url] | |
I am develping a program to create an rtf file.The rtf file will be having images in it that will form a border around the page. Here is the code so far: [ICODE] #include "rtflib.h" #include "globals.h" #include "errors.h" void main() { // Set RTF document font and color table … | |
Now, we all know that // makes a comment. But I have a question about the compiling of the program? Say you were to make a comment with a whole bunch of underscores to signify a different section of code. Does the amount of comments written in the source code … | |
I'm a beginer in OpenGl. I downloaded glut 3.7.6 package but I didn't find glu.h, glaux.h, opengl.h, opengl32.h and gl.h in there. Where can I get it ? And if I've found it, how to set it so it can work well. I'm using VC++ 2008 Express. Please tell me … | |
Write a complete function: DNA represented as a list of the alphabet letters A, C, G and T. How many times the sequence ACG occurs in a specific DNA string. (An example: If the list is CACGTTGCGTACGAA, then the number of occurrences of ACG will be 2.) Write function nrACGOccur. … | |
I am trying to embed an image into an rtf file using VB. Well, I tried using the clipboard method but it doesn't wield any good results, I have to embed it and align it and copy it so that the images form a border. Ideas anyone? | |
I am at the end of my first term in my C++ classes. I have managed well so far, but this program is completely frustrating me! Please help me figure what to do. Okay my assignment is kind of complicated for me.....here is what I am supposed to do, followed … | |
Hi there Daniweb, right now im in an engineering program and we are being put through a crash course in C. Ive never dont any type of programming before so it is quite an adventure (to say the least). Currently we are doing an assignment in which we have to … | |
Hello all, I have a few questions and some problems. I've been doing some searching on the web and cannot find a source that can aid me with these issues. Anyways, I have several text box's that need to have the following properties: Numbers-Only Commas Ex. 1,000 instead of 1000 … | |
What dose it means at Dice.rollDice(Dice.java:30) java.lang.IllegalArgumentException: n must be positive at java.util.Random.nextInt(Random.java:250) at Dice.rollDice(Dice.java:30) my code is : [code=jva] import java.util.Random; public class Dice { // instance variables. private Random mRandom; private int mSides; /** * Constructor for objects of class Dice */ public Dice(int sides) { sides = … | |
//can someone debug this program,,, thanks,,, [code=cplusplus] #include<stdio.h> #include<conio.h> #include<dos.h> #include<graphics.h> #include<stdlib.h> #define N 100 struct processors //PROCESS ATTRIBUTES// { float burst; float arrival; int priority; int num; }p[20],temp; struct ssss { int no; int xx; float arr; float burst; float ww; int pri; float wait; }process[N]; void main() { … | |
hi!!! everyone i am the student of O'levels and i am making my project of com. and in great need of a complete version of vb6.0 plzzz.. send me a link or share with me... plzzzzzzzzzzzz | |
I use to use all for loops for looping through database data sets and just started using while loops with mysql_fetch_ type functions and for some reason, the second mysql_fetch loop in the file never seems to fire but does when I switch the second one to a for loop. … | |
I am using Visual C++ 2005 with SP1 why does the following code generate a compiler error (error C2062: type 'int' unexpected)? [code] for(int i=0,int j=0;i<5;i++,j++){} [/code] Note the following two variations generate no compile error [code] int i,j; for(i=0,j=0;i<5;i++,j++){} [/code] [code] int j; for(int i=0,j=0;i<5;i++,j++){} [/code] Is this just … | |
<Quote> EriCartman13 Could you add a TI BASIC under you programming section? cscgal Administrator We have an "Other Languages" section (which includes a BASIC subforum) for less common languages. If we see a large number of threads related to a particular language within this forum, a new subforum will be … | |
How would you make it so that you check if the user has pressed the keys up, down, w or s every half a second | |
Hi, I was hoping that someone could give me some direction with how to solve this probem. The only info in this problem is word has N digits[only digits] and the numbers (output) should be in increasing order example 1469 or 468 The output should give all combinations in the … | |
I'm trying to formulate an algorithm that will calculate the point where an independently rotating point collides with an independently rotating line.This will only concern instances where the rotating point, which will be called P1 from now on, and the rotating line, which will be called L1 from now on, … | |
Hello everyone, I am having a really difficult time getting this program off of the ground. I need to use a while loop to read data from a file and then read tonnage numbers corresponding to names read in from that file. The assignment looks something like this: [I]After watching … | |
Hi I have a combo box with a list of Months however the Months are preceded with a single character code i.e F (January) G (February) H (March) J (April) K (May) M (June) N (July) Q (August) U (September) V (October) X (November) Z (December) H (March) As I … | |
I use datagrid to show data and use adodc control. but when connect between them a msg show "No compatible data source was found for this control. please add an intrinsic data control or a remote data control to the form." Is there any proses to connect between them? | |
Hi, Can any body know about the disable the print screen function key of key board. My requirement is this that on pressing "Print Scrn" of key board does not copy the contents of current window. Thanks in advance | |
I'm not sure where I'm going wrong in this program. I needed to create two different classes, one being the driver class the other the utility class. The purpose is to ask the user for the circle's radius, creating a Circle object, and then reporting the circle's area, diameter, and … | |
what is a global variable? is that when the variables are located outside of int ()?? | |
Hello, I need to know how to "extract" information out of list box. [code] Dim intLoop As Integer Dim blnStartG As Boolean Dim intCounter As Integer Dim strMedal As String Dim intcheck As Integer For intLoop = 0 To (lstResults.Items.Count = -1) blnStartG = False strMedal = lstResults.[COLOR="Red"]?????????[/COLOR] blnStartG = … | |
I am retrieving a list from my sql db into a select option box which works fine. The other part of the script should enable a selected name to be printed into a textarea, however this bit is giving a headache. Hope someone could be of help. [CODE] <HTML> <HEAD> … | |
Does anyone know how I can count how many times a pdf has been downloaded from my site? Maybe someone has a php script or something that does this? Thanks! Dave | |
hey Guys, I have completed the basic concepts of C and C++. I want to know whether should i go for file handling and database connectivity or should i go for java. Please help me on this. | |
What is suppose to happen is that I am suppose to take a string like "Micheal Jordan" and reverse it and return it with a comma after the last name. like "Jordan, Micheal" but that is not what i am getting can you help please. I have also included the … | |
Hello. I am new at this and I'm having trouble getting a total from multiple data. What i need is a total for a final summary. How do i calculate this? i have searched and read many text on this subject, but have had no luck... some how i get … | |
Hello, I am little bit confuse for c and c++. All loops are same in both the languages so why they are different for each other? | |
[CODE]// file: PayrollFunctions.cpp // Computes and displays gross pay and net pay given an hourly // rate and number of hours worked. Deducts union deus of $15 // if gross salary exceeds $100; otherwise,deducts no dues. #include <iostream> using namespace std; // Functions used... void instructUser(); float computeGross (float, float); … | |
I've already installed apache server, php and mysql and they are working. I can't configure php and mysql to work together. When I run the test, I receive the message: "Fatal error: Call to undefined function mysql_connect() in C:\apache\htdocs\mysql_test.php on line 9". What can I do? | |
Im in DIRE need of someone that knows PHP and or HTML well...ive begun a text based game which i already have a domain and webhost for and ive also got a script template...but i majorly suck when it comes to putting this stuff together... i am willing to give … ![]() | |
I know how to declare a 1D vector like below but how do you declare a 2D vector ? [code] List<String^>^ Vec1 = gcnew List<String^>(); [/code] | |
can somebody help me?Im a 1st yr. college student taking up IT. And we have this case study that I cant seem to answer on my own so I decided to join daniweb. The program that Im referring to is a slum book simulating program. Where you need to enter … | |
Hi All, I have a serious issue with my website. I am currently trying to implement a new design for my website using ASP.Net and C#. I have a homepage that has a left navigation bar, content place holder and a footer. I have created 3 separate controls for each … | |
This is the main of my program all errors have been solved now I need help sorting my array list with a selection, bubble and insertion sort to print out in alphabetic order using the name as key numeric order using the income as key order of nationality in alphabetic … | |
Hey Guys, Thanks for taking the time to read this, I have the following, rather complicated queries that I am trying to join, and I've spent the past two days attempting to do so, but had no luck so far so any help would be very much appreciated. I have … |
The End.