199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for poonams

hi all, I am to pass two values from form f1 to form f2.i wrote a code on keypress event .It works good.But on loading of f2 i want to close f1.I wrote this on f1 Dim f As New frmattendance f.Owner = Me f.Show() f.txttdays.Text = days f.l2.Text = …

Member Avatar for poonams
0
445
Member Avatar for jonnim

I am trying to collect data from a log file. The data will collected into records based on policy number. I have created an object describing the data below: class fwpolicy: def __init__(self, policy_id, fr_zone, to_zone, src,dest,serv): self.policy_id = policy_id self.fr_zone = fr_zone self.to_zone = to_zone self.src = src self.dest …

Member Avatar for vegaseat
0
101
Member Avatar for pdhbaseball23

I have to use arrays to calculate some statistics on a set of data. The example of the file looks like this: 6 5 1 3 2 4 3 4 2 4 2 1 2 3 5 6 8 5 6 9 4 3 1 5 7 3 7 2 …

Member Avatar for pdhbaseball23
0
105
Member Avatar for mrityunjay22

step 1 myeclipse->prefernces->myeclipse->application servers->choosing tmcat5.5 for application server Step 2 using jdk 1.5 clicking ok then clicking on icon to start and stop tomcat but it says that no default server present what might be missing plz tell

Member Avatar for mrityunjay22
0
167
Member Avatar for twooften

I have been trying to figure this one out for a while, so please don't laugh. I know it is a little messed up. I didn't include the whole code, if necessary I will post more. The line indicated is giving me a "cannot convert from 'HGLOBAL' to 'int *' …

Member Avatar for ithelp
0
236
Member Avatar for paradox814

I am using generics in java, and I want to know how I can test to see if I have a int or a float? Is there some sort of type-testing? I'm sure there is, I just need someone to help point me in the right direction. Thanks!

Member Avatar for jwenting
0
175
Member Avatar for jasssvj

Hi! I have to make a program, wich lists all files in current dir, and then save all file names into an array. My program doesn't work ! Can you tell me why? Thanks a lot:)[code=c] #include <dirent.h> #include <stdio.h> #include <string.h> #include <stdlib.h> #include <dirent.h> int main(void) { FILE …

Member Avatar for WaltP
0
246
Member Avatar for Dio1080

can anybody see anything worng? I'm returning these to the main sO=ScoreO(O); sX=ScoreX(X); These are my two methods: [java] //method to tally the score for x public static int ScoreX(boolean X){ int scoreX=0; if(X==true){ scoreX+=1; } return scoreX; } //method to tally the score for x public static int ScoreO(boolean …

Member Avatar for Dio1080
0
91
Member Avatar for natashenka_66

Hello! I have a query with multiple table joints and where clauses. Tables are huge and query runs for a very long time. I need to run another query, which is exactly the same apart for one Where clause (first time price = "P", second time price = "S"). I …

Member Avatar for nav33n
0
79
Member Avatar for balla4eva33

Maybe my other thread was too wordy for everyone, cuz I usually receive help right away, and I see that it was viewed 20+ times and yet no responses...so basically I need help with my homework...We were given a main.cpp file, and PART of a header file. He also gave …

Member Avatar for balla4eva33
0
97
Member Avatar for FireSBurnsmuP

Great, more iterator trouble. First we have an iterator of any value. I want to make a second iterator that starts one higher than the first one. Look-see: [code] for( iterator_type one ; /*...*/) { for( iterator_type two = one + 1 ; /*...*/) { /*...*/ } }[/code] That's the …

Member Avatar for vijayan121
0
141
Member Avatar for Destini

edit: sorry strcopy not strcat Hi I'm new to MIPS and just need some basic clarification on what is actually going on here. I'm trying to make a copy of string1 into string2 by reading through the string copying each bit seperately, and stopping at the 0 terminator: [CODE] .data …

Member Avatar for Destini
0
1K
Member Avatar for FireSBurnsmuP

Alright, here's the code: [code] for ( map<string,int>::iterator word = mostUsed.begin() ; word != mostUsed.end() ; word++ ) [/code] and the error by g++ - (using make) [code] error: conversion from 'std::_Rb_tree_const_iterator<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >; int> >' to non-scalar type 'std::_Rb_tree_iterator<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >; int> >' requested[/code] Okay... …

Member Avatar for FireSBurnsmuP
0
447
Member Avatar for guitarrick

I'm missing something really basic on this one I'm sure. We have to write a program using a class Odometer, that will track fuel and mileage of a car. The member functions are given: one to set fuel efficiency, one to accept total miles driven and add to the odometer …

Member Avatar for Duoas
0
98
Member Avatar for adida948

Hello. I am having a very hard time trying to encode a file and then decode it again so i can end up with the original file. I want to transform the content in the original file into base 85, and perhaps 100 charaters or more so that it works …

Member Avatar for Duoas
0
472
Member Avatar for guitarrick

