132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for server_crash

My applet is not showing up in a web page, and all of the code is correct... I'll post it and the html code: [Code] // import all need packages import java.awt.*; import javax.swing.*; import java.awt.event.*; import java.applet.*; //extend JFrame for the user interface and actionlistener for events public class …

Software Development first-post java java-swing user-interface
Member Avatar for server_crash
0
106
Member Avatar for Kaone

I am doing a visual traffic simulation project and i have the named problem in my main class.How do you solve it.the problem occurs in the following segment of the program:The roadDesigner,roadNetwork andsimPanel symbols cannot be resolve.(The problem starts at the bolded part of the program) [code] import java.awt.BorderLayout; import …

Software Development display gui image java java-swing open-source xml
Member Avatar for Narue
0
303
Member Avatar for freesoft_2000

Hi everyone, I have an easy question but i can't seem to get it right. Bear with me. I have a buffered image where i would like to draw a rectangle around that buffered image. The thing is i need the thickness of the rectangle to be of a certain …

Software Development image java
Member Avatar for Narue
0
99
Member Avatar for Iamhere

cout<<"how many slots are there?: "<<endl; cin>>s ; cout<<"Please enter\t" <<n<<" " "size of each slot"<<endl; j=k; for(int counter1=0; counter1<krfd; counter1++) { cin>>job_size[k]; }

Software Development c++
Member Avatar for Narue
0
107
Member Avatar for hopeolicious

Can someone help me to output the numbers in the array that are user inputted and sort them in ascending order please this is the code i've come up with so far it .... prompts the user no less then 50 elements and a value no more than 999 it …

Software Development c++
Member Avatar for Narue
0
109
Member Avatar for atul8486

sir i want to convert number in word format like 456 into "four hundread fifty six" .plz help me to make this program.my id is thank you

Software Development c
Member Avatar for Narue
0
157
Member Avatar for Juliane123

Hey guys, I need your help. I need to write a Java program for a simulation for a lottery. I got so far as I got numbers and everything. But how can i make sure that there is no number going to be there twice? Thanks for your help Julie

Software Development java
Member Avatar for Narue
0
1K
Member Avatar for kloony

Hi Guys, it's me again! I have been posing memory-related problems for the past few days because I don't seem to understand what is the problem with my code. I kind of figured it's due to memory issues....so here's my question. Suppose I have a (first in first out) queue …

Software Development c queue
Member Avatar for kloony
0
356
Member Avatar for tat2dlady

Does anyone know how to compare a old style character string with a character in qoutes? Example: I want to compare the first character in a record that is stored in an old style character string with a `*`. Here's what I have in my code: char FirstCharacter[1]; // Character …

Software Development c++
Member Avatar for tat2dlady
0
124
Member Avatar for Ghost

Hi: I made a java app. (with 3 windows) and I was wondering if there was a way to close two of the three forms (except one window) without closing the entire application (All 3 windows). Thanx in advanced, C++

Software Development java
Member Avatar for server_crash
0
143
Member Avatar for dallin

I'm stuck, I have a base class String, derived class Pstring, and trying to develop another derived class Pstring2. Pstring2 needs a function called left. Main will call the function by Text.left(Text1,N) // Text2 is assigned the leftmost N characters from Text1. I'm having a hard time understanding how to …

Software Development c++ display
Member Avatar for dallin
0
93
Member Avatar for bluegoo06

i have to define a function that tests number from 2 to 10000 to see if they are prime. heres what i have so far. [code] #include <iostream> #include <iomanip> using namespace std; bool find_prime(int); int main () { int i, counter =0; bool test; for (i =2; i <= …

Software Development c++
Member Avatar for samarth
0
94
Member Avatar for voodoolive

1. Problem Descriptions: People living in a Pacific island like to play four games. These games are similar to our lottery games. One of the games is play 6 that is to randomly pick 6 different numbers between 1 and 56 including both numbers. The second game is play 5 …

Software Development java
Member Avatar for jwenting
0
179
Member Avatar for server_crash

Does anyone know a good tutorial on parsing math equations? I would use google, but I don't know what to search.

Software Development google java
Member Avatar for jwenting
0
118
Member Avatar for new comer

hi i have just got my self a Borland 4.5 from ebay and would like some help in using it. i am very new to programing and i would like to be able to put a shoping cart on my website but i know nothing about it all help very …

Software Development c c# c++
Member Avatar for vegaseat
0
154
Member Avatar for xfruan

I wanna create an array whose size would be determined by a variable, but i when i write the following, i got an error int main () { int a; std::cin >> a; int intArray [a]; return 0; } the error is "an constant expected".

Software Development c++
Member Avatar for Narue
0
109
Member Avatar for Iamhere

Hi ppl I would really appreciate if someone help me out here. I really tried to do this problem and its driving me crazy. All I could get is the algorithum of worst fit, best-fit next fit and first fit. Please help me as soon as I can. And I …

Software Development c
Member Avatar for Dani
0
240
Member Avatar for trevs234

