199,113 Archived Topics
Remove Filter ![]() | |
There are 3 java classes in separate files and when I compile them...ERRORS! If anyone could run those 2 classes separately and tell me the peoblems I will be really grateful coz I've used up my minds! import java.util.*; public class PageOne { public static void main(String[] args) { Scanner … | |
Hello, I am trying to use the sql delete from statement to delete certain data (which are urls) from my db, but they don't seem to actually get deleted. (there are no errors, of course, so it looks like the code is working, but the data does not actually get … | |
i'm fascinated by the tooltip or the information bubble , which pops-up on this page when I point my cursor on a thread title. Does anyone know what it takes to code something like that? Is it possible with PHP, javascript or AJAX ? The attached image shows the tooltip … | |
Hi All, I just tried to write a code which, upon clicking on a button should send an email with attachment. I succeded by using some of the posts here, but however I need to add some special effects in between... In the body of the email, I need to … | |
Hi Guys, I have a nested dictionary that i would like to be populated from a file at the start of my prog and put back into the file at the end of the prog. Could anyone direct me to somewhere where i could get info on how to do … | |
A computer has 256MB of memory. Each word in this computer is 16 bytes. How many bits are needed to address each word in memory? | |
We were given a task, to familiarize ourselves with stacks and queues, to write a program to solve a maze problem. We are given text files with pre-defined values letting us know the size of the maze, the mouse's position, the cheese's position as well as the value each cell … | |
Is there any eventhandler for RichTextBox in vb.net to catch the selection of text event? I want to enable cut,copy,delete control mentu strip items on selecting text. Edit > cut,copy,paste,delete Only on selecting text the cut,copy,delete should be enabled Please help me out.... | |
Say I have [code] #include<iostream.h> int tempNum; struct node { int data; struct node *next; }; struct node *newNode = NULL; int main(void) { tempNum = 5; newNode->data = tempNum; //gives seg fault } [/code] *edit - I'm trying to add tempNum to the very first node. I haven't worked … | |
I have a wondering here. This code I have below is working great except of one thing that doesn´t make sense to me. I use a while-loop inside a for-loop as seen. The for-loop is counting from 1-49 and for each count the while-loop will read a .txt file and … | |
I am new to java, I went to an interview yesterday....Interviewer asked me What is Object Oriented programming...I find a bit difficulty is aswering for that.Can you please give a good explanation for this question.... Thank You.... | |
I once again am having trouble with this program. I really thought i understood this right off the bat but once i got into it, there is a lot of little technical things my professor wants in it. Like the functions and generating random numbers. Any help would be awesom, … | |
Hello, I was wondering how you might go about detecting a drive letter, such as D for DVD drive, if you wern't to run it on your own computer. I have programmed something that picks a certain drive letter in an attempt to match it to theirs. The reason is, … | |
I am going to be taking a programing class next semester and I all ready have the book for the class, I am tring to figure things out to get a jump on the class and I have a couple of questions .... I need to come up with a … | |
Is there a JavaScript api to look at methods? I googled and I didn't find anything familiar. I am used to the java api. | |
program 1: #include <iostream> using namespace std; class person { char name[30]; int age; public: void getdata(void); void putdata(void); }; void person :: getdata(void) { cout << "Enter name"; cin >> name; cout << "Enter age"; cin >> age; } void person :: putdata(void) { cout << "\nName" << name; … | |
How do I go about writing a user-defined function named Get_Inputs that when called, the function will prompt for three integers and send these numbers to its calling environment. | |
Hello All, I'm creating a program that reads a file.dat and I need to input that in a matrix, it can be 2x2,3x3,4x4 or 5x5. I'm not exactly sure how to do that. The file.dat looks like this: 2 1 2 3 5 3 1 3 8 5 7 3 … | |
If you know a certain c++ library treat with excel sheet with efficient way that can read acertain row or columns Support me by it | |
Dear Friends, I am happy to join in this team. I need a help in deciding the best open source PHP editor which supports Linux and windows. The features I am looking for are : User friendly, Syntax helping, display the list of procedures/functions just by typing first letter, auto … | |
ok i need to do a program that inputs a amount of characters. my program has to capitalize the first letter and and letter after a full stop. any ideas and hints how to do it? | |
can someone please try and explain something to me... i have 2 functions, lets call them FuncA and FuncB. FuncA calls FuncB, and FuncB does some stuff then simply returns. both functinos are placed in try...catch statements: [CODE] void FuncA() { try { FuncB(); } catch { trace("FuncA caught exception … | |
we are currently workin on a RFID project and we need to generate the RFID serial numbers which is in a specific format (eg: 0101i0010001). in this the 1st 4 numbers are constant (0101) the next 4 digit numbers are item id which is got from the JSP textbox(i001) the … | |
Greetings, Im a newbie to JSP/Javascript (unfortunalley). However I found enough example to create code that connects to my access db and populates two combo boxes. The selection of the first box is used to populate the second (cascading). See code below, apologies for the formatting as I wrote it … | |
This is Homework. I have been working on a tournament program. Currently the tournament class gets user input and instantiates a player class and a game class. The game class then calls the board class where it instantiates a boardconfig class object. At this point Is where I get my … | |
I started a windows application, that used the void hide.. function to hide the command window. I compiled it, and it worked. Why is it, that if I compile the source file, and not the project file, it keeps the window open? Dispite the fact the coding is exactly the … | |
I have a triangle in my game, that flies around the screen (like a space ship) I am trying to determine collisions for that triangle based on whether or not the lines intersect. However, I am using OpenGL, so when I rotate this triangle, all I do is make a … | |
i'm using visual c++ 2005 and in windows forms app how do i store a respond of a MSG box... the methods given in both MSDN new and the web mSDN doesn't seem to be working.if they worked in ur machine tell me the procedure i have to follow....plz help … | |
hi, i am totally new to this and i would appreciate some advice or if you guys know any articles i could look at to research. I want to create a program that will copy the contents of RAM to another file. I have no idea where to start! It … | |
I thought this was a simple task to do, but not. I just want the option stay selected when a value from the session variable exists, AND it does after the form has been submitted. So why can't the option value stay selected as long as session is populated. If … | |
can anyone suggest any website that will help me a lot on creating a simple chatbox? tnx | |
Hi, I have created a module to calculate a level when given a score. How do I send the calculated level back into my main form? Thanks in advance | |
Hello Friends...we r doin our UG project named Watermarking relational database using optimization based techniques....here we r supposed to use a PJW hash function to encode the values inside a database with the help of a secret key....Can anyone pls explain me the logic for this hash function and i … | |
What can I do not get this to work in Firefox? [code]document.getElementById("type_" + x).checked[/code] When I used [code]alert(document.getElementById("type_" + x).checked);[/code] to check the value it comes up fine in IE, but I get a "has no properties" error in FireFox. | |
hii all i have loaded an X file in Directx. How to apply textures and materials for that object. plz help. its urgent | |
Please help me.. I ve a problem in integrating Nokia Emulator to Netbeans.. I ve installed s60_3rdEdition_MIDP_SDK..BUT I am unable to add this emulator to Netbeans..can anybody help me.. Regards, Bhuvana | |
Hi all, I am learning VB 6 and i a just a beginner and i need to know some programs who is made it i VB 6 so that i can have a reason why i am learning. If you can send me some pictures or some kind of program … | |
I have seen a lot of website that have reviews on products and other things like movies, tv shows, books. I want to know how to do that. Can anybody help me with that? | |
Ok, I am tryin to use the proper coded way that a few of you have asked, so don't yell if I screw up the first time, please. I was able to debug and run, but had many errors, I have fixed several already, biggest problems are that if I … | |
hello i would like to perform a method overloading with inheritance my code is : [CODE]public abstract class Shape { protected Point position ; public Shape(int x, int y) { position = new Point(x , y); } public void show() { position.show(); } } public class Rectangle : Shape { … | |
Hi all. I was wondering if anyone can point me in the right direction as to how to create a top navigation like the one on apple.com (the tabs) | |
Hello, I would like to pose a very simple question, does anyone know how to clear the command window of text, and give it a name(Eg. Cosmos's Program) I would like to make room for different lines of text in my program, and also give it a name, for obvious … | |
What enables C to support variable number of function arguments (varargs), while other languages (like Java) do not support this feature? What is special in C which is not there in Java to support this? | |
Hi, all! I'm trying to send a HttpWebRequest to an url that, other than %20, does not take escaped characters. But for some reason, when I do: [ICODE]_HttpWebRequest = DirectCast(System.Net.HttpWebRequest.Create(New Uri("http://web_address")), System.Net.HttpWebRequest)[/ICODE] I end up with an escaped uri string. For example, a string containing the swedish letters å, ä … | |
//I am passing a hex as a string into a decimal integer and I know Integer.parseInt() is easier but i can not use it. //Look below two areas have illegal start of expression and one with not a statement. public class HexToDecimal { public static void main (String [] args) … | |
[CODE] #include<stdio.h> main() { static int n=0, number=1; int fibi (int n, int number); printf ("Following are the first 40 Numbers of the Fibonacci Series:\n"); printf ("1 "); fib (n,number); } fib (int n, int number) { static int i=1; int fibo; if (i==40) { printf ("\ndone"); } else { … | |
My questions is a simple/hard one, whats a stack on an intel machine? I don't a need lesson on how to use one for I already know how, its just that I really don't know very much about them. Like how come you can automatically allocate memory on them by … | |
iam using wamp server 2....i did not give any usernmae or password for connecting sqlserver during the process of installation..now when i tried to connect my database through php script using mysql_connect("localhost","","") iam not getting connected..it displays access denied.. how can i get connected to my database..kindly provide help.. | |
Hello all: I'm working on a user control that wraps some of the functionality of the VE maps. It can be "maximized" and "restored" by clicking on an image (just as the middle button of any window does).Initially the map is positioned in any city and can have several pushpins … | |
Hello all: I wrote an post ,(how to write to txt file), and this is the link [URL="http://www.daniweb.com/forums/thread107440.html"]http://www.daniweb.com/forums/thread107440.html[/URL] but I wonder how can I write [B]some[/B] of controls of my form to txt file.... Thanks in advance..... |
The End.