199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for cjw3131

im just trying to use the inputted terms in the main function. the error is: [B]hwk6.c:10: error: expected ';', ',' or ')' before '*' token[/B] [code] #include <stdio.h> #include <math.h> int getTerms(void); int term1; int term2; int term3; int term4; int term5; int main(int term1*, int term2*, int term3*, int …

Member Avatar for Ancient Dragon
0
93
Member Avatar for StephNicolaou

I'm trying to show a dialog message if the user clicks a button and a text field is empty. [code=java] Action listener - if(event.getSource() == cmdSaveSettings) if(txtPlayerOneName.getText().equals(emptyText)) { JOptionPane.showMessageDialog(null, "alert", "Please enter player one's name", JOptionPane.ERROR_MESSAGE); } [/code] Ive add an action to listener to the button and the textfield: …

Member Avatar for masijade
0
213
Member Avatar for GLT

Hi guys! I was wondering if any of you guys would be able to help solve what is probably a simple problem.... I am using dreamweaver / asp/ access to create a dynamic web application. I have created a record set which queries the database and displays the results. The …

Member Avatar for GLT
0
244
Member Avatar for sheree

Hello everyone, I am a new memeber, and I need help in c++ code. Actually I had a code that need kd tree data structure in order to find the nearest neighbour, so I found a kd tree that had been written in c++ as class and there is a …

Member Avatar for sheree
0
5K
Member Avatar for jkdil33

Hi, I am using skmmenu in my application I am caught up in a problem 1.The mouse pointer is like "select text" style when i move over the menus and sub menus 3.How to activate click event when i click on the submenus 2.the submenus are going behind the panel …

Member Avatar for jkdil33
0
106
Member Avatar for Ryano24

Can anyone tell me what this code does. Private Sub MysteryCode_Click(ByVal sender As _ System.Object, ByVal e As System.EventArgs) _ Handles MysteryCode.Click ' Determines MYSTERVALUE base on number entered by user Dim Y As Integer, X As Integer, MYSTERYVALUE As Integer ' initialization phase X = 1 'prepare to loop …

Member Avatar for Jx_Man
0
91
Member Avatar for borkar ganesh

Hi, I have created one form and in that form i took textbox control, button and iframe control suppose i enter some text in text box control and these text i want to pass in iframe control through response.redirect it's like google map [url]http://maps.google.com/[/url] e.g. i enter maharashtra in text …

Member Avatar for borkar ganesh
0
96
Member Avatar for sammy_eyison

Hello Jx_man, I have been trying to download the zip file you sent to Neji on [B]Get all users[/B], but it appears to be corrupted. I will be grateful if you could resend it to me. Thanks in advance.

Member Avatar for Jx_Man
0
144
Member Avatar for niitian

hello everybody, i'm niitian:) have been familiar with this community for quite some time, it has help me solve quite some problems, though now i think it's time i join too:) i'm a beginner at c++, don't really think it's way hard, but i do have alot of unanswered questions. …

Member Avatar for Ancient Dragon
0
64
Member Avatar for kahaj

I'm trying to get the addButton to work correctly in this code, but it keeps only outputing the first number entered, not the sum of the numbers. What am I missing here? [code] Public Class ArithmeticCalculatorForm Dim numCounter As Double = 0 Private Sub enterButton_Click(ByVal sender As System.Object, ByVal e …

Member Avatar for Nick Evan
0
124
Member Avatar for nireekshan

hello i am nireekshan i have some prouble in database connection send my erres pless see and send Some Code . //...............................// [code=java]import java.sql.*; class Student { public static void main(String args[]) throws Exception { try { import java.sql.*; class Student { public static void main(String args[]) throws Exception { …

Member Avatar for p4u9999
0
372
Member Avatar for Thew

Hi, I don't know if you know something about TALWinInteFTPClient, but maybe it doesn't depend on it. I am using this class to access to the ftp server. I connect, then I check the connection and everything is good. So I need to get the tree of files and directories …

Member Avatar for Thew
0
161
Member Avatar for Thew

Hello, I want to put some files together, but I have problem, when I'm trying to write data into opened file from another file. Structure of compiled file: - Head: total count of files in file - Sizes: names and the sizes of the files - File Streams so I …

Member Avatar for Thew
0
2K
Member Avatar for plusplus

I am completely new to asp.net. I just started to learn. I created a .html file which I then changed to .aspx. After I changed it to .aspx I can't open it through my internet explorer, what can be the problem.

Member Avatar for plusplus
0
106
Member Avatar for Sugarskull