in a book there is a code that i am trying out and my compiler keeps giving me diferent errors (compiler is Borland C++) and i dont know how to fix them. the code is [code] //----------------------------------------------------------------- // Skeleton Application // C++ Source - Skeleton.cpp //----------------------------------------------------------------- //----------------------------------------------------------------- // Include Files …

Software Development c++
Member Avatar for vegaseat
0
161
Member Avatar for SyLk

im having problems figuring out how to print this array in reverse.I believe it might be a logical issue. I don't want the answer. I'm thinkin my row must be initialized to the matrix.length. can someone give me a few hints as to go about this. public static void printMatrixReverse(int …

Software Development java
Member Avatar for Narue
0
243
Member Avatar for linouna

Hello every body, I'm a student working on a project to test an anti-spam.....where I have to bomb one mailbox with many emails, I tried to use a mailbomber tool but the problem with this one is that it send one e-mail to many recipient ....what I want to do …

Software Development email shell-scripting
Member Avatar for kc0arf
0
152
Member Avatar for Richie

I am new to programming. I have taken two programming class (one we used qbasic and this semester I am taking a VB.NET class). I really enjoy programming exspecially in VB. I have done great so far. But then we get to a chapter on classes and I am have …

Software Development vb.net
Member Avatar for Paladine
0
124
Member Avatar for pjnutt

Hello, I am attempting to make a stored procedure call to an ADO. I will paste in the try loop. Problem is code compiles and runs, however; the stored procedure never runs. It's supposed to create a row in the DB, and the row is never created. If I run …

Software Development c session sql
0
189
Member Avatar for oxyi

Hi, looking for an assmelby programmer for x86 today . Yes March 11. for a small project take only an hour or so. I am paying $30 or oOB paypal for it, please emaile me oxyigen@gmail.com Again, it is today only, and need it done by 6pm PST. This is …

Software Development assembly email
0
105
Member Avatar for baboon4000

hello people, i need some help on visual basic, i am currently using the lastest edition of visual basic and access xp, my tutor said if i want to access both of them i neeed to download a serpark from microsoft, 'SP5', do you happend to know the link to …

Software Development microsoft microsoft-access visual-basic
Member Avatar for mnemtsas
0
105
Member Avatar for reezin14

I just recently purchase VB6 and was wondering if it is worth putting in the time to learn it, seeing that VB.net is being pushed by MS. Should I be trying to learn VB.net instead? I'm basically new to programming and was just wondering if VB is going to be …

Software Development vb.net visual-basic
Member Avatar for mnemtsas
0
287
Member Avatar for Maple_Tiger

In this book I'm using, Sams Teach your self C++, it says to: Start compiler, choose file, choose Win32 Console Application, choose empty project, choose C++ source file, edit source code, choose build, check that you have know build errors and run the program. Whats the difference betweeen Build and …

Software Development c++
Member Avatar for Maple_Tiger
0
177
Member Avatar for lappy512

Hello Daniweb Forum Users, I have been trying to create a ported version of a caculator game to C, but I am new to C and have been learning from "The C Programming Language", 2nd Edition. I have had only one major trouble that has prevented me from starting: I …

Software Development c
Member Avatar for Tight_Coder_Ex
0
126
Member Avatar for arikeri

Iam reading in a 4row 3column table. Iam refering to char_function[4][3] in the following code.This is a part of a larger program. You can neglect all other things and look at char_function my aim is to print it out [code]#include<iostream> using namespace std; int N, Q, M;//number of user inputs, …

Software Development c++
Member Avatar for Dave Sinkula
0
202
Member Avatar for Ghost

Hi everybody, I was making an application that continuosly loads a Java String into a TextField in another program and then hits enter (hits the enter button in the external application) and then reeats the process. Can you tell me how 2 do this? Thanx, C++

Software Development java
Member Avatar for Ghost
0
96
Member Avatar for trevs234

I am new to programming in any language and right now i am using C++. im having trouble getting started with programming because i dont know how to use code together very well to create my own programs if anyone would refer some book or website or just give some …

Software Development c++
Member Avatar for trevs234
0
115
Member Avatar for tyczj

ok so im taking a class at school and we have a lab that i am stuck on. "the program must read in an inventory list of items at a small retail store." i have most of it but im stuck on getting a discount price and having it line …

Software Development c++
Member Avatar for OurNation
0
156
Member Avatar for Richie

The project should display a different amount if the new release check box and the dvd {or vhs} radio button are both checked, its displaying the regular price. This is my code: Option Strict On Public Class videoBonanzaSaleForm Inherits System.Windows.Forms.Form ' Declare Constants Const DVD_PRICE_Decimal As Decimal = 2.5D Const …

Software Development display vb.net
Member Avatar for Iron_Cross
0
134
Member Avatar for sye

i have no problems linking forms in microsoft visual j++ but linking a form previously created to anything other than a form gives me problems

Software Development java microsoft
Member Avatar for jwenting
0
177
Member Avatar for sonaj

I am only a college student at a nearby university and i dont claim myself an expert but i am really having difficulty in trying to make a game called Tic Tac Toe in Turbo C. our professor put some requirements for the game. First, the user may enter an …

Software Development c
Member Avatar for kshama002
0
246
Member Avatar for NewVBguy

Hi there, I'm trying to print an ms word file using vb. Before it will go to printer, I want the document file to be viewable but not editable. Can anyone help me. Thanks, Note: I was able to view the doc file but it is editable. I am using …

Software Development printer visual-basic
Member Avatar for Comatose
0
161
Member Avatar for dani1982

i am suppossed to write a program using an array of strings to hold the words of the ICAO alphabet, and index the array by the positions of the letters of the alphabet. I started it off but cannot figure it out please help!! #include <iostream> const int n_row=26; const …

Software Development c++
Member Avatar for Tight_Coder_Ex
0
239
Member Avatar for shonenhype

Hey, I am in a beginning C++/C# Class and we are jsut starting the Math LIbrary. I need to write a program that displays all perfect integers up to 100. I am required to write a boolean function, IsPerfect(), to use in the program. My problem is I was either …

Software Development c++
Member Avatar for Dave Sinkula
0
179
Member Avatar for George2

Hello everyone, I am using HTTP protocol to transfer large amount of data across two machines. And I have found out that some packages will be lost when using the following source codes. I am wondering whether there are anything wrong or potential issues in them. Data request [Code] URLConnection …

Software Development http-protocol java
Member Avatar for George2
0
119
Member Avatar for statc

hi, i was wondering if anyone could help me out? i have this project in my java class where i need to format an integer to a string with commas (ex:1000000->1,000,000) using recursion. I've tried it for 4 class periods and i just can't figure it out. If you feel …

Software Development java
Member Avatar for server_crash
0
87
Member Avatar for yni420

Hi I am in the process of developing a series of tutorial cds for programming and web designing like C C++ Java html etc My first Cd is on C programming languages I need feedback 1) Completely flash based or completely html based...... if a combo of both which more …

