199,113 Archived Topics
Remove Filter ![]() | |
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 … | |
![]() | 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 … |
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 … | |
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 | |
[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 … | |
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 … | |
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 … | |
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. … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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? | |
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 … | |
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 … | |
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 … | |
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 … | |
pls i need help on my final year project TOPIC: [B][COLOR="Red"]computer biometrics security[/COLOR][/B] i have no clue 4 now. | |
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 … | |
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 … | |
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 … | |
![]() | 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?:( ![]() |
Anybody know a good Data Structure Book? | |
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 … | |
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 … | |
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. | |
[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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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), ©);[/B] to [B]AllocString(strlen(s)-7, ©);[/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), … | |
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 … | |
Can anyone expand on why you get this error? | |
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 … | |
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! | |
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? | |
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 … | |
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 … | |
hey guys, i need to pass 'this' as the template function parameter.. any help will be appreciated. | |
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& … | |
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 … | |
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++; … | |
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 … | |
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. | |
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 … | |
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 … |
The End.