199,114 Archived Topics
Remove Filter ![]() | |
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 … | |
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 … | |
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 … | |
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 … | |
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 . | |
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 … | |
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. :) | |
Hi, How we can access the memberfunction of coclass? | |
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())); … | |
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 | |
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? | |
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 … | |
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 | |
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 … | |
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 … | |
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 … | |
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 + … | |
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. | |
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 … | |
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 … | |
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 … | |
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 … | |
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, … | |
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 … | |
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 … | |
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 , … | |
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 … | |
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... | |
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 … | |
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; … | |
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 … | |
| |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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??? | |
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 … | |
well im login in sql server through window authentication then wat code i should write in C# to write my connection string urgenttttttttttt | |
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 ? ? ? ? | |
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 … | |
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 … | |
how can i limit the textbox to input sysmbols and numbers such as 1,2,3,4,.......;'/,[]=-.... and as such pls help... | |
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 … | |
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?? | |
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 … |
The End.