199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for sjcomp

Hello, I'm using a library which creates allows me to set void* userData for some of it's objects, so I can connect their objects with mine. When an event happens I get their object and I can retrieve my class from it using casting. My question is about the performance …

Member Avatar for vijayan121
0
111
Member Avatar for MedievalKnight

Hi, I'm a bit stuck here. I have a table called STM_COMM and it contains following fields: id, member_id, email_addr, tel_nr, fax_nr A member can have multiple email addresses, telephone numbers and faxnumbers. so we could have something like this: id member_id email_addr tel_nr fax_nr ---------------------------------------------------------------- 1 5 info@test.com 2 …

Member Avatar for danbuchan
0
111
Member Avatar for look@me

i have this assigment and i need someone to help me in the solution as soon as possible because the assigment is due in 7/1/2008 the problem is D] A Tale from the Dark Side of The Moon Program: pink.(c|cpp|java) Input: pink.in Balloon Color: Pink Us: So why don’t you …

Member Avatar for ithelp
0
341
Member Avatar for Student1

Hi, I'm new here. I am having problems reading this code, to understand what each function does as I do not have much experience with this computer programming. I hope to get an idea of this code as a base, to use it as a LED blinker to allow me …

Member Avatar for Nick Evan
0
111
Member Avatar for serkan sendur

i have script using nodeNames of dom elements. Script works in ie perfectly but doesnt work in firefox. How can i get nodeName in firefox? Any help would be appreciated, thanks .

Member Avatar for serkan sendur
0
101
Member Avatar for jowereya

plz any one help me to solve this two proble befor 8/2/2008 plzzzzzzzzzzzzzzzzzzzzz helpe me >>> Problem 1: Fermat’s Theorem Program: fermat.cpp Input: fermat.in Output: fermat.out Description In a letter dated December 25, 1640; the great mathematician Pierre de Fermat wrote to Marin Mersenne that he just proved that an …

Member Avatar for Nick Evan
0
275
Member Avatar for veronika__

hello i have an empty cell and an iframe. in the iframe there are a few images.. how can i use onmouseover on the images so they can appear one by one in the cell? sorry for my bad english, thanks in advance. :)

Member Avatar for veronika__
0
66
Member Avatar for bhuvanwip
Member Avatar for rickster11

Alright, I've been working on this one line for awhile, can't quite get it. I need to read all the characters after the "," (comma), ending at the end of the line. I'm guessing I'm just making a simple mistake. Can anyone help me out? [code]blocksArray [numBlocks][1] = Integer.parseInt(line.substring (line.indexOf(","),line.length())); …

Member Avatar for javaAddict
0
104
Member Avatar for wolverine_ramir

is it possible that i could create an array from a class and return the value of that array? and how? how can i access that array

Member Avatar for WhYuLoOkIn
0
100
Member Avatar for mithun_kanungo

hi i am creating a window setup project and i dont need any shortctut on desktop or programe file , any idea how to do it?

Member Avatar for mithun_kanungo
0
63
Member Avatar for blcase

I am trying to overload the + and - operator for my class Collect class Collect is an array of movies (class Movie) so i need to add a movie to the array and subtract a movie from the array. the only way i know how to do code this …

Member Avatar for Agni
0
172
Member Avatar for jino

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in c:\PHP5\www\registration-reports-result_testnet.php on line 137

Member Avatar for nav33n
0
119
Member Avatar for shaikh_mshariq

I am developing a program to gather information from the client. I have apache tomcat web server and all the client have one client program to communicate to the server. I want to make this connection http for security reason but i know how can i do this. It is …

Member Avatar for vpcse
0
266
Member Avatar for infernojmd

Write a program that accepts the number of people in each of the three age categories, performs the necessary computations, and displays a bill for the group's admission similar to the display below. Be sure to test for a variety of values. Here is a sample display after three values …

Member Avatar for infernojmd
0
124
Member Avatar for kahn1

I know its easy but its been a long week of test. I have been working with a program to enter 5 integers( 1 2 3 4 5 ) then in its output it will display those same 5 integers. Then next to the last number it will encrypted the …

Member Avatar for WaltP
0
523
Member Avatar for jer_stud56

I'm not looking for a direct answer or anything considering I'm doing this for homework, but I'm a little confused on why my batting average and slugging percentage do not work. [code] batAvg = singles + doubles + triples + homeRuns / atBats; slgPer = singles + 2* doubles + …

Member Avatar for jer_stud56
0
460
Member Avatar for mrjoli021

Is there an e-mail class that I can use to be able to send e-mails. I dont need to send any attachments just text.

