199,113 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for cpeng

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 …

Member Avatar for acidutzu
0
116
Member Avatar for duttydea

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 …

Member Avatar for duttydea
0
92
Member Avatar for aloha96813

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 …

Member Avatar for dwikstrom
0
199
Member Avatar for atularora66

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 …

Member Avatar for atularora66
0
105
Member Avatar for odntuk

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] …

Member Avatar for essential
0
112
Member Avatar for schowhan

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 …

Member Avatar for schowhan
0
111
Member Avatar for rtrader

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!

Member Avatar for Ezzaral
0
114
Member Avatar for bobrien314

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 …

Member Avatar for Ezzaral
0
101
Member Avatar for jobojo

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 …

Member Avatar for jobojo
0
138
Member Avatar for san_sarangkar

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 ?

Member Avatar for Aia
0
151
Member Avatar for patricksquare

//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 …

Member Avatar for bhoot_jb
0
188
Member Avatar for san_sarangkar

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]

Member Avatar for Freaky_Chris
0
195
Member Avatar for ChroNoS

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 …

Member Avatar for Salem
0
173
Member Avatar for DanDaMan

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 …

Member Avatar for Denniz
0
366
Member Avatar for Asen

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 …

Member Avatar for Denniz
0
345
Member Avatar for lomo

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. …

Member Avatar for lomo
0
253
Member Avatar for ChroNoS

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?

Member Avatar for ChroNoS
0
87
Member Avatar for B_Acs

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 …

Member Avatar for STUDENT#101
0
216
Member Avatar for DogfoodEnforcer

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 …

Member Avatar for Freaky_Chris
0
180
Member Avatar for Poab9200

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 …

Member Avatar for LizR
0
117
Member Avatar for Mackjan

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 = …

Member Avatar for Mackjan
0
103
Member Avatar for patricksquare

//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() { …

Member Avatar for stilllearning
0
160
Member Avatar for Asad 01

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

Member Avatar for Asad 01
0
88
Member Avatar for R0bb0b

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. …

Member Avatar for R0bb0b
0
193
Member Avatar for EBaller55

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 …

Member Avatar for ArkM
0
253
Member Avatar for navyfalcon

<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 …

Member Avatar for sarehu
0
501
Member Avatar for Hockeyfreak889

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

Member Avatar for masijade
0
72
Member Avatar for Linking_90

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 …

Member Avatar for Linking_90
0
113
Member Avatar for Konokai

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, …

Member Avatar for MattEvans
0
119
Member Avatar for MylesDBaker

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 …

Member Avatar for MylesDBaker
0
179
Member Avatar for DGULLIVER

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 …

Member Avatar for DGULLIVER
0
122
Member Avatar for abu taher

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?

Member Avatar for abu taher
0
109
Member Avatar for maurya_alld

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

Member Avatar for selvaganapathy
0
294
Member Avatar for janustt

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 …

Member Avatar for janustt
0
122
Member Avatar for justinlake888

what is a global variable? is that when the variables are located outside of int ()??

Member Avatar for dmanw100
0
128
Member Avatar for PkTidus

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 = …

Member Avatar for rapture
0
119
Member Avatar for jackakos

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> …

Member Avatar for jackakos
0
148
Member Avatar for daviddoria

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

Member Avatar for daviddoria
0
156
Member Avatar for anuj_sharma

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.

Member Avatar for Narue
0
99
Member Avatar for blaze5488

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 …

Member Avatar for blaze5488
0
98
Member Avatar for silentone190

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 …

Member Avatar for silentone190
0
175
Member Avatar for PPP1

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?

Member Avatar for Narue
0
158
Member Avatar for Se7Olutionyg

[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); …

Member Avatar for stilllearning
0
213
Member Avatar for dflor

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?

Member Avatar for dflor
0
78
Member Avatar for theetezz

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 …

Member Avatar for Lethos
0
129
Member Avatar for Jennifer84

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]

Member Avatar for Jennifer84
0
169
Member Avatar for nrew

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 …

Member Avatar for bhoot_jb
0
138
Member Avatar for anithajoe

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 …

Member Avatar for anithajoe
0
150
Member Avatar for dimples09

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 …

Member Avatar for Ezzaral
0
107
Member Avatar for mousey182

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 …

0
90

The End.