199,113 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for smeghead007

Hey guys i need help with my program. What I need to do is to open to inout files. one containing the accout numbers with there names and balance. the second is the transactin history with accout num ie 123 d45.67 d 56.78 w 78.99. My problem is that i …

Member Avatar for smeghead007
0
340
Member Avatar for diafol

Hi folks, getting a problem adding name/values to make an array to pass to php. I've got a number of inputs named [B]week_start_x[/B] (where x is an integer ranging from 1 to a dynamic number [generated through php] - the max no. is determined by another field called 'yearblocks'). I …

Member Avatar for Airshow
0
889
Member Avatar for StaticX

Hi everyone, I am having a little(lot of..) trouble figuring out how to combine a GUI I have made and the code that goes with it. I am vaugley familiar with action listener process, and I understand this is how to give functionality to buttons etc. However, the part I …

Member Avatar for StaticX
0
160
Member Avatar for arctushar

I have a javascript. I did not understand the language. here is the link of the script [URL="http://www.unitconversion.org/converter3/converter3.js"]http://www.unitconversion.org/converter3/converter3.js[/URL] Can anybody explain me the script. thank you

Member Avatar for arctushar
0
76
Member Avatar for indrajeet6

[COLOR="Green"]Hi, I'm trying to write a linked list Program to accept a no. and print all the prime numbers less than it, using the sieve method, Explained below: Suppose that n=30.Then we list all the numbers till 30, and cross out 1 and all the multiples of 2, then 3,then …

0
259
Member Avatar for it2051229

hello i m deleting a file but it is giving the error that "The process cannot access the file 'D:\MyDataBase\106.jpg' because it is being used by another process." What I did was I created a picture box and the when the form loads the picture box image is referenced to …

Member Avatar for tanisha123
0
311
Member Avatar for daydreamer22

Hello All, I'm new to PHP, need some advice for my problem below. Here is my problem after enter my fullname and search, it show all the fields from a table, but if I enter a invalid fullname(fullname that doesn't exist in fields) , the page goes blank no error …

Member Avatar for daydreamer22
0
158
Member Avatar for Vidgie65

Create the init() function. Within this function do the following: a) Create a variable named allSelect that references all of the selection elements in the document. b) For each item within the allSelect object collection, add an onchange event handler that runs the loadLink() function when the selection list changes. …

Member Avatar for Vidgie65
0
185
Member Avatar for bbman

Hi im desperately in need of some help here.. Im exporting my html page data to csv but i am unable to get the data onto a new column the code is as follows [B][COLOR="Red"]HTML FORM[/COLOR][/B] [CODE]<form id="form1" name="form1" method="post" action="index.php"> <table class="formatTblClass"> <tr> <th colspan="6"><?=$message;?></th> </tr> <tr> <td width="68"><span>First …

Member Avatar for sudeepjd
0
1K
Member Avatar for anthonys1mom

I'm working on a program to convert decimal to binary, octal and hexadecimal. I can get the code correct to convert decimal to binary and octal, but in reverse. I was 'given' the code to use for STACK class to push and pop o reverse teh order, but I'm having …

Member Avatar for mitrmkar
0
2K
Member Avatar for YellowJello

Hi, I'm making three bank account classes but this is just the basic one. I am having trouble with the withdraw function, mainly due to me not understanding how to correctly use the friend method when it come to overloading operators. Any help explaining how to correctly use it in …

Member Avatar for Ancient Dragon
0
190
Member Avatar for jugnu