Member Avatar for John A
0
74
Member Avatar for tootypegs

Hi I have the following string of hex '38 55 FD FF'. Somehow i need to get the value -174792 from it. I think it involves reversing the bits to 'FF FD 55 38' then showing its binary representation and reversing all the bits so that 1's become 0's and …

Member Avatar for tootypegs
0
139
Member Avatar for robotnixon

My professor gave us a set of class specifications for three classes. Vehicle, Car, and Truck. My vehicle class works fine, and utilizing it in the other classes is fine as well but I'm having trouble implementing the individual class specifications in the other two. Really the only thing I …

Member Avatar for John A
0
111
Member Avatar for kux

As i knew the <stdarg.h> header should have the following function int vfscanf(FILE *stream, const char *format, va_list ap); but under Visual Studio 2005, after including the header and calling the function i get 'vfscanf': identifier not found if the function is not declared, can u tell me some simmilar …

Member Avatar for WaltP
0
157
Member Avatar for nirmalarasu

Hi Currently iam looking for one common script to work both in linux and windows target machines. The script what i going to write need to be loaded in CD and will be used both in Linux & Windows Machines. If I choose python as the script for my requirement …

Member Avatar for nirmalarasu
0
94
Member Avatar for gcardonav

Greetings I just installed Virtual and I am trying to learn from it.. I was running a program which I believe to have no problems in the coding. My question is the following.. When I try to compile the program I get the following error [inlinecode]1>------ Build started: Project: Shapes, …

Member Avatar for JRM
0
647
Member Avatar for kahn1

Having just a few problem with bring the difference of time times back into this form HH: MM:SS. I am required to you % , and fill the remaining space with 0's. Some of my code is just previous rambling that I turned into comments. Any ideas would be of …

Member Avatar for vmanes
0
112
Member Avatar for vilastadoori

I want the following pattern 123454321 1234 4321 123 321 12 21 1 1 I am able to acheive 12345 1234 123 12 1 I am not able to get the logic in the code as the lines increase the spaces should increase... Please help...this is killing my sleep. Regards …

Member Avatar for vilastadoori
0
139
Member Avatar for johndory

