199,114 Archived Topics
Remove Filter ![]() | |
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 … | |
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: … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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. | |
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. … | |
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 … | |
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 { … | |
![]() | 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 … ![]() |
![]() | 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 … ![]() |
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. | |
/* 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 … | |
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 … | |
I have a string , i want to give it a blink effect ... is there any specific function for it . | |
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 … | |
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 … | |
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 … | |
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 … | |
#!/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 ($. == … | |
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 … | |
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; … | |
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 … | |
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 … | |
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 … | |
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 … | |
help me.i woul like to make my access 2003 database be network database.im using vb6 as front end.thanks | |
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 … | |
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, … | |
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 … | |
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 … | |
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? … | |
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] | |
[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 … | |
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 >> … | |
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 … | |
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? … | |
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 … | |
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. … | |
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.*; … | |
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 … | |
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 … | |
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 … | |
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 … | |
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; … | |
Is it necessary to write a corresponding servlet for each JSP page in case of MVC Architecture? | |
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 … | |
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 … |
The End.