Hello everyone I have 2 forms frmEmployee and frmSearch. frmSearch is called from frmEmployee i m not hiding frmEmployee. when i get the focus back of frmEmployee, it seems that textboxes are getting the values from frmSetup but not displaying. Following is the code on frmEmployee [CODE] private void btnBrowse_Click(object …

Member Avatar for Momerath
0
113
Member Avatar for theG-Scott

I have a page on my portfolio site that displays large thumbnails for each piece of work in my portfolio. When you click on this large thumbnail, an overlay fills the screen and it shows multiple small thumbnails representing different views of the piece of work along with the corresponding …

Member Avatar for theG-Scott
0
124
Member Avatar for merse

Number is always represented with the closest double? A real number is usually between two double representation. Always the closest representation is used or not necessary?

Member Avatar for Ancient Dragon
0
95
Member Avatar for MichaelSammels

Hi DaniWeb, [INDENT]So when you right click an .exe file (one you compile with C) you get the option to view the details such as File Description, File Version, Product Name, etc. I was wondering how to change these? I assume it'll be a C command, but I'm not entirely …

Member Avatar for mohanty_555
0
79
Member Avatar for Awah Mohamed

hi people , i have writen this copde but when i run it it gives me thigs error Parse error: syntax error, unexpected ';' in C:\xampp\htdocs\forum\signup.php on line 49 i have checked the line more than 10 times and i didnt found anything [ICODE] <?php include 'includes/connect.php'; include 'includes/header.php'; echo …

Member Avatar for Awah Mohamed
0
113
Member Avatar for Pinchanzee

Wasn't sure whether to put this with PHP or Mysql I'm having trouble with the below code, it only does the inner while loop once, while still cycling past it every time. It should update the "favourite" integer column in each "link" by checking if it's in the favourites of …

Member Avatar for Pinchanzee
0
156
Member Avatar for srinivas88

Hello,I am making a website in JSP celled employee info system.In this whenever a new emp. registers in the system he is given a unique employee id. Currently in my registration page the employee himself will have to manually enter a unique id.Is there a way in which the unique …

Member Avatar for srinivas88
0
567
Member Avatar for Folasade

pls i need help on my final year project TOPIC: [B][COLOR="Red"]computer biometrics security[/COLOR][/B] i have no clue 4 now.

Member Avatar for apines
0
110
Member Avatar for hatux

Hello gentlemen. I have a question over here. with the following piece of code i want to extract data from a document. The question is how can i assign the values [B]Sentences, Words[/B] in the Array. [CODE] String data[][]; //[files][sentences][words] public void ScanSearch() { for (int i = 0; i …

Member Avatar for JamesCherrill
0
103
Member Avatar for Transcendent

This file is saved as Employee.java [CODE]// Employee.java //Employee Class with a construuctor to initialize the first name, last . public class Employee { private String FirstName; //first name for this Employee private String LastName ; //last name for this Employee private double MonthlySalary; //Monthly salary for this Employee //constructor …

Member Avatar for kramerd
0
228
Member Avatar for gidireich

We have a product which is being slightly customized for each client. The exact customization is unpredictable - we assume that any point in the code can become needing change. However, we want to keep one code base, as 90+% of the code will be identical, so we don't have …

Member Avatar for gidireich
0
154
Member Avatar for DynamicMember

Friends,i need your advice.i cant find a good program to use and work on C++.At the moment i am using Borland C++ Builder 6,but i also have Microsoft Visual C++ 2o1o.What will u advice?:(

Member Avatar for DynamicMember
0
147
Member Avatar for Transcendent
Member Avatar for dirkjan75

Hi, I have read many post obout n-layer programming, but still have found no good example or reply on some fundamental issues that I have. I use 3 tier (Dal, BLL, Pll) and for some gridview I want to present the following in one column: the fields period 1, period …

Member Avatar for dirkjan75
0
140
Member Avatar for natostanco

Hello, the exercise says to define a group of locations to define months using a standard number of bytes, and to use 8 bit unsigned to set the number of days for each month... i wrote this DB 'GEN',31D DB 'FEB',28D DB 'MAR',31D DB 'APR',30D DB 'MAG',31D DB 'GIU',30D DB …

Member Avatar for natostanco
0
104
Member Avatar for Martje

Hello, How do i resize/stretch the image inside a pictureBox(win32 form)? i was only managed to resize/stretch the border of the pictureBox, but i want to resize/stretch the image itself, how do i do it?. Thank you in advanced.

Member Avatar for Milton Neal
0
2K
Member Avatar for problemmaker

[CODE]java.lang.NoClassDefFoundError: Main Caused by: java.lang.ClassNotFoundException: Main at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) Could not find the main class: Main. Program will exit. Exception in thread "main" Java Result: 1[/CODE] after i had done my system. this error message pop up and restricted me …

Member Avatar for hanvyj
0
8K
Member Avatar for qvyhnl

Write the function my_strchr(). The function has two parameters: a const char * s pointing to the first character in a C-style string, and a char c. Return a pointer to the first appearance of c appearing inside s and NULL (0) if c does not appear inside s. Is …

Member Avatar for Ancient Dragon
0
196
Member Avatar for aznlitomik3

Hi, I'm having an error when running this program and I don't know what kind of error is it. So hoping someone can help me. Thank You!! Program: The input file is created with positive and negative numbers. When program ask for the input file it should be the same …

Member Avatar for Ancient Dragon
0
145
Member Avatar for Joemeister

Hi there everyone!! Struggling a bit with some Linked Lists combined with copy constructors as well as operator overloading. Here is the code of the header (.h) and the implementation file (.C). Hope that you can help! [CODE] /////////////////////////////////////////////////////////// ////////////////// //////////////////// ////////////////// Queue.h //////////////////// ////////////////// //////////////////// /////////////////////////////////////////////////////////// #ifndef QUEUE_H #define …

Member Avatar for phfilly
0
102
Member Avatar for DallasFan3

Ok, well Ive pretty much finished my program and now all thats left is this error that keeps coming up and I dont know how or where to fix it. The error comes up under the bracket. Iam guess Iam missing a bracket at the end, but when I put …

Member Avatar for hanvyj
0
164
Member Avatar for qvyhnl

Write the function my_strncpy(). The function has three parameters: a char * dest, a const char * src, and an int max, which represents the maximum size of the destination buffer. Copy the characters in src to dest, but don't copy more than max-1 characters. Make sure you correctly terminate …

Member Avatar for Ancient Dragon
0
188
Member Avatar for Cstonehouse

Whilst working on my first MYSQL, i came accross this error, and even with a friend who is a pretty good coder and we couldn't work it out [CODE]<?php $con=mysql_connect("mysql3.000webhost.com","a2778852_556875", "pendolino390"); //CREATE DATABASE mysql_create_db("personal_experience", $con); //CREATE TABLE $con=mysql_select_db('Personal_experiences',$con); if($con) { $sql="CREATE DATABASE personal_ex ( Additioncode int NOT NULL AUTO_INCREMENT, PRIMARY …

Member Avatar for ko ko
0
94
Member Avatar for MarounMaroun

Hello guys, Can someone explain what is going on on this code? 1. why we needed **p in the function [B]AllocString[/B]? 2. why if I change [B]AllocString(strlen(s), &copy);[/B] to [B]AllocString(strlen(s)-7, &copy);[/B] I can still get a good result? Thanks! [code=c] #include <stdlib.h> int main() { char *s="example"; char *copy=NULL; AllocString(strlen(s), …

Member Avatar for MarounMaroun
0
106
Member Avatar for tKc

I have an issues with my int array, i have a game where its like a mega version of Tic Tac Toe where you need 5 to win instead of 3 and i have tried to come up with a system of checking for a winner or not (right now …

Member Avatar for StuXYZ
0
214
Member Avatar for Acidburn
Member Avatar for king_koder

Hello, I got stuck trying to solve the following problem in Python. I understand that I somehow need to implement Dijkstra's algorithm to solve this problem, but how I've no idea. [B]Inside a room, there is a monster with N heads, and a human (with 1 head). The human has …

Member Avatar for slate
0
508
Member Avatar for phfilly

Hi Everyone I'm busy preparing for my programming examination and I would really appreciate it if someone could just give me some references(websites) to some c++ programming exercises. I believe the best way to prepare for this kind of examination is to practice writing code and understanding it. Thanks!

Member Avatar for phfilly
0
183
Member Avatar for merse

numeric_limits<double>::epsilon() gives the error of (double)1.0 in the sense that 1+epsilon is the next double value which is represented. But how can we calculate the error of arbitrary double number?

Member Avatar for merse
0
179
Member Avatar for z_a

While reading Stroustrup's "The C++ programming language", I was puzzled at 'declaring a pointer to an array of character strings and declaring a reference to an array of 10 integers', and I had to clear my mind on pointers to arrays. I am posting here the notes I made to …

Member Avatar for z_a
0
456
Member Avatar for ronny22

Hi all I made this animation app and I think its all correct however i get a error message which is: Exception in thread "main" java.lang.IndexOutOfBoundsException: Index: 2, Size: 2 at java.util.ArrayList.RangeCheck(Unknown Source) at java.util.ArrayList.get(Unknown Source) at Animation.getScene(Animation.java:56) at Animation.getImage(Animation.java:49) at MainAnimation.draw(MainAnimation.java:64) at MainAnimation.movieLoop(MainAnimation.java:53) at MainAnimation.run(MainAnimation.java:34) at MainAnimation.main(MainAnimation.java:10) I cant …

Member Avatar for ronny22
0
169
Member Avatar for low_coder

hey guys, i need to pass 'this' as the template function parameter.. any help will be appreciated.

Member Avatar for low_coder
0
143
Member Avatar for jawadsatti

plz mention me the errors i dont understand what i do.. [CODE]#include<fstream> #include<iostream> #include<string> #include<ctype.h> #define _TABSIZE 4 using namespace std; int tabsize = _TABSIZE; class token { public: token() : _what(code) {} public: enum type {code, comment, pp, keyword}; string _str; type _what; friend istream& operator>>(istream&, token&); friend ostream& …

Member Avatar for Nick Evan
0
145
Member Avatar for qvyhnl

Write the function my_strrchr(). The function has two parameters: a const char * s pointing to the first character in a C-style string, and a char, c. Return a pointer to the last appearance of c appearing inside s and NULL (0) if c does not appear inside s. is …

Member Avatar for qvyhnl
0
106
Member Avatar for ntgsx92

I want to write a code that sort a cstring and put all the correct character into a new cstring, Here is my Code. [CODE] #include<iostream> #include<cstring> #include<cctype> using namespace std; int main() { char array[200]={"How Are U?"}; char array1[200]; int n=0; for(int i=0;array[i]!='\0';i++) { if(islower(array[i])||array[i]==' ') { strcpy(array1[n],array[i]); n++; …

Member Avatar for ntgsx92
0
103
Member Avatar for yap_1991

Hi all, I have a GUI and working programs, however I need to put the program into the GUI to make it work, but im experiencing the problem that my GUI codes are all in a class and my codes are in man different classes, is there a way to …

Member Avatar for yap_1991
0
206
Member Avatar for Anupama G

Hi, I have a textbox(placed inside a ItemTemplate) inside a gridview.I want to validate the text entered in the textbox for date(mmddyyyy format) values,without using any validation controls. Could anyone help me out with the C# code. Thanks in advance.

Member Avatar for devi.....
0
934
Member Avatar for TheMightySpud

Hi all, Hopefully someone can help me out with this one. I have a form which gets populated by 15 buttons dynamically at runtime (these need to be dynamic as there will be a user config file at some point) What I need these buttons to do is to open …

Member Avatar for GeekByChoiCe
0
142
Member Avatar for mashhype

Hi, I am trying to figure out how to get my program to do one of two things: Either... 1. Create and remove a semaphore based on me entering a 'r' in the command line at argv[1] or 2. If argv[1] is a 'n', then I want check to see …

Member Avatar for mashhype
0
259

The End.