Hi, I have to write a program that creates a polynomial with n coefficients and performs different operations. eg. 3x^2 + 5x + 1. This may be defined as poly P(3) i.e p is a 3rd order polynomial. the coefficients may be set as double Coef[3] = {3, 5 , …

Member Avatar for Duoas
0
87
Member Avatar for jbd

Hi I'm adapting some code I've written using 2d arrays (to represent matrices) to handle large arrays such that double matrix[][] goes to double **matrix and then I'm using malloc. It seems to work fine for part of my program up to where I have to find the matrix transpose …

Member Avatar for Duoas
0
193
Member Avatar for Shveetis

Hello everyone.. I need to retrieve the number of classes loaded from the MBeans and I am facing problem with the same... Is there any specific package to be imported?? I am unable to work it out though it is really simple.. Thanks in advance...

0
73
Member Avatar for artisticre

I have a script I got from someone that is running on microsoft ASP. It works for him but the send mail function did not work because I have Chilisoft ASP. I managed to get the send mail part working but the results are not printing on the webpage and …

Member Avatar for SheSaidImaPregy
0
167
Member Avatar for Bazman76

Thanks again. I've tried implementing the following code in Visual c++ 6: [code=cpp]#include <iostream> using std::cout; using std::cin; using std::endl; #include <cmath> int main(){ int binary, n; double temp, total; total =0; cout << "Please enter the binary number: "; cin >> binary; n = floor(log10(binary)) + 1; for(int i=1; …

Member Avatar for Bazman76
0
148
Member Avatar for piers

For the guys who helped on the card.java file I did thnaks a lot I got that done. I have now moved onto the next part of that and have to complete this skeleton file. this is the spec for this file. [QUOTE]This class has two attributes: an array of …

Member Avatar for Ezzaral
0
157
Member Avatar for jimmy bones

can some one help me i need the sudoku game in java programing code

Member Avatar for Phaelax
0
110
Member Avatar for Shveetis

Hello everyone.. I am trying to retrieve a URL of applications from a text file... My text file contains 3 URLS for 3 applications say for example : C:/ABC.java C:/JVM.java C:/Tomcat.java I have tried implementing a code for the same but when I try to copy the URL into a …

Member Avatar for Phaelax
0
109
Member Avatar for QB_Pete

I’m trying to find out if either VB6 or Delphi could be used to make a simple dialer for Windows XP. A dialer my friend made in VB5 works on NT, but not on XP. By a simple dialer, I mean one that I can use to read a single …

Member Avatar for mrmink
0
173
Member Avatar for TaoistTotty

This is the first time I have looked at a PHP scripting (although I have done some ASP.NET) and I am looking for help with the following. Can PHP be used to update a HTML page - and if so how or where should I look? This is for a …

Member Avatar for nav33n
0
1K
Member Avatar for Slate2006

Suppose that you are developing a class, Account, from which a customer can withdraw money. The Account class needs to keep track of the number of withdrawals that have occurred in each customer’s account. The partial specification for Account class is given below. You are required to complete the code …

Member Avatar for majestic0110
0
118
Member Avatar for King_Walnut

I'm making a vending machine .. and everything's pretty much together, I just have a few problems that I don't have the faintest clue how to fix Firstly, when I choose a snack, the price of the thing comes up fine, no bother. But if I start to pay, then …

Member Avatar for Ezzaral
0
135
Member Avatar for gawain_

Hi everybody. Mi first post: I'm trying to learn some python From CLI I run: python file.py [ICODE]import sys lines = 0 words = 0 chars = 0 for line in sys.stdin: lines = lines +1 words = words +1 chars = chars + 1 print lines, words, chars[/ICODE] I …

Member Avatar for gawain_
0
151
Member Avatar for cplus2x

Candy Machine Simulation Write a program to simulate a candy machine.Your machine offers candy for 75 cents, gum for 50 cents, and chips for $1.You should ask the user repeatedly which of the three items she wishes to purchase, or whether she wants to quit.If she chooses to purchase an …

Member Avatar for Slate2006
0
383
Member Avatar for P90K

hi i want to close an excel file. i have already this code [CODE]Windows("datamppm.xls").Activate ActiveWorkbook.Close savechanges:=True Application.Quit End [/CODE] but when ik click te button to close the excel file. excel gives an "error" that there are item on the clipboard. en then i have to chose yes or no …

Member Avatar for P90K
0
156
Member Avatar for u4umang2001

Hi all how to include more than one class like we include one class as given below public class ClsSection:connection now i want to include one more class how can i do???

Member Avatar for u4umang2001
0
133
Member Avatar for javaStud

I am trying to do a primary key so that each member can't hava the same ID and if th same ID is entered an error is give. Can someone please help me cause I can't do it at all.Thank you. [CODE] static void addMember(ArrayList<GymUser> UserListIn) { String tempUserrID; String …

Member Avatar for javaStud
0
95
Member Avatar for shadowrider

well im login in sql server through window authentication then wat code i should write in C# to write my connection string urgenttttttttttt

Member Avatar for Jx_Man
0
171
Member Avatar for jenymaru08

Please help me how you will make a program that using structure with a structure ?? example please struct data { char name; int age; } how will you make your structure be in within structure ??? and please kindly explain what this mean ppre->link=ploc->link ? ? ? ?

Member Avatar for hu_is_anonymous
0
151
Member Avatar for ttamilvanan81

Hai, i am tried to use the SQL Server with Java and Tomcat 5.0 Application Server. I am using the JDBC Driver for Java connecting with SQL Server. I m using SQL Server 2005. But the JDBC Connection doesn't create. I have used the following code for java database connectivity …

Member Avatar for sabindas
0
429
Member Avatar for Loyen

Hi, simple question but maybe with an advanced answer: [B]How do I get Dev-Pascal to read other files?[/B] [B][U]Example[/U][/B] I've tried to make a variable and make it as a text for example ([B]var[/B] test:text;) and then assign(text,'textfile.txt'); but then I want pascal to read it and open it in …

Member Avatar for Loyen
0
705
Member Avatar for lerkei

how can i limit the textbox to input sysmbols and numbers such as 1,2,3,4,.......;'/,[]=-.... and as such pls help...

Member Avatar for Jx_Man
0
115
Member Avatar for alex05

I have to write a script called trying. The script takes a full path (like /users4/st/jdoe/prog.c) as an argument and displays the path and the file name. For /users4/st/jdoe/prog.c, the path is /users4/st/jdoe and the file name is prog.c. I know that I can use grep for it, but it's …

Member Avatar for msr_viz
0
248
Member Avatar for pbosek

Can somebody let me know how in Word doc can a word be searched and then get Nth word in that line(found text line), using VB??

Member Avatar for Diguelo
0
249
Member Avatar for alejalv

so i wrote this recursion program that uses memoization to calculate the fibonacci numbers. it's supposed to scan a user inputted number, call the method, check to see if the number is in the array, if not store it, ad increment the counter. so i should end up with the …

Member Avatar for DangerDev
0
92

The End.