132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for paradox814

I have been searching for a long time, and I cannot remember the name of this swing component that I attached in the image. It's the one that is captioned "Please input the...." I don't need help on how to implement it (beyond knowing the class name), I just forgot …

Software Development java java-swing
Member Avatar for jwenting
0
120
Member Avatar for christianthag

Hello everybody!!! I'm desperead and i want your help!!!!! I have an excersice which say's: Built a class for dates using private data.the attributes must be controlled for validness.Implement methods for print and a method which returns the difference between 2 dates.Also make a method that calculates the day of …

Software Development java
Member Avatar for christianthag
0
89
Member Avatar for fredzik

G'day, Back again, this time with three problems. The code below contains a white entry box that I'm trying to get rid of. The main reason I'm trying to get rid of it is that the game I'm working on has a scrollable GUI, and with 50 or so frames …

Software Development gui python tkinter
Member Avatar for fredzik
0
2K
Member Avatar for shuchimuley

Hi , I wanted to know how to write a c# code that reads from a file and counts the number of lines . This count should exclude the comments present eg : //this is test using System; should not count "//this is test" at all . Please can someone …

Software Development
Member Avatar for shuchimuley
0
1K
Member Avatar for ReeciePoo

Ok im trying to grab the information after [code]<input type="text" name="[/code] and before [code]" value="">[/code] so that it only grabs the information name="" holds Any one offer assistance as to how i do this?

Software Development html-css visual-basic
Member Avatar for ReeciePoo
0
135
Member Avatar for rahulgupta1979

Hi all, please help me. I need to know how to create barcode labels in a desktop application and then how to print them out. If anybody can provide me with java code, that will be a great help. I have tried my hand on various progs on different forums …

Software Development java
Member Avatar for rahulgupta1979
0
258
Member Avatar for wesley123456789

Hello new to this site - looking for help counting specific characters from a single word input by a text box, Thanks Wes

Software Development delphi pascal
Member Avatar for radu84
0
295
Member Avatar for parthiban

Hi all, I just started to work C++ in Dev C++ compiler before that i used Turbo C++ compiler when i try to compile a simple program in Dev C++ compiler . I'm getting error . Here's the program [code]#include <iostream> #include <conio.h> int main () { cout << "Hello …

Software Development c++
Member Avatar for parthiban
0
684
Member Avatar for Slavrix

Hey guys, im just askign if its possible for sum help with this assignment i have, its a connect 4 game, and there are some bugs that i cant work out of it no matter what i try here is the code. problem are: 1. when choosing from the first …

Software Development c++
Member Avatar for Slavrix
0
135
Member Avatar for Stoney