Of all things, I can't seem to get my do while loop to work. I have a running program, but get a[I] syntax error : identifier 'choice'[/I] Can't see it, any help greatly appreciated RG [CODE]#include <iostream> using namespace std; class Odometer { public: Odometer(); void reset(); void compute_fuel(); void …

Member Avatar for guitarrick
0
128
Member Avatar for nmnative

This is what I have written so far for my homework. No, I am not asking for someone to do my homework just to help me with what I have so far. This is a Restaurant menu created for a web site, I am very close to getting it finished, …

Member Avatar for nmnative
0
126
Member Avatar for speterson

For a homework assignment, I have to create a random salary generator which is pretty easy. We have to create a random number of employees, 3-15 only and then the number of years of that salary with a limit of 3-15. This is easy so far. After this, we have …

Member Avatar for Ezzaral
0
356
Member Avatar for eleonora

Hey, I try of saving my board to a text file and then trying to load my board from the text file but actually does not works. If anyone knows how this can be solve let me know ! Thanks

Member Avatar for G-Do
0
331
Member Avatar for johny112

Hi all, I have written a programme, but when it prints the results , it doesnt print £ sign [CODE]cout <<"Salary is £ "<< salary_without_overtime<<endl;[/CODE] Instead it prints u="U" with a funny bar on top. Now im very new to c++ but i do know basics, can someone please tell …

Member Avatar for iamthwee
0
88
Member Avatar for clockscan

Hello, I am hoping to get some code for the following problem I need to verify that a user input the time in the following format: cout<<"please enter the start time(hh:mm:ss): "; cin>>stime; //Verify user input time correctly cout<<"please enter the end time(hh:mm:ss): "; cin>>etime; //Verify user input time correctly …

Member Avatar for Narue
0
89
Member Avatar for bjg5858

Hi I am new to php and most other things, I am trying to make a form on my website to take users details for membership purposes. This data will be stored in a mysql database. What I have at the moment is a plain html form that posts the …

Member Avatar for buddylee17
0
152
Member Avatar for adypan06

can somebody please help me out in writing matrix 10*10 matrix program. thanks in advance

Member Avatar for adypan06
0
50
Member Avatar for sarahger9

I am trying to generate a random vector of integers and sort them using merge sort. I am having trouble with the code. It is long, but I would appreciate if someone could take a look at it and see if the can help me, I've been working on it …

Member Avatar for Ancient Dragon
0
105
Member Avatar for Tight_Coder_Ex

How would I declare a pointer to MINMAXINFO that is passed to WPARAM In WM_GETMINMAXINFO wParam is a pointer to a place on the stack that holds MINMAXINFO. I've tried[code]MINMAXINFO *Info; Info = MINMAXINFO *wParam;[/code]and several other variations to no avail. Thanks

Member Avatar for Duoas
0
123
Member Avatar for Ccrobinson001

I need some real serious help. I have been trying to get this program to work for the last past week and everytime I get one part to work and try to complet the next section the previous section craps out. I have to write a program that reads from …

Member Avatar for Ancient Dragon
0
229
Member Avatar for johnnyjohn20

Hi, Im trying to filter a user number entered by the user so that it is between 3 and 31 and odd. I also want the prompt to enter the user number to loop if the user number entered does not meet the requirements. This is what i have: [code] …

Member Avatar for johnnyjohn20
0
1K
Member Avatar for mauro21pl