/* DriverBuggy.java Source Name: DriverBuggy.java Date Written: 12/27/06 Written By: Annette Lege Revised By: Purpose: To identify and fix common syntax errors and one logic error in a Java program. */ import java.io.*; public class DriverBuggy { public static void main(String args[]) throws IOException { Buggy app; app = new …

Member Avatar for masijade
0
392
Member Avatar for Traicey

I have a program that suppose to print out a student information so I have to use Alert in order to make this a success but my JAVA SCRIPT is not producing anything, I dont know what Im missing in my code please have a look at it.... its quite …

Member Avatar for Traicey
0
131
Member Avatar for Majestics

I have a string , i want to give it a blink effect ... is there any specific function for it .

Member Avatar for arpit_yadav
0
143
Member Avatar for Spring_1000

Hey, I've been stuck on something all day, when I first looked at it I thought it was going to be relatively easy. I want to be able to let the user return to a menu whenever they press enter without typing anything else. I've looked on google, but I …

Member Avatar for Spring_1000
0
250
Member Avatar for curt1203

Just when i thought this class could not get any harder i get this assignment. The last few lectures i have watched in my class on pointers have gotten me totally confused. Now i have this assignment due in 6 days that i seriously do not even know how to …

Member Avatar for sinkingships7
0
139
Member Avatar for bhavna_816

I have a table having columns like values, like this col1 col2 col3 1000 10 2 1000 20 3 1000 30 4 2000 10 5 2000 20 6 2000 30 7 3000 10 8 3000 20 9 3000 30 10 I want to fetch records like if i enter col2 …

Member Avatar for bhavna_816
0
74
Member Avatar for Reiko

Hi im currently having a problem with taking data from a field in a database and then using it within the form, when supplied with a telephone number by inputting in to a text box, the number needs to be checked against the database and then if a record matches …

Member Avatar for AUGXIS
0
118
Member Avatar for strus_jan

#!/opt/bin/perl $[ = 1; # set array base to 1 $, = ' '; # set output field separator $\ = "\n"; # set output record separator $FS = ';'; line: while (<>) { chomp; # strip record separator @Fld = split(/[;\n]/, $_, 9999); $id = $Fld[1]; if ($. == …

Member Avatar for strus_jan
0
98
Member Avatar for Waseemn

Hello All, Its me again with my quirky questions. I am writing a program for homework and the idea is to sort the top 3 runners by their finishing time. Also a requirement of the homework is to gather the names of the runners along side their times. The user …

Member Avatar for Ancient Dragon
0
95
Member Avatar for ccrdude03

I have all the way to this part of displaying the board and now I need help on how to play it. I don't want someone to just give me the code, I want to learn what to do. Thanks very much. p.s.= using array [CODE]#include <iostream> using namespace std; …

Member Avatar for WaltP
0
84
Member Avatar for Zanziff

Hello everyone, I am VERY new to programming. I have downloaded and installed the Dev-C++ compiler and I am using it with the C++ for dummies book and when I try to compile my simple "This is my computer talking" program, I come up with 70 library based errors. Is …

Member Avatar for VernonDozier
0
127
Member Avatar for Nemes

Hi, I have somewhat of a mysterious crash on my program. As far as myself and my primitive knowledge are concerned, this litterally does not make any sense at all, but maybe you guys can make some sense out of it. Basically, inside a loop, I modify a float variable …

Member Avatar for Diode
0
2K
Member Avatar for Diode

I'm trying to figure out how to parse options such as -h out of the arguments passed on the command line when the program is called. Here is my code so far. I compiled it with gcc -Wall -o options options.c and got no warnings or errors. Although, when I …

Member Avatar for Diode
0
102
Member Avatar for V.Rajagopalan

hi, I developed one application in visual basic 6.0 with the backend of Sql server 2000. I want this application can be run in all client level. what i did is i installed windows 2003 server and sql server 2000 in one system and i copied the exe file of …

Member Avatar for fkmercado
0
76
Member Avatar for AUGXIS

help me.i woul like to make my access 2003 database be network database.im using vb6 as front end.thanks

Member Avatar for AUGXIS
0
84
Member Avatar for Expotential

I am trying to remove a list item in a listbox... the problem is I have to remove it by the what is visible to the user the program doesnt keep record of the index number in the listbox so we have the following in a list box Bob Fred …

Member Avatar for Expotential
0
187
Member Avatar for Barbarrosa

Can someone please explain to me how to use CopyFromScreen. I'm trying to cut out a piece of the screenshot and then convert to tiff using the encoder tiffbitmapencoder. This will later be passed on to the OCR MODI function to get the text from the image. However, as always, …

0
101
Member Avatar for joshkin20

Hello everyone, I was elected to be the company "IT guy" at a printing company aside from my day-to-day job here (lucky me), and have done a minimal amount of coding (HTML, ASP), but could definitely use some help on this project. We have some large clients who insist on …

Member Avatar for trudge
0
93
Member Avatar for Jennifer84

I have a richTextBox where I am trying to replace all strings that look like this: "stringvec[11][12]". I have this for loop so far that would work if the string always had the same lentgh but the thing is that I will not know if the string also can look …

Member Avatar for Jennifer84
0
96
Member Avatar for aot

I'd like to be able to make a slider widget without the knob that users can click and drag -- that is, I want the user to simply click somewhere on an empty slider and *then* have the knob appear where clicked. Is this possible with either Tkinter or wxPython? …

Member Avatar for Ene Uran
0
266
Member Avatar for knight fyre

Why doesn't it work when I enter "NO"? [CODE=c] do{ printf("\n\nDo you wish to continue (yes or no): "); uppercase(fgets(progress, sizeof progress, stdin)); fflush(stdin); ((strcmp(progress,"YES")!= 0 && strcmp(progress,"NO")!= 0)?printf("\nOnly 'yes' or 'no' will be accepted!\n"):printf("\n")); }while(strcmp(progress,"YES")!= 0 && strcmp(progress,"NO")!= 0);[/CODE]

Member Avatar for jephthah
0
128
Member Avatar for Lensva

[code=c++] #include <iostream> using namespace std; class client { private: int choice; int age; int height; int weight; char *name; public: void menu(); void setStats(); void task(); }; //======================================================== void client::menu() { cout<< "MENU \n"; cout<< "1. enter data \n"; cout<< "2. view data \n"; cout<< "3. quit \n"; int …

Member Avatar for VernonDozier
0
116
Member Avatar for anbuninja

im just starting with If, else, true statements and im stuck. # include <iostream> # include <cmath> # include <iomanip> using namespace std; int main() { int score, days; bool Y = true; cout <<"Enter an assignment score and type 'Y' if it was late: "; cin >> score >> …

Member Avatar for Sky Diploma
0
113
Member Avatar for 1337455 10534

I need to convert .docx files to .doc (on Linux and Windows). I'm planning to use the zip mod to access all of the internal XML documents. Then I'll the /word/document.xml and I need to parse it so that it will read all of the text in the tags, place …

Member Avatar for 1337455 10534
0
140
Member Avatar for Hercf

Hi everybody! I’d like to set up a dynamic “name” in coldfusion 8, with dreamweaver CS-3! I have 2 Cf checkbox forms: “my” , “your” and 2 Cf Image fields: “name”, “site”. Depending on selection, result must be: “myname” or “yourname”; “mysite” or “yoursite”. Could anybody give me a hint? …

Member Avatar for cmhampton
0
77
Member Avatar for sivaslieko++

I have installed eclipse and I need to learn JSP as quickly as possible.. I think firstly I need to install JSP plugin for eclipse but I could not find it. Do you have any suggestion for plugins? The syntax of jsp is similar to php or asp.net? or anything …

Member Avatar for peter_budo
0
90
Member Avatar for nikk

Hello friends, I want to display an image in my JSP using expressions (<%=abc%>)tag. But, the problem is that the JSP does not show the image. I store the path retrieved from database (MS SQL) in a "path" variable and then try to display it in JSP using <img> tag. …

Member Avatar for jwenting
0
120
Member Avatar for mehmedovic

Hello i created this and i dont know how to debug it because when ever i create a script the part i hate is teh debuging so can some one please help me out and thank you very much --> [code=javascript] <HTML> <HEAD> <TITLE>JSP Debugging</TITLE> </HEAD> <BODY> <% import java.io.*; …

Member Avatar for jwenting
0
109
Member Avatar for mehmedovic

hello i need to create this thing its for my home work and i have no time to do it because i am taking 6 college classes and when i tried to do it i had no idea so i reread the chapter which it was suppose to be on …

Member Avatar for jasimp
0
156
Member Avatar for StephNicolaou

I have had to repaint a couple of times because of a moving shape I have added to my program whenever the mouse is clicked. I also have a moving shape that follows the mouse over a grid as well which doesn't help a lot, could you please tell me …

Member Avatar for StephNicolaou
0
238
Member Avatar for Dell XPS

I need your help. I havee the destination path for some pictures stored in a txt file and also have their descriptions stored. What i am trying to do is put the pictures in a word file and add their description below the picture. Then i need to print the …

Member Avatar for bwkeller
0
260
Member Avatar for look@me

i have a small problem in my ass and i dont know how to solve it the problem is: [B]This problem is a game where n objects are arranged in a circle and every mth object is deleted until 1 object is left. The original problem is said to derive …

Member Avatar for VernonDozier
0
108
Member Avatar for Run.[it]

Weve been given this example to work with and Im not sure about the line 9 [B][I]char cont = 'n';[/I][/B] - is there even a need for it? The rest of the program I understand. [code=c++] #include <iostream> #include <stdio.h> using namespace std; int main() { int no = 1; …

Member Avatar for Run.[it]
0
151
Member Avatar for Parsu7

Is it necessary to write a corresponding servlet for each JSP page in case of MVC Architecture?

Member Avatar for Parsu7
0
105
Member Avatar for sfurlow2

We're supposed to write a function that calculates both the x and y coordinates of the upper left corner of the square that just contains a circle, given the x and y coordinates of the center of the circle, and the radius of the circle. Return the x and y …

Member Avatar for VernonDozier
0
124
Member Avatar for lucym

Hello, I want to add the 'did you mean' feature (like on Google) on my shareware site, where a lot of users have mistypes, and they get 0 results... so they exit the site very fast. Do you have any idea how I could implement such a thing? Does it …

Member Avatar for BearofNH
0
111

The End.