199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for NoID

Hello Guys, Is this possible, if so what do i need to type into Google for further information or if someone can show me please. I insert into the database under table Product1, Product2 Product1 -> Make -> Nokia | Model -> N95 Product2 -> Make -> SamSung | Model …

Member Avatar for NoID
0
67
Member Avatar for mcap61

I have to write a program to check the ranking of the top 1000 boy and girl baby names using linked lists and pointers. I have based most of my work off a tutorial from this website [URL="http://richardbowles.tripod.com/cpp/linklist/linklist.htm"]http://richardbowles.tripod.com/cpp/linklist/linklist.htm[/URL] And here is the link to the list of names. You probably …

Member Avatar for jonsca
0
230
Member Avatar for edwingudfriend

I have worked with code but I found this error Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\wamp\www\ACM1\search.php on line 50 <form name="form" action="search.php" method="get"> <input type="text" name="q" /> <input type="submit" name="Submit" value="Search" /> </form> <?php // Get the search variable from URL $var = …

Member Avatar for rajabhaskar525
0
265
Member Avatar for omotoyosi

Pls I have a table generated at runtime. each column have 2 IMAGE button (ADD AND DELETE) IF THE USER CLICKS ADD BUTTON, THEN A ROW IS DYNAMICALLY ADDED AND IF THE DELETE IS CLICKED THEN THE CURRENT ROW IS DELETED. hOW DO I GO ABOUT THIS. AM USING VB.NET …

Member Avatar for omotoyosi
0
96
Member Avatar for wonderland

Hi, I recently discovered .htaccess, and it works great for me :) Only problem I came across was utf-8 support. I'm using .ht for password protection. And my pages is using utf-8 (I'm using letters like: ā, č, ē , etc). In "AuthName" I wrote a sentence in which uses …

Member Avatar for wonderland
0
106
Member Avatar for beforetheyknew

How do you write a driver class? i've never used one before and its sort of dropped into the spec of this program. It uses public static void main(String[] args){} right? i have 4 other classes, so what should i do?

Member Avatar for javaAddict
0
153
Member Avatar for hao90

i think this part got problem..anyone can guide me? [CODE]ifstream BanKing; BanKing.open("BankData.txt"); while (!BanKing.eof()) { BanKing>>loginName; BanKing>>password; if(loginName == loginName1 && password == password1) { menu(); break; } else { cout<<"\tUnregistered ID or you have enter a wrong password !"<<endl; cin.clear(); cin.ignore(); getchar(); return ; } BanKing.close(); } }[/CODE] i …

Member Avatar for hao90
0
176
Member Avatar for TotalHack

So my code does everything I want it to do with the exception of when writing to storage I am not sure how to make true and false write as 1 and 0 respectively. I do not know if it's my syntax or my placement within my program...Kind of lost …

Member Avatar for JamesCherrill
0
160
Member Avatar for usmanabb

"To verify that discrete sinusoidal and complex exponential signals have distinct frequency only in an interval of length 2π. Furthermore you have to verify that the frequency of discrete sinusoidal signal increases as we move from 0 to π and decreases when we move from π to 2π. You have …

Member Avatar for usmanabb
0
181
Member Avatar for hery

this is my code: [code] $user = "sa"; $pass = ""; $host = "192.168.1.246"; $db ="payroll_hti"; $dbhandle = mssql_connect($host, $user, $pass) or die("Couldn't connect to SQL Server on $myServer"); [/code] i access from my computer with ip 192.168.1.100 this is my error report: Unable to connect to your database server …

Member Avatar for bodiandras
0
86
Member Avatar for Facte

Hi there guys, I am trying to create an RSS feed and for the life of me I can't get it to create working hyperlinks. Any help would be so massively appreciated. [CODE]<?php session_start(); $connection = mysql_connect("******", "******", "*****") or die (mysql_error()); $db = mysql_select_db("****", $connection) or die (mysql_error()); $q18 …

Member Avatar for jcanaway
0
178
Member Avatar for lewashby

In the following program, I have three different comments each after a line of code. Please read those comments to answer my questions. [CODE] # Property Critter # Demonstrates get and set methods and properties class Critter(object): """A virtual pet""" def __init__(self, name): print "A new critter has been born!" …

Member Avatar for lrh9
0
263
Member Avatar for new programer

Hello, I want my program to repeat it self if the user entered a specific number and to terminate if he entered any other number or charcter the repeating part worked put the terminating part did not . it kept on doing an infinate loop how can I fix it …

Member Avatar for mrnutty
0
93
Member Avatar for Ryujin89

I have created a class that allows the user to input their mailing address, order date, type of cookie ordered and the quantity. I'm taking things step by step and have got the program running, but I can't get the comparing part to work. It will accept any string as …

Member Avatar for Ryujin89
0
113
Member Avatar for lifeworks

hi Ive realised that I have some way to go before I can call myself an accomplished php developer. I want to transfer my skill set into legit object orientated design, and also to learn best practice for designing php apps for the web... to the extent that I need …