Hi guys I started to learn java and have a little problem\. When I try to compile my little program it says : assgn2.java:40: variable overnight might not have been initialized System.out.println(overnight); [CODE]How is that? The code: import java.io.*; public class assgn2 { public static void main(String[] args) throws IOException …

Member Avatar for Black Box
0
139
Member Avatar for Nidaa87

I need help on how to integrate elements linked to the rank list.i already have a list of seven figures to be that the elements that must be included in the right of such a position that the salary arrangement upward And the work of the Union and the intersection …

Member Avatar for Salem
0
99
Member Avatar for iCare

I'm using Borland C++ and i need to make program where you enter a string in which the words are seprated by space. After input i need to sort these words into alphabetical order, but something is wrong. Cause when i enter like " x b a" it prints out …

Member Avatar for Narue
0
173
Member Avatar for abhishek2301

Hi, I am using a JSP from to collect data from user and then inserting those values into a table in MySQL.But it is returning 'null' always.I am able to query the DB and view the entire table and everything else is fine. But the INSERT is not working somehow!!! …

Member Avatar for tommybobby
0
148
Member Avatar for staneja

I am executing a project that have 100 jar file attached to it I am able to execute it in Eclipse but i want to run it from batch file but the problem is that i am not able to set class path , whereas in eclipse we can direclty …

Member Avatar for ~s.o.s~
0
98
Member Avatar for Dio1080

I need help making a counter uusing a two dimmensional array. I'm doing a tic tac toe program and need about done, just need the counter and have no clue how to do it.

Member Avatar for Ezzaral
0
82
Member Avatar for degamer106

So we're supposed to modify this class, which implements Comparable, so that it accepts any type of object. The Comparable interface contains the method signature for compareTo, which I need to implement. What I'm uncertain of is how to implement this method. I know that compareTo is supposed to return …

Member Avatar for degamer106
0
86
Member Avatar for Danii

HI problem: Write the definition of a class Clock . The class has three instance variables: One of type int called hours , another of type boolean called isTicking , and the last one of type Integer called diff . You should also write a constructor that takes three parameters …

Member Avatar for ~s.o.s~
0
192
Member Avatar for mathijs

i have created an oxo game. wich is a game where you try to get 3 in a row in a 9-square field. i got it running but i have one question. for the computer's moves i predicted what the user would do (2in a row) and then made the …

Member Avatar for mathijs
0
108
Member Avatar for fredjahed

Hi All, When trying to change the bcackgroundImage of element useing javascript method style.backgroundImage="url(blue_link.gif) no errors found but the script can't find the image so what is the correct way to use the address of the image? Thanks very much in advance, Fred

Member Avatar for ~s.o.s~
0
120
Member Avatar for ashblynn02

I am trying to create a phone book program in Visual Basic. I have so many phone numbers, I thought this would be a neat way to handle the overflow lol. I want it to read the information from a text file with the following data: First name, last name, …

Member Avatar for ashblynn02
0
305
Member Avatar for BalagurunathanS

Hi all.. I am having some controls in my aspx page.I need to write javascript for those controls for validation..For that i need to make the controls visible false in certain situation .I also want to make the controls to visible true in certain sitauations..Some one help me with javascript …

Member Avatar for saars
0
5K
Member Avatar for MadeInHungary

I like to receive data on SOCKET. I call the recv() method with required params: char* buff = new char[len]; memset(buff, 0, len); if(recv(sck, buff, len, MSG_PEEK) == SOCKET_ERROR) { cerr << "String Receive Error - code: " << WSAGetLastError() << endl; } The recv() method copies data to the …

Member Avatar for MadeInHungary
0
150
Member Avatar for matticus1181

I'm taking a class in sparc assembly, and I'm having a hard time with this concept. We're supposed to add two numbers together that can have as many as 100 digits. Since this is too many to fit into one register, I have to save them in memory and then …

Member Avatar for Duoas
0
170
Member Avatar for swuwarrior

Im sure i have a syntax issue or just not doing something right as i am new to c++.. i am generating an error code in my program ... here is my code [code] #include <cstdlib> #include <iostream> #include <fstream> #include <sstream> #include <iomanip> #include <string> #include <string.h> using namespace …

Member Avatar for ShawnCplus
0
123
Member Avatar for wijitha

hi... I'm new to the cppunit. I'm using cppunit framework for my c++ program. I want to build my program using a makefile. can anyone help me to compile my program using a make file. wijitha

Member Avatar for Duoas
0
451
Member Avatar for johnroach1985

Hi. I am trying to figure out this code I found on the net that allows users to chat with each other. It gives a thread error that I just can't fix. Please help me. This is the Form1.cs file [CODE]using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Windows.Forms; …

Member Avatar for johnroach1985
0
209
Member Avatar for Pro2000

Hello everybody, I want to write an email to some one by php function... I mean Mail(....) What may I write in the headers to send this message safety to another one... I mean by using the ([COLOR="red"]Cc[/COLOR]) Or ([COLOR="red"]BCc[/COLOR]). So that is a querstion.... I have another question: Can …

Member Avatar for Pro2000
0
143
Member Avatar for kv79

Hi to all, I have Windows XP professional SP2 and Dev-C++ and when i go to the Device Manager -> Keyboard-> Resources i see I/O Range 0064-0060 and the ports have also addres. And all other things wich have addres. My question is ,is it really addres or i am …

Member Avatar for Salem
0
162
Member Avatar for ppallavi

Hi , Inside a recursive function i have a static variable, when i return that static variable , it's value becomes zero. count = trimWS(someXMLNode); i get count as 0 , but when i debug countWS was 9. Pls help me why this is happening and what is the right …

Member Avatar for ppallavi
0
86
Member Avatar for art vandelay

Hey people. I'm trying to build a loop to move from Arthur Vandelay to Tim Pennypacker, to Bob Sacamano. I know how to move from 54 to 21 to -2 and so on but I can't get the code right to move from Arthur Vandelay to Tim Pennypacker. I know …

Member Avatar for Tight_Coder_Ex
0
147
Member Avatar for freakhina

hey everybody!! i urgently need a project in java for electricity bill generation software kindly contribute as much as possible... i m in real trouble

Member Avatar for jwenting
0
82
Member Avatar for anwar7517525

I am Anwar as a intermediate level currently programming practice in c, c++ and java . In following programs I confused in these expressions that expressions are same but result are different on these results few teachers said it is the problem of compilers. [U][B]In Turbo C 3.0[/B][/U] [ICODE] main() …

Member Avatar for Salem
0
157

The End.