199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for 666kennedy

i have an array weights[16][60] this being 16 rows of 60 elements in each one i have another error[16] which co incides with each with the 16 rows, this is the error from each row. is there a way i can put each of the 16 in order in the …

Member Avatar for 666kennedy
0
188
Member Avatar for kofidak

Hi My Uni assignment is to develop a flight Reservation using ASP and Ms Access database. I have started it and got stack with how to code a select from displayed flights using Radio button. I would much appreciate and suggestions: [code=asp]<table border="1"> <thead><h2><%=(rsOutBound.Fields.Item("deptCity").Value)%> To <%=(rsOutBound.Fields.Item("arrCity").Value)%></h2></thead> <tr> <% While ((Repeat1__numRows …

Member Avatar for kofidak
0
78
Member Avatar for mahaboob Basha

Hi i created one jsp form with 2 fields..now in the first servlet i want check whether those 2 fields values are presented in the Database or not..if not then i want move those values to another servlet .. how can i do this?how to get the values (parameter values …

Member Avatar for peter_budo
0
524
Member Avatar for bids

[code] #include <conio.h> #include <graphics.h> #include <math.h> #include <stdlib.h> #include <dos.h> void serp(int level, int Ax, int Ay, int Bx, int By) { int poly[4]={Ax,Ay,Bx,By}; setfillstyle(SOLID_FILL,YELLOW); if (level>0) { serp(level-1, Ax,Ay ,(2*Ax+Bx)/3,(2*Ay+By)/3); serp(level-1,(2*Ax+Bx)/3,(2*Ay+By)/3,(Ax+Bx)/2+sqrt(3)*(Ay-By)/6,(Ay+By)/2+sqrt(3)*(Bx-Ax)/6); serp(level-1,(Ax+Bx)/2+sqrt(3)*(Ay-By)/6,(Ay+By)/2+sqrt(3)*(Bx-Ax)/6,(Ax+2*Bx)/3,(Ay+2*By)/3); serp(level-1,(Ax+2*Bx)/3,(Ay+2*By)/3,Bx,By); } else fillpoly(2,poly); } int main(void) { int graphdriver=DETECT, graphmode; initgraph(&graphdriver, &graphmode, ""); int i, …

Member Avatar for bids
0
145
Member Avatar for ming97

Dear All, [B]Can you help me to find something wrong on the following theorem :[/B] [B]THEOREM 2 :[/B] if A and B are WSO(n1, a,b) and WSO(n2,c,d). respectively, where b>=c, then A(n1) * B(n2) is WSO(n1+n2-1, a,b-c+d) with depth max {d(A),d(B)+b-c} and fan-out max{fo(A),fo(B)} [B]THEOREM 3[/B] : H(n) is WSO(n,r,r+1) …

Member Avatar for ming97
0
299
Member Avatar for psyman_86

Hello everyone, I am having problem with a multiple public definition: ERROR L104: MULTIPLE PUBLIC DEFINITIONS SYMBOL: currenpacketbeingsampled MODULE: DataSampling.obj (DATASAMPLING) DEFINED: Main.obj (MAIN) The variable in question is defined only once in the header file, and only used in the associated C file. From my understanding a macro guard …

Member Avatar for psyman_86
0
260
Member Avatar for rouse

I am new to MySQL and did not notice this before. In order to get the query to work I have to use two different quote marks. Notice that the single quotes on the left where I list the column names are from the keyboard key with the tilde `~ …

Member Avatar for rouse
0
114
Member Avatar for hopalongcassidy

My problem is that I have a PHP application that needs to (in Windowsese) multi-task. I am relatively new to PHP and equally new to Linux. I need to know how to pass information from a parent process to a child process and vice versa. If somebody could please provide …

Member Avatar for digital-ether
0
805
Member Avatar for NinjaLink

Hello, I need help with a few things. Most of these things, I tried to do, but I need to know if I did them correctly, if not, how do I fix my problem? Thanks. 1) How do I make my MessageBox.Show say [B]"The Sum of Array Numbers is ____ …

Member Avatar for NinjaLink
0
168
Member Avatar for emotionalone

I need to create a Space Invaders kind of game and I have a demo I need to copy the main features from. The invaders have to be of at least 3 different types and they change color. So I figured the invaders are 3 child classes from a parent …

Member Avatar for cikara21
0
227
Member Avatar for binoj_daniel

Hi, I have an ASP.NET web app and Iam trying to show my clients a message to save data before saving when they click on the submit button which is working fine. But the problem is I only want to show the Message when there is an actuall change in …

Member Avatar for gaurish.salunke
0
157
Member Avatar for Alex Edwards

In C++, where are the header files that define the standard primitives and bitfields? I would like to confirm something, if it is possible. -Alex

Member Avatar for ArkM
0
190
Member Avatar for ccandillo

OK, this may be a dumb question but I'll ask anyway. I am starting to see the benefits of using classes. Most notably code reuse, inheritance and overloading. Shoud I still be writing fuctions in my scripts or do classes make them obsolete? Is there a rule of thumb that …

Member Avatar for Stefano Mtangoo
0
143
Member Avatar for realnsleo

hi there, i have a problem resetting my form with javascript. I have a registration form that when submitted, the action is performed in an iframe so that the browser does not have to load another page. After form validation, i want the php script in the iframe to clear …

Member Avatar for sasankasekhar
0
111
Member Avatar for MylesDBaker

Hello, I am trying to declare a 2D array (3x3) inside of a class. I have it set up like this: GameBoard.cpp[CODE] #include "GameBoard.h" #include <iostream> using namespace std; char board [3][3]; GameBoard::GameBoard() { board [0][0] = 'a'; board [0][1] = 'b'; board [0][2] = 'c'; board [1][0] = 'd'; …

Member Avatar for ArkM
0
151
Member Avatar for flosweb

Hi Guys, I am new here in this community. I still did some stuff with JSP, but now I have a principle questions. Would be nice to receive some feedback... I wanna build up a website with several JSP pages. But I don't want to place all the content into …

Member Avatar for ~s.o.s~
0
149
Member Avatar for CoolGamer48

Does anyone actually use the .hpp file extension for C++ header files? I've never seen it used, but I was just working with geany, and I noticed that it only syntax highlights C++ specific things if the file extension is .hpp (or .cpp, obviously, but not .h). So what's the …

Member Avatar for ArkM
0
139
Member Avatar for vahny

[code] #include<iostream.h> int main() { int row1[10]; int col2[10]; int m,n,p,q; cout<<"Enter the number of rows in matrix A"<<endl; cin>>m; cout<<"Enter the number of columns in matrix A"<<endl; cin>>n; cout<<"Enter the number of rows in matrix B"<<endl; cin>>p; cout<<"Enter the number of columns in matrix B"<<endl; cin>>q; if(n!=p) { int …

Member Avatar for cikara21
0
178
Member Avatar for balakrishnan.kb

hi every one please give me a idea for delphi language, and which database is used for that language thanks

Member Avatar for balakrishnan.kb
0
120
Member Avatar for bvssam

Hii Group, This is samuel Like to hav a small suggestion from you hope u ppl do. "[B]I would like to copy dat from one table to another of the same database in a give timestamp,I mean when system time equals to the feild time then the entire data should …

Member Avatar for bvssam
0
119
Member Avatar for deepukng

Dear Friend , I am Using Vb.NET for creating windows application. I have attched MS SQL database to my application and project is over. I dont know how to create setup file. please someone help me regarding this. Thank you,

Member Avatar for jbennet
0
151
Member Avatar for Emerald214

1) This is a sample OpenGL program. 2) I got this error when the console window (black screen) shows: freeglut Error: Function <glutDisplayFunc> called without first calling 'glutInit' 3) VC++ 2008, WinXP OS, Win32 consolde app project, all libraries installed. [code] #include <windows.h> #include <gl/glut.h> void display() { // clear …

Member Avatar for pavel989
0
143
Member Avatar for Icebone1000

Hi, i was tring to figure how set display mode to fullscreen under win2000, i saw at msdn that theres a SetConsoleDisplayMode, but that is for winXP +.. I tried [CODE] //sets the console window //to fullscreen void FullScreen(){ HANDLE consolehandle; int sysmetrics_x=GetSystemMetrics(SM_CXFULLSCREEN);//get full width int sysmetrics_y=GetSystemMetrics(SM_CYFULLSCREEN);//get full height COORD …

Member Avatar for marco93
0
172
Member Avatar for NinjaLink

Hello, I'm having a simple problem. For my program, each song has an id number which stores the songs information. For my deleteSong function, I am asking the user what id of the song does he/she wants to be deleted. After the user enters the id of the song he/she …

Member Avatar for NinjaLink
0
148
Member Avatar for deven1974

Hello, I'm trying complie this SortedList Program and List Java, but I'm alot errors. If someone can help with this, I really appricated. Thanks import java.util.Iterator; /* * * SortedList.java * */ public class SortedList<E extends Comparable<? super E>> extends List<E> { private int size; public SortedList(){ head = null; …

Member Avatar for Antenka
0
320
Member Avatar for astroboy_x4

Hi, has anyone tried to download files from FTP using VB? I have tried using an FTP control for my project, my problem is I can't recursively search for files within subfolders, I tried using FSO but it doesn't work since the path from the server are something like this …

Member Avatar for Dot Lexine
0
209
Member Avatar for tomtetlaw

I'm making a text game and im making a save() and load() function i'v got the save function to work but i dont know how to change varyables in the program depending on the varyables in the text files. heres the code for the functions: [code=python] def save(): openfile = …

Member Avatar for tomtetlaw
0
103
Member Avatar for Gamergirl22

Hi, I have a program problem with converting decimals to binary and back again. My teacher said that the program is to be like a menu and convert decimals or binary from the user's input. This is part of my code: [code=cplusplus] #include <iostream> #include <string> using namespace std; void …

Member Avatar for Gamergirl22
0
181
Member Avatar for Tank50

Hi Guys Most of time iam interest do a programming using C# language,but I got a project for PDA,so I hope to developed it using C language,Iam new to C language and ,what steps i have to do learn C language.Starting from first i think its time wasting,so what is …

Member Avatar for William Hemsworth
0
146
Member Avatar for maxicube

how would I get the install directory of another program, the registry perhaps? (using HLDS as my directory to be found) [URL="http://storefront.steampowered.com/download/hldsupdatetool.exe"](GET HLDS HERE!)[/URL] i fond the key which might be useful. (how would i open it? [CODE][HKEY_CURRENT_USER\Software\Valve\HLServer] "InstallPath"="C:\\hlds" "Full Name"="Half-Life Dedicated Server" "Region"="5" [/CODE]

Member Avatar for maxicube
0
127
Member Avatar for ddanbe

Busy writing an infix to postfix converter.(I'm a strange guy. I like to do those things from time to time...) I have a class Expression which is in essence : [CODE=csharp] [StructLayout(LayoutKind.Explicit)] //in c/c++ this is a union public struct Valoper { [FieldOffset(0)] public int Value; [FieldOffset(0)] public Oper Operand; …

Member Avatar for ddanbe
0
249
Member Avatar for reyuma2002

Please guys i need help with this. I am conversant with VB but i don't understand how am going to interrellate the Mobile phone and the Server to enable them to communicate. Can someone explain to me what steps i should take i don't mind if i could see a …

Member Avatar for wire2air
0
317
Member Avatar for silentbob671123

What I am trying to do is preload images on my website and delay my javascript slide-show until the images are completely done loading. Right now the slide-show starts while the images are still loading, making it kind of awkward. I am using this to preload my images but it …

Member Avatar for silentbob671123
0
122
Member Avatar for payne_99

Hello! I'm trying to execute a simple script in the command line, and for some reason, it's not working. Shouldn't it be as simple as this? [code]python myscript.py[/code] And yet when I try that, I get "Syntax Error: invalid syntax" I've googled around, read through the docs--I have a feeling …

Member Avatar for lllllIllIlllI
0
126
Member Avatar for asciid

hi guys. i am writing a class for registering data and i am having a problem calling functions and vars from other classes. here's a class diagram of where everything is called- [IMG]http://img376.imageshack.us/img376/19/classesdm8.png[/IMG] i am in forms, and i am having difficulty getting vars from site, using my functions in …

Member Avatar for somedude3488
0
140
Member Avatar for Alexpap

Hello all, i have a problem and im in need of your help... I have a treeview with 2 parent Nodes and in the parent nodes there are some node: [ICODE]Members New Search Administration Groups Photo Location[/ICODE] In all nodes there is a checkbox for a spesific reason, like this: …

Member Avatar for Ezzaral
0
195
Member Avatar for Maishai

The garage has a number of regular customers who have their vehicles serviced annually whereby the vehicle is checked over for faults and standard items like oil are replaced. The charge for this service is based upon the type of vehicle being serviced, with different rates for motorcycles, cars, buses …

Member Avatar for heathovc
0
152
Member Avatar for sfrider0

I'm trying to get this code from the microsoft msdn site working and having problems. [code] // Navigates to the URL in the address box when // the ENTER key is pressed while the ToolStripTextBox has focus. private void toolStripTextBox1_KeyDown(object sender, KeyEventArgs e) { if (e.KeyCode == Keys.Enter) { Navigate(toolStripTextBox1.Text); …

Member Avatar for sfrider0
0
400
Member Avatar for seacaptdon

I am using the following PHP redirect script for a non-profit website, but because the blocked IP list keeps getting longer and longer, I want to pull the IP information from a simple mysql database that lists only IP addresses that have been blocked. I have tried several different combinations …

Member Avatar for seacaptdon
0
206
Member Avatar for kyosuke0

whenever the clearMemory function is called i get a segmentation fault and i can not figure out whats wrong. The function is supposed to delete all pointers. The function brings in the pointer to the linked list by reference. The nodes in the list are structs i named bus that …

Member Avatar for rajenpandit
0
137
Member Avatar for realone

pls help job at stake!! An image is stored into database using delphi with a back end Access.This images were imported into sql server.Now i want to display the image using vb6.Please help with the code

Member Avatar for VIeditorlover
0
541
Member Avatar for ninjaimp

i have a web browser control which i have added a status strip. I can get the status strip to display the clicked link fine but i would like it to display the link target when the mouse is hover over the link but i cannot get it to work! …

0
121
Member Avatar for dusse

Hello guys.. I´m trying to do something like the code below .. [code=c] struct node{ int a; char *s; }; void main() { node *x; int sMAX = 3; int nodeMAX = 10; x = (node*)malloc((sizeof(int)+sizeof(char)*sMAX)*nodeMAX); ... } [/code] in other words I want to alloc dynamically the number of …

Member Avatar for Narue
0
218
Member Avatar for alexdm50

hi im new to daniweb im currently working on a piece of work. the idea is to create a bank account with deposit and withdrawal functions. create student business and current accounts (this is all roughly done and a case of copying and pasting for each account type with a …

Member Avatar for Lerner
0
148
Member Avatar for khalidmehmood

I want to learn game development, where i can get some tutorials for game development in java. or suggest any other language suitable for game development.

Member Avatar for Ezzaral
0
104
Member Avatar for newbietech

<?php $query_getf = "select ci.tb_ci_id, concat(ci.tb_ci_fname, ' ', ci.tb_ci_lname),ci.tb_ci_city, ct.tb_ct_desc, md5(ci.tb_ci_id), s.tb_s_name_full, case ci.tb_ci_addr_2 when '' then ci.tb_ci_addr_1 else concat(ci.tb_ci_addr_1, ', ', ci.tb_ci_addr_2) end, ci.tb_ci_phone_1, ci.tb_ci_phone_2, ci.tb_ci_fax, ci.tb_ci_email FROM tb_contact_info ci, tb_contact_type ct, tb_states s WHERE md5(ci.tb_p_id)='".$fd_p_d['md5_id']."' AND ci.tb_ct_id=ct.tb_ct_id AND ci.tb_s_id=s.tb_s_id ORDER BY ct.tb_ct_desc, ci.tb_ci_date_added"; //print $query_getf; $sth_getf = mysql_query($query_getf); …

Member Avatar for Rhyan
0
97
Member Avatar for lg79

Hi, I would like to count all nodes "source" of "word" that start with the string "ABC". I can have multiple "word" inside a the element "wordGrp", as in entry/section/following-sibling::wordGrp/word/following-sibling::source For-each-group and a following count(current-group()) did not work for me, the XSLT processor returned "A sequence of more than one …

Member Avatar for fpmurphy
0
77
Member Avatar for pedramphp

Dear folk , I'm work with PHP speedy Plugin which makes my webpage loads 500% faster [url]http://aciddrop.com/php-speedy/[/url] , the configuration of the php speedy is ok , but when I add <?php require('C:/wamp/www//php_speedy/php_speedy.php'); ?> af the top of the page and then <?php $compressor->finish(); ?> at the bottom of the …

Member Avatar for digital-ether
0
171
Member Avatar for ninjaimp

I trying to create some, what i thought, simple rollover buttons. everything works fine except that the background colour on the mouse enter is always different to what i set. I have tried all the different flat settings on if set to 'flat' the background colour allways appears different despite …

Member Avatar for ninjaimp
0
189
Member Avatar for Softwarez

I have the following XML: <?xml version = "1.0"?> <transactions> <transaction date = "05/22/2000" id = "0122"> <from account = "100392"/> <to account = "203921"/> <amount currency = "USD">15</amount> </transaction> <transaction date = "06/01/2000" id = "0129"> <from account = "203921"/> <to account = "877521"/> <amount currency = "USD">4800</amount> </transaction> …

Member Avatar for fpmurphy
0
132

The End.