Software Development c++ email flash
Member Avatar for william_stam
0
148
Member Avatar for ZEEPLE

I am writing a simple statistical calculation program....I was wondering how do I package this so it is an executable from the desktop with an Icon to execute the program..It is written in java.....

Software Development java
Member Avatar for paradox814
0
104
Member Avatar for Lapari

Can any body please help me with this. I don't know what is wrong here. when I run my program, only one form appear on screen. Both forms surpose to appear one after another. Or maybe something is wrong with my the code. [code] Module Module1 Public Sub Main() Dim …

Software Development visual-basic
Member Avatar for Comatose
0
77
Member Avatar for milaco8318

I have recently come in touch with the JAVA and I was wondering if somebody can help me with the console window code. Thanks in advance P.S - Also, when typing the code into the JBuilder, where does it go? Does it go straightafter: package XX; Thanks,

Software Development java
Member Avatar for server_crash
0
104
Member Avatar for tat2dlady

I am trying to create a random access file from a sequential file. I have the random access file skeletonized with "dummy records". An example of my dummy record is: 100 *********ZZZZZZZZZZXXXXXXXXXXYYYYYYYYYYYYYYYYYYYY00.00 -1 *********ZZZZZZZZZZXXXXXXXXXXYYYYYYYYYYYYYYYYYYYY00.00 -1 The "*'s" are a SSN, "Z's" are the last name, etc, etc. The 100 and …

Software Development c++
Member Avatar for Tight_Coder_Ex
0
137
Member Avatar for bennyp

My program is currently 980mb is there any way i can make this smaller?

Software Development visual-basic
Member Avatar for NewVBguy
0
113
Member Avatar for kloony

I have a first-in-first-out queue implementation such that when it is first initialized, a malloc is called to set aside memory for items that will be placed on the queue. When I am done with the queue, how do I free up the memory? My code for the queue is …

Software Development c queue
Member Avatar for kloony
0
482
Member Avatar for cghv

Hi, I am writing a program at the moment which requires me to scan in data from an external file, which to be added to a linked list. The external file is a list of pairs of cities and the distances between them - each piece of data is tab-delimited, …

Software Development c data-structure file-system linked-list
Member Avatar for Dave Sinkula
0
174
Member Avatar for arikeri

I not able to decide how to read in a data of the following table A B(initial values) | x = 0 | x = 1 ------+--------+-------- 0 0 | q=0, y=0 | q=3, y=1 note: q=0 means A and B are 0, 0 1 | q=0, y=0 | q=2, …

Software Development c
Member Avatar for Dave Sinkula
0
110
Member Avatar for SyLk

can someone explain to me how i can pass the array "test" and the int "total" back to the main by reference. public static void CalculateAverage() throws IOException { int[] test=new int[7]; int count; int total=0; for (count = 0;count < 5; count++) { test[count] = Integer.parseInt(tokenizer.nextToken()); total = test[count] …

Software Development java
Member Avatar for Narue
0
584
Member Avatar for Almost a GURU

I am using VC++6.0 I am attempting to implement the TEA for a Oracle server. I am plannng to write the algorithm in C++(C), then add it to a shared library. I am new with C++ and I am having some difficlulty, mainly in two basic areas: 1. I want …

Software Development algorithm c++ oracle
Member Avatar for Almost a GURU
0
85

The End.