Member Avatar for phpbeginners
0
146
Member Avatar for nccsbim071

How do i start mysqlserver with option of --log-bin using phpmyadmin. Where do i set mysql server startup options in phpmyadmin.

Member Avatar for phpbeginners
0
140
Member Avatar for 825

please can anyone help me with this homework i do not know what to do. thank you 1. Write a program that will count from any user-inputted number to 0. For example, if the user inputs 5, the program should output: 5, 4, 3, 2, 1, 0.

Member Avatar for b1083
0
118
Member Avatar for TheRekz

As you can see here that I have a text box with three submit buttons each redirecting to a different jsp page, however in those jsp pages, when I do request.getParameter("bid"), all I get is null... How can I fix this? [code] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> …

Member Avatar for javaAddict
0
523
Member Avatar for rimorin

Dear JavaFans, I notice that if you use FileOutputStream and FileWriter to write a string into a textfile (.txt) , the Java i/o implementation doesn't seems to recognize the syntax \n which is the newline function. Anyone facing the same problem? The output text file will simple display all strings …

Member Avatar for rimorin
0
114
Member Avatar for UberJoker

Hello everyone. Got a bit of a weird problem here. I cant seem to figure out a way to read a file with a format like this... hello what 100 200 its a string string integer integer i need to put each of those values in separate arrays. eg: array1[0] …

Member Avatar for UberJoker
0
153
Member Avatar for sarithak

hi i need to create .xml file by using php dynamically... i want the below formate...here [B].mp3[/B] files from url(get parameter)..... [CODE]<?xml version="1.0" encoding="UTF-8"?> <playlist version="1" xmlns = "http://xspf.org/ns/0/"> <trackList> <track> <location>mp3/07 - Evvariki.mp3</location> <title>MP3 Player!</title> </track> </trackList> </playlist>[/CODE] anybody help plz..

Member Avatar for rajabhaskar525
0
944
Member Avatar for JGClifton

Hi guys, Firstly, thanks for the great community, have been lurking for a while and have picked up a lot of help from existing threads. I am making a small program which takes some inputs as strings, i then need to display a list of these inputs, be able to …

Member Avatar for rs25
0
202
Member Avatar for gogo2010

I have to write a program to get traffic lights to work - how do i get it to show green and amber at the same time? any suggestions?

Member Avatar for hero_1036
0
83
Member Avatar for mokia1

This is the problem Write a program to assign passengers seats in an airplane. Assume a small airplane with seat numbering as follows: A 1 2 3 4 5 B 1 2 3 4 5 C 1 2 3 4 5 D 1 2 3 4 5 E 1 2 …

Member Avatar for mokia1
0
280
Member Avatar for OmniX

Hi People I have done captcha a year or two ago, just wondering if there are any new techniques, ideas, tutorials, etc? And yes I would like to implement an Audio Captcha also. Regards, Matthew

Member Avatar for hemgoyal_1990
0
81
Member Avatar for stewea99

Hi, I have this form which so far displays data if its there or lets you enter new data in the form. I have a combo box which at present inserts whatever is selected into my table. How can I make it so the id of the item in the …

Member Avatar for nth
0
186
Member Avatar for dahliababy