I can't figure out a way to have this program continue to loop if you press any number other than 1 or 2. Here's the test appilcation. [CODE]public class AnalysisTest { public static void main( String args[] ) { Analysis application = new Analysis(); // create Analysis object application.processExamResults(); // …

Software Development java
Member Avatar for deng_cen
0
212
Member Avatar for kylcrow

I am a freshman in college, and I am a computer science major. I am looking to co-op/intern this summer and fall, and I was wondering what a good entry level job would be, like thier duties and responsibilities. I am posting here becuase I know more about c++ then …

Software Development c++
Member Avatar for kylcrow
0
95
Member Avatar for jaepi

hello there...i've been using this function to know if the input of the user is a number or a letter...but it's not working... [code] #include <iostream> #include <math.h> using namespace std; double temp2; int main(){ cout << "\n enter something"; cin >> temp2; if(isnan(temp2)){ cout << "not a number \n"; …

Software Development c++
Member Avatar for thekashyap
0
119
Member Avatar for MarcosEdu

Hi guys, I startin the project of a (web) server in c++ and i want to able to manage about 1000-2000 clients. I have been reading alot about Single-thread VS Multi-thread server and i wanna know what u guys think about it. I do not plan on using one-thread-per-client because …

Software Development c c# c++ client-server web-server
Member Avatar for MarcosEdu
0
317
Member Avatar for migg_21

awk '{print NR SEP $0}' SEP="/ " exfile1.txt > try2.txt here is a awk scritp which copies the contents form one to anthor it works well, but how do I change it to copy the contents in to several files ? can any one help please

Software Development shell-scripting
Member Avatar for ghostdog74
0
178
Member Avatar for brightmohan

Hi, This function that I've written works well when compiled under the Turbo C compiler on windows XP but it says Segmentation Fault while it runs on linux after compiling with cc Compiler. I've been trying to think what might be wrong....I'm just wasting time....Please help me solve this bug. …

Software Development c
Member Avatar for Salem
0
101
Member Avatar for Tenac

Hello. I'm currently revising for an exam in structures and algorithims, but recently ran across a problem in my studies. I have already tried lookung through notes, online and Daniel Liangs java book, but can't find exactly what I need. The code is as follows: [CODE] public class QuizTest { …

Software Development java
Member Avatar for deng_cen
0
136
Member Avatar for kylcrow

How would one right justify a string with a width of 4 and store it in a variable without being able to use cout? If that is even possible.

Software Development c++
Member Avatar for Narue
0
144
Member Avatar for leoimperial

I want to learn about vb.net but i dont know how to start it. Please give me some basic sample for a beginner of vb.net codes

Software Development vb.net
Member Avatar for waynespangler
0
432
Member Avatar for Duki

Hey everyone, I'm getting ready to take a summer class on VB6 and I was wondering how hard it would be for me to keep on track with the rest of the class while using 2005 express or something of the like? I would really like to go ahead and …

Software Development vb.net visual-basic
Member Avatar for jamello
0
353
Member Avatar for gogo3624

I'm trying to add a zero at the end of the data that start with 62018 (it will always start with 62018) UNB+UNOA:1+5030917029608:14+5000119000006:14+070509:0850+62018000100020[B][U][COLOR=red]0[/COLOR][/U][/B]++INVOIC any help would be appreciated. Thank you JG

Software Development shell-scripting
Member Avatar for masijade
0
74
Member Avatar for sez90

hi im doing a hangman game on delphi and need to randomly choose a word from an array then every letter guessed by the user for the game to check if the letter is in the word n if so place it in the appropriate place and if not build …

Software Development delphi pascal
Member Avatar for sez90
0
119
Member Avatar for Bill T

Im just a beginner but I find java exciting can someone help me Im trying to write a program to spell ambulance backwards I think im close but I need somw help Im using strings to spell. Ty. :sad:

Software Development java
Member Avatar for nblue
0
245
Member Avatar for shriagni

how can i create the byte and word data types. Im using a header which requires word and byte data types for execution of data. where as my compiler dun accept those types. how can i implement them? thank you in advance. regards, Shrikrishna

Software Development c
Member Avatar for Ancient Dragon
0
145
Member Avatar for nkhosinathie

i'm writing a pseudocode for a program that ask a user to enter a data and the program should forced the user to enter a required information.using a for loop. the program is like this. women between the following agea 20.20-30,32 above men between the ages 20,20-30 and 32 above …

Software Development c
Member Avatar for Aia
0
135
Member Avatar for nkhosinathie

hello everyone. i'm developing a program from a department-store customerhas exceeded the credit limit on a charge account.for each of the following facts are available.account no,balance of the begining of the month,i total of all items charged by this customer,total of all credit applied to this customer.'m required to instal …

Software Development c++
Member Avatar for Ancient Dragon
0
169
Member Avatar for littleghost76

hello everyone, im having issues with this. i don't know what else to try. i am supposed to add a remove function to delete the last node in the list, i am trying this, but i get an endless loop, and when i change it around it just sits there. …

Software Development java
Member Avatar for littleghost76
0
102
Member Avatar for Marks256

How would one control an application (Media Player) from the program being created in VB? To sum it up, i would like to control media player (Microsoft Media Player 11) from my program. When i say control, i mean "Play, Pause, Next, Previous, Mute, Stop, etc..." I want to do …

Software Development vb.net
Member Avatar for Marks256
0
146
Member Avatar for nkhosinathie

I Want To Use A For Loop To Enter Three Answers From Three Questions But My Problem Is I Don't Have An Idea Coz I'm New To This C++ Language Please Help? THE LOOP STARTS TO COUNT FROM 100

Software Development c++
Member Avatar for minigweek
0
103
Member Avatar for kamelin

How would I write a class that could enumerate all positive integers starting with 1?

Software Development java
Member Avatar for ~s.o.s~
0
74
Member Avatar for loilord

hi,i'm a newbie of java.now develop a system to evaluate the usability of a website. now i facing a problem.how i retreive the hyperlink,image and others fr the HTML code? use bufferReader to read out the HTML code? or use the tokenizer better?or use both of it? somebody help me,pls..my …

Software Development java
Member Avatar for ~s.o.s~
0
86
Member Avatar for asaretitilope

please i want to learn how to program in XML and interface with C++ programming language please i need a road map, related resources and where i can get them both free and paid for...

Software Development xml
Member Avatar for GreenDay2001
0
107
Member Avatar for nblue

Hi, everyone, I just start study Swing . I have some small question about the JTable. Is there anyway I can make the Jtable to auto resize during the runtime when I maximize the window? My code did not display the stuff I put onto the Table, what did I …

Software Development gui java java-swing
Member Avatar for nblue
0
101
Member Avatar for kamelin

I need help solving this Java problem, any advice, tips, or code would be greatly appreicated. Thanks. [COLOR=#000000]Begin by writing an abstract class named [B]Sequence[/B]. The [B]Sequence [/B]class contains the following abstract methods:[/COLOR] [B][COLOR=#000000]public abstract boolean hasNext()[/COLOR][/B] [B][COLOR=#000000]Returns true if the sequence contains another term after the current term. This …

Software Development java
Member Avatar for jwenting
0
117
Member Avatar for ollie335

Hi, I've been trying to create a C++ program that gets the input from the user, calculates the amount of digits in the array and then calculates the sum of the digits Heres what i've got so far int main() { char num[100]; cout << "\nEnter Number: "; cin >> …

Software Development c++
Member Avatar for ollie335
0
89
Member Avatar for snedan

ok, i need small help, to create/open a file with specific name, in order to make it clear here's a small function from my program [code=cpp] void CreateNew () { string fileName = "helpme.txt"; //==>>> my problem!! ofstream DataFile; DataFile.open(fileName, ios::out | ios::app); // string fileName == filename if (DataFile.is_open()) …

Software Development c++ ios
Member Avatar for Narue
0
90
Member Avatar for sofianos

hi im making an exercise about two arrays. one is a working like a stuck (LIFO-Last in First Out)array and the second one like a queue (FIFO-First IN First Out). The problem is that im confused what to write in the case 3 and 4.....:?: Any additional help about compiler …

Software Development c queue
Member Avatar for Infarction
0
155
Member Avatar for tgreer

I'm struggling with XSLT. I need to copy an entire xml file to a new xml file. The input and output should be identical except for the addition of some extra tags around certain elements. Consider the two versions: [code="xml"] <?xml version="1.0"?> <document> <header> <general> <version>1.14.2</version> <form>/XX/ATL_ZI_D007_PURCHASE</form> <language>EN</language> <device>PRINTER</device> </general> …

Software Development printer xml
Member Avatar for jwenting
0
180
Member Avatar for the juice

i am new to c++ and have been asked to create an encryption programme using the zig zag (rail fence) cipher. this will be saved to a file, and when it is opened the file will be decrypted. a user will type in a message. The message is then read …

Software Development c++ encryption
Member Avatar for Salem
0
773
Member Avatar for jeiahonz

Im a first year students, its my first time to use vb i know less about vb. Were already having grraphics in our class and im not good at it. Will you help me draw a simple see saw, cube, and a self profile :lol:

Software Development visual-basic
Member Avatar for dawit
0
246
Member Avatar for ReeciePoo

Im creating a Databased; based program to of course send and recieve data from/to the database but never have I use MS Access before. can anyone recommend a simple tutorial for me?

Software Development visual-basic
Member Avatar for ahmed elweshahy
0
104
Member Avatar for milonix

hey, how are you guy's/girl's doing tonight.. anyways im getting a syntax error on: [code] for each c as arraylist [/code] and not sure why can anyone help if you need more info please tell and i will give it to you

Software Development vb.net
Member Avatar for waynespangler
0
67
Member Avatar for desijays

Im looking for a network library for c++ cos Im planning to write a small network application. something along the lines of a port scanner. I would be interested in knowing which library most people use and what is recommended.

Software Development c++
Member Avatar for desijays
0
134
Member Avatar for iTaChi

Hi.. I know C and C++ and learned the basics in 1 month. now, i am writing programs, but that programs are only for mathematics. Is there anyway i can learn system programming in C? What site would you recommend?? Thanks!..

Software Development c++ mathematics
Member Avatar for iTaChi
0
136
Member Avatar for pranto157

in my project i used vb6 and oracle. the connection method is DAO. i can execute query by writing --- Set rs = db.OpenRecordset("select * from patient_profile", dbOpenDynaset, dbExecDirect, dbOptimisticValue)--- but when i am going to execute -- Set rs = db.OpenRecordset("select max(id) from patient_profile", dbOpenDynaset, dbExecDirect, dbOptimisticValue)-- it gives …

Software Development oracle visual-basic
Member Avatar for pranto157
0
88
Member Avatar for matale

I currently have something like this in my code [code=vb.net] For intIndex = 1 To 1000 objWriter.Write("a") Next intIndex [/code] Is there a faster way to write to a file? Especially for higher values of intIndex, doesnt matter if Im writing characters or whatever. Im just trying to fill a …

Software Development vb.net
Member Avatar for arjunsasidharan
0
42
Member Avatar for kylcrow

Hmm. I am converting a string into an int. [code=c++] string sum(string line) { string first; string last; string scores; string output; istringstream lineStream(line); lineStream >> last; lineStream >> first; for (int i = 0; i < 10; i++) { string getScores = "0 "; lineStream >> getScores; scores += …

Software Development c++
Member Avatar for vijayan121
0
143
Member Avatar for satyanarayanam

hi i have problem i have to devolpe a program ,that can't use a printf ,but i have to display a string. is this works int a = printf("How is this\n"); main() { int b; } This will work in C++ wht abt c? AND one more [B]HOW sizeof()[/B] [B]implemented …

Software Development c++
Member Avatar for vijayan121
0
134
Member Avatar for Zillian

Hi, I've been trying to get this to work for the past two hours and can't figure out why this run-time error is happening. The code is as follows: [code=cplusplus] #include<queue> #include<stack> #include<iostream> usingnamespace std; int main() { stack<char,deque<char,allocator<char> > > s; queue<char,deque<char,allocator<char> > > q; char ch; int count …

Software Development c++ queue
Member Avatar for Dani
0
859
Member Avatar for FoX_

Hi all; I have to control wheter a string is an array element or not. I tried to exists function but it didn't give me the desired output. [code=perl]print "Which hotel do you want to remove from the list?\n"; chomp($a = <STDIN>); if(exists $name {$a}){ foreach $record(@name){ if($record eq $a) …

Software Development perl
Member Avatar for KevinADC
0
83
Member Avatar for Gregry254

Hey there, i have been given a task to complete as home work for college and i seriously have no idea how to do it, hopeing one of you guys would be able to shed some light on it for me? Well here it is. You have been asked to …

Software Development pascal
Member Avatar for Terry Robinson
0
127

The End.