[code] package squishgame; /* * The stop watch class will allow a program to start and stop a stopwatch as * well as return the stopwatch as a string, a total ms's, or the hour, min, and * seconds separately. * * The System.currentTimeMillis() returns the number of milliseconds since …

Member Avatar for kdkanishka
0
93
Member Avatar for pradeepktg

Hi, I want to remove the current DOM using tagName=DIV. Below function works fine in IE but not working properly in mozilla. The 'if' part is for IE and 'else' part is for mozilla FF. In 'else' part,The current DIV is not removing, only the DIV at position 1,that is …

Member Avatar for Airshow
0
116
Member Avatar for hao90

Can anyone guide me how to solve for the login problem..i think is the read file problem.. I try many ways but can't. here the code: [CODE]#include <iostream> #include <string> #include <fstream> #include <cstdlib> #include <cmath> #include <windows.h> using namespace std; class bankAccount { private: string name, loginName,loginName1; float IDnum; …

Member Avatar for hao90
0
286
Member Avatar for lich

hi, im doing my final year project. im using some api's. i was reasearching on speaker dependent systems. but i wanted to know about speaker independent AP's but after searching for several hours i realised there are some api's so that the user do not have to do those put …

Member Avatar for lich
0
84
Member Avatar for Henzard

I have a php user front-end and would like to validate a some fields to stop duplicates the database is oracle and the form is quite large i was wondering if it is possible with Javascript or ajax to run a select statement using php code check the values and …

Member Avatar for phpbeginners
0
153
Member Avatar for rafta

I have wrote this code about Soccer score using Data Structures, but it does not give me the Highest Score, Name of the Highest Score achiver and the Table of Players and their scores,points. As its getting longer and longer i am getting confused. Please help me [CODE] #include <iostream> …

Member Avatar for rafta
0
153
Member Avatar for jdrei

i'm trying to add two arrays and i can't seem to get my carry to work in my add function. for example, if array a has 1,2,3, and array b has 5,6,7, i should get 690. but since there is a flaw here, i get 680. why? can anyone point …

Member Avatar for jdrei
0
86
Member Avatar for angel1204

I am taking entry level C++ course, and I am having trouble with my assignment for this week on Sequential Files. Here is my assignment: Create a C++ console application that analyzes the contents of a text file. Your program should count the number of: lines (hint: use getline) words …

Member Avatar for Clinton Portis
0
127
Member Avatar for seeplusplusbeg

I need help creating a program. I have a text file that is 0's and 1's which create a picture. There are 33 rows and 50 columns. Every row contains 0's and 1's. what i need to do is do a program that will read the zeroes and ones and …

Member Avatar for necrolin
0
118
Member Avatar for Seriss

Part of my program displays a list of valid IDs, their pay, and a list of bad ids. Several of the values are.. empty I guess so they display as 0s. How can I keep that from happening?

Member Avatar for Seriss
0
84
Member Avatar for Darkmist

Hi, I am working on a program, it asks user for a file name and opens that file with that name, do some calculations and create a new file with the filename.output (.output is the extension) and save the contents into it. I have been working on it for a …

Member Avatar for Clinton Portis
0
269
Member Avatar for Sandar Khin

Hi all, I want to make plugin.Pls tell me steps of making plugin in java.Thank for any answer.

Member Avatar for Sandar Khin
0
70
Member Avatar for ericwshoemaker

Hi all, I have a c++ program i'm working on focusing on pointers in a circular linked list. I need to have the user specify the position of the "dog" in the line (the program is a mock dog show). Then a function checks for the specified position and returns …

Member Avatar for ericwshoemaker
0
82
Member Avatar for woolm110

Hey all I'm currently setting up configuration for my webpages and i'm having trouble with Admin access. I'm using MS Access to store everyones details, within the database i've created an Admin user. I'm trying to configure the web.config so I can set access to pages for different users, everything …

Member Avatar for kvprajapati
0
150
Member Avatar for Darkicon

Awhile ago I made an app that uses Performance Counters to display info pertaining to CPU, RAM, hard drives, etc. kind of like Window's program (Forgot the name), but only displaying info people would really need. I want to continue working on that app and adding new stuff to it. …

Member Avatar for kvprajapati
0
100
Member Avatar for Instinctlol

can anyone help me convert this code from array to Vector? I need this in it [CODE]class VectorList { vector<WeatherStation> List; vector<WeatherStation>::iterator ThroughTheList; public: VectorList() {;}[/CODE] [CODE]#include <iostream> #include <string> using namespace std; class WeatherStation { string StationDesignation; //Identifies the station string StationAgent; //Who's responsible double Temperature; //The temperature public: …

Member Avatar for Clinton Portis
0
117
Member Avatar for Hanyouslayer

I have been working on this for a bit, and I have made some great strides. However, there are just a few things bugging me that I can't seem to figure out. This is an assignment, and I don't expect anyone to toss out an entire program for me. However, …

Member Avatar for Hanyouslayer
0
317
Member Avatar for cwarn23

Hi and I have a simple question. I am designing a c++ application but I need to be able to import pictures from file (nearly all formats) then to place the pixel colors into an array. Also when retrieving the pixel colors it needs to retrieve the RGB scale and …

Member Avatar for cwarn23
0
103
Member Avatar for wowaha

Hi, everyone! I'm new to DaniWeb and also to PHP and MySQL. I have a script, previewfile.php, that extracts files of various file types (currently .doc, .docx, .xls, .xlsx, and .pdf) from a MySQL database and is supposed to display them to the user. I'm encountering difficulties in displaying the …

Member Avatar for kireol
0
182
Member Avatar for Poab9200

Hello all, I'll do my best to make this as simple as possible to explain. 1. I'm using a WinForm DataGridView. 2. I'm using an auto complete feature that I've coded and I'm trying to add the data that a user has entered in the first column to a generic …

0
192
Member Avatar for kahaj

How can you access the Start Menu from a VB form for both Windows XP & 2000? I've done a lot of research and haven't found anything that works for this.

Member Avatar for me655321
0
94
Member Avatar for cw08

I want to retrieve addresses supplied in a database and on page load, have a map be populated with markers at the location of those addresses. I can get the information from the database, but I can't figure out how to call the showAddress function and pass in the value …

Member Avatar for kvprajapati
0
661
Member Avatar for jmark13

I have some cnf files, which are txt files that are in a specific format for conjunctive normal form formulas. I want to take this file, which looks something like this: c The random seed used to shuffle this instance was seed=1755086696 p cnf 1200 4919 -35 491 -1180 0 …

Member Avatar for jmark13
0
4K
Member Avatar for Mclovin1234

Hey i need help with my program, I need to flip a coin and check how many heads and tails has been flipped. Heads = Win and Tails = Lose. What im trying to do is how do i calculate the winning totals for example what i want is Heads …

Member Avatar for Clinton Portis
0
123

The End.