132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for mathgirl

Leap Years Def: A year is a century year if it is divisible by 100. Def: A year is a non-century year if it is not a century year. Def: A year is a leap year if it is a non-century year that is divisible by 4, or a century …

Software Development c
Member Avatar for Ancient Dragon
0
365
Member Avatar for pointers

Hi, I am very new to java.....i know only c programming language.....even dont know c++ now i am getting training in java , i am confusing with oops concepts like polymorphism,inheritence etc. and java syntaxes all can u pls post a good link thst gives good command over oops , …

Software Development first-post java
Member Avatar for indianscorpion2
0
82
Member Avatar for satish.paluvai

:?: what i smeant my linker error in c++.? why it causes in c++?

Software Development c++
Member Avatar for vijayan121
0
82
Member Avatar for eeeman

"ListFiles.java": Duplicate definition of class milestonemyworkspace.ListFiles, defined in H:\SDI\MileStoneMyworkspace\MileStoneMyWorkSpace\src\milestonemyworkspace\ListFiles.java and also defined in H:\SDI\MileStoneMyworkspace\MileStoneMyWorkSpace\src\milestonemyworkspace\listFiles.java. The bugs says theres a duplicate class but as you can see on the image the files look normal. I have no idea whats wrong I tried deleting the class and repasting to another class but …

Software Development java
Member Avatar for jwenting
0
136
Member Avatar for compusaz

hi i am still a beginner and i am very interested in learning this language . what is the best i can do?

Software Development java
Member Avatar for jwenting
0
104
Member Avatar for eeeman

Hi Im am so far trying to get the Jlist in my gui to display all the files in my directory H:\SDI\MileStoneMyworkspace\MileStoneMyWorkSpace\users\abimar How can I do this. If you look I madde an attempt, tried to write files to object and list objects in J list. What am I doing …

Software Development gui java java-swing operating-system
Member Avatar for jwenting
0
144
Member Avatar for mathgirl

I need to create a decision tree that sorts any three integers in ascending order. This is what I did:[code=c] #include <iostream> using namespace std; int main() { int x, y, z; cout << "Enter three integers: "; cin >> x >> y >> z; cout << "Your three integers …

Software Development c++
Member Avatar for WaltP
0
154
Member Avatar for wujianwei

if you type "123e1" in the command line, the system may read "123" and save the value. but how can we tell the computer that it's an wrong input?:-|

Software Development c
Member Avatar for WaltP
0
98
Member Avatar for Tales

Can someone help me with this? class Note{ private: [INDENT]double Freq; int milisec; [/INDENT]public: [INDENT]Note(); Note(double Fr, int ms){ [INDENT]Freq = Fr; milisec = ms; [/INDENT]}; ~Note(); [/INDENT]}; Ok... now I declare something like this: Note mynotes[MAX_NOTES]; is there a way to find out the array size? Thanks

Software Development c++
Member Avatar for vijayan121
0
144
Member Avatar for ramya_bugbuster

hi friends... i need code for notepad program... i'm trying to create a new notepad using c++... i cant complete that... i need code for database connectivity with this program for dictionary use in notepad program.. pls help me guys!!!!!!!!!! ---- ramya

Software Development c++
Member Avatar for Lance Wassing
0
118
Member Avatar for staneja

Well i am doing a very simple program that is to calculate the number of occurrance of a character in a string Hello World The character H appears 1 times The character E appaers 2 times The character L appears 3 times The character L appears 3 times The character …

Software Development java
Member Avatar for sun light
0
285
Member Avatar for ripper

i need to find if the system has the latest version of a particular package and install if it dosent. how do i compare the versions? assume that i use rpm to find the installed version and a separate file has info of the required(latest) version. how do i do …

Software Development shell-scripting
Member Avatar for ajcamp
0
98
Member Avatar for teh_man

Hey All i am making a connect four game. I have done most of the code but need help in some bits 1) Which is how to code to see if there a win from vertical, horizontal or diagonal. - The Grid is 7 by 7. - I no idea …

Software Development c++
Member Avatar for Lerner
0
134
Member Avatar for libertygirl

hi! I need a program in vb that does this as soon as possible, I'd be very grateful if anyone could tell me how to do it: the customer gives a table containing the old values and new values in an excel sheet which will be connected to an access …

Software Development mssql visual-basic
Member Avatar for libertygirl
0
92
Member Avatar for karan_21584

hai, i have a XML schema and XML file. Now i want to change the xml <tags> to lowercase... for example <First> <Second>, then i want to same resultant schema and xml file as <first> <second>. could anyone help me plz??? its urgent... thanks in advance....... and also [COLOR=#0000ff]<[/COLOR][COLOR=#990000]xs:element[/COLOR] [COLOR=#990000]name[/COLOR][COLOR=#0000ff]="[/COLOR][B]Rollno[/B][COLOR=#0000ff]"[/COLOR][COLOR=#990000] …

Software Development vb.net xml
Member Avatar for iamthwee
0
126
Member Avatar for satish.paluvai

Memory allocation of variables declared in a program is ------ a) Allocated in RAM b) Allocated in ROM c) Allocated in stack d) Assigned in registers. which one is correct please tell me the answer in 24 hrs...

Software Development c
Member Avatar for desijays
0
97
Member Avatar for 7arouf

hi can anyone tell me what do we mean by: system( "PAUSE" ); and system( "CLS" ); in C++ thanks

Software Development c++
Member Avatar for Lance Wassing
0
562
Member Avatar for Caped Sam

Hi, I'm very new to C++ and I am getting the following error when I try to compile: [Linker error] undefined reference to `CSerial::CSerial()' [Linker error] undefined reference to `CSerial::Open(char const*, unsigned long, unsigned long, bool)' [Linker error] undefined reference to `CSerial::~CSerial()' . . . etc. This is the code …

Software Development asp c++
Member Avatar for satish.paluvai
0
380
Member Avatar for Duki

Hey everyone, this is a big one. The question has asked that I define functions and then write the function main to test the functions I wrote. I keep getting the following error at my first cout in main: error C2679: binary '<<' : no operator found which takes a …

Software Development c++ first-post
Member Avatar for Duki
0
583
Member Avatar for s1lang

Here is my problem I have a league system, however to input a teams score, I select the team via input of an int ID number (int) however I need to enter a the Team name (String) from the array. I cannot get it to work. Can someone please help …

Software Development c
Member Avatar for s1lang
0
89
Member Avatar for shsh_shah

Hi, I am going to ask a question which is small bit silly but for me not as i want to grasp this information in mind. The question is i have seen samples of different codes which have as following [code] Class A { int [] arr=new int[5]; public A() …

Software Development
Member Avatar for shsh_shah
0
81
Member Avatar for Adam_Sanderson1

Hi i basically new to visual c# and i want to create a stock portfolio program to store my stock information, i have decided to use SQL server 2005, but i'm not sure if i should use mangement studio that comes with sql server to create the database or a …

Software Development sql visual-studio
Member Avatar for Adam_Sanderson1
0
91
Member Avatar for staneja

I was executing a simple core java application using JDK1.5 I wrote code and complied using javac it gave some errors that i fixed and at last it got complied successfully But when i tried to exeute it using java it gave me an error message Error in thread main.NoSuchMethodFound …

Software Development java
Member Avatar for vinod_javas
0
142
Member Avatar for nanodano

Is it possible to have a perl script and a bash script in one file? Like: [code] #!/bin/perl print "This is perl"; #exit perl #!/bin/bash echo "This is bash" exit 0 [/code] This is probably just a complicated solution to a simple problem. I have a perl script, and at …

Software Development perl
Member Avatar for KevinADC
0
151
Member Avatar for nanodano

I have a very specific problem. Does s/// work with strings that are contained in single quotes? I've been debugging and I'm trying to replace a string that contains a $ in it. If I use double quotes, it works for the string up until the $. If I use …

Software Development perl
Member Avatar for KevinADC
0
142
Member Avatar for mahajanrahuld

[B]i want to disply the database content on webbrowser . The program writeen syntax free but it can not display anything on web browser [/B] [B]why ? [/B] [B]i can use the MS Access 2000 database[/B] [B]plz help me [/B] [B]code is ..[/B] [B]#!usr/bin/perl[/B] [B]use Win32::OLE; use Win32::OLE::Const 'Microsoft ActiveX …

Software Development microsoft-access perl web-browser
Member Avatar for katharnakh
0
112
Member Avatar for kenjutsuka

[code] void entry(int itemsales1[255][255], int itemcount1, string itemnames1[255]) { int count; char *days[]={"Monday", "Tuesday", "Wednesday", "Thursday", "Friday"}; cout << "Enter item's name: "; cin >> itemnames1[itemcount1]; for (count = 0; count < 5; count++) { cout << "Enter " << days[count] << " sales: "; cin >> itemsales1[itemcount1][count]; } return(itemsales1, …

Software Development c c# c++
Member Avatar for kenjutsuka
0
94
Member Avatar for ntredame

I can't figure out what I have wrong in teh following program. I am trying to count total characters, vowels, and consonants. I have even worked through it with a friend and neither of us can figure it out. The code follows: [code=cplusplus] #include <iostream> #include <string> #include <cstring> using …

Software Development c++
Member Avatar for ntredame
0
4K
Member Avatar for Matt Tacular

I am making a tic tac toe game, and for the grid, I had originally made 9 variables to represent the grid's spaces, but instead, I would now like to use a single char array. I can make the array and print certain parts, but I can't change them. For …

Software Development c
Member Avatar for WaltP
0
97
Member Avatar for galmca

i've written a code for insertion in a linked list for all the 3 cases that is ...at the end,in the beginning & in between.....when i run this code then it runs successfully for insertion at end and in the beginning ,it is also showing no errors while compiling the …

Software Development c linked-list
Member Avatar for John A
0
179
Member Avatar for CRD

Is this the correct forum to get help for a "C" beginner? Dick

Software Development
Member Avatar for 7arouf
0
76
Member Avatar for yaya_star

i need a code, that generate a 100 array of size (10) and 100 array of size of(50), and 100 array of size of(100), and 100 array of size of(200),with random numbers, then for the 1oo array of size(10), in log file then for each array of the 100 array …

Software Development c c# c++
Member Avatar for jan1024188
0
262
Member Avatar for Cerberus

Hi, i've got a component that displays two JSpinners with a JOptionPane but the JSpinners are stretched across the dialog window. Does anyone know how i can format the JSpinners so they're smaller? Here's some of the code [code] import java.awt.*; import java.awt.event.*; import javax.swing.*; import javax.swing.text.*; public class TComponent …

Software Development java java-swing
Member Avatar for Cerberus
0
413
Member Avatar for blufab

I am creating a DefaultSingleSelectionModel subclass. Is there anyway to discover what component is the owner of the model from inside the model?

Software Development java
0
58
Member Avatar for collegestuffs

Hello i have an important homework assignment which is due up on mon 26th and i need a competent java programmer with netbeans expirence. Problem is as follows: It's a small project and i have basically designed all the forms and buttons needed etc. Now i need someone to link …

Software Development email gui java java-netbeans linked-list
Member Avatar for jwenting
0
685
Member Avatar for ajaxjinx

Hi, I am making a small software. As a part of the Command Line Interface I am supposed to include the "tab help facility" .Incase the user is typing a command and in between he presses the Tab key, the software should display all the avavilable commands. I am unable …

Software Development c++ user-interface
Member Avatar for vijayan121
0
989
Member Avatar for yaya_star

code of genertaing 100 arrays of size 10 with random numbers in it? in c++

Software Development c++
Member Avatar for stymiee
0
72
Member Avatar for FarnazM

I am trying to write the tic tac toa game using java.I have problems & in need of help....HELP

Software Development java
Member Avatar for FarnazM
0
58
Member Avatar for shmay

For my C class, I have to write a program where the user enters how many fahrenheits he will be entering, but the fahrenheits have to be in an array. So a dynamic array seems the obvious choice. In main, we can only have initializations and function calls. For example, …

Software Development c
Member Avatar for ft3ssgeek
0
212
Member Avatar for Zatnik

I've finished my assignment (messily) and it works well enough in the uni linux computers - but I can't make file input work at home under XP. I wouldn't have thought that the windows/linux change would make a difference with the JRE... (But then I'm new to this "com-puuuu-tah" stuff) …

Software Development file-system java
Member Avatar for thekashyap
0
112
Member Avatar for ram maradola

[B]hi frinds this is ram, the following program is my problem, i don't know how to do this program plz help me [/B] create a GUI solution that displays a collection of some sort. The collection must minimally be 4 x 4 (four or more categories and then four or …

Software Development gui java
Member Avatar for thekashyap
0
103
Member Avatar for bkerr06

Hi all, I've been working on a program that simulates a racquetball match. The problem I am having is getting the match to end when one player is the clear winner of 'n' games. I've tried adding modules, altering loops, adding variables, etc. Is anyone able to help by pointing …

Software Development python
Member Avatar for liz517
0
812
Member Avatar for eeeman

Hi I am having trouble creating a system to log in to a system. If you look at a picture its like this. User selects thier user name from a dropdown box, and then select thier Picture(instead of typing in a password to login. There can I get more info …

Software Development java
Member Avatar for thekashyap
0
208
Member Avatar for kevinmscs

I have this class: [code] class Pizza{ protected: string desc; public: Pizza(){ desc = "unknown pizza"; } virtual string getdesc(){ return desc; } virtual double cost(){ return 0; } }; [/code] And one of its subclass: [code] class Small: public Pizza{ public: Small(){ desc = "Small"; } double cost(){ return …

Software Development c++
Member Avatar for thekashyap
0
141
Member Avatar for guy40az

Does any one know of a complier that supports the 80 bit long double?? Or do you have any idea how to get one on VC++ 6.0 Thanks

Software Development c++
Member Avatar for John A
0
226
Member Avatar for Duki

Hey all, I'm doing hw, and I did a desk-check for this program and got completely different answers than that of the computer when the program was put into the compiler. The question says to consider the function `defaultParam` void defaultParam ( int u , int v = 5 , …

Software Development c++
Member Avatar for Duki
0
105
Member Avatar for lukis

Hi there, how can i Create non rectangular labels? I need to create a circular arena and the labels will be the seats. Thanks and Regards, Luke

Software Development vb.net
Member Avatar for waynespangler
0
96
Member Avatar for kevinmscs

I have this error but cant seem to see why. This code compiled would give 1 error. Anyone please advise, thanks. [code] #include <string> using namespace std; class Beverage{ protected: Beverage *beverage; string desc; public: friend class Bev_Iterator; Beverage(){ beverage = 0; desc = "unknown beverage"; } virtual string getdesc(){ …

Software Development c
Member Avatar for Infarction
0
98
Member Avatar for B.Y

Well, I happened to download Dev C++ on my laptop today ... I jus wrote a simple "Hello World" program .... but when I compile & run ... compilation is successful but the result window flashes & disappears ... Can anybody plz help me with this?????????? Also, how can I …

Software Development c++ ide laptop
Member Avatar for ~s.o.s~
0
96
Member Avatar for guy40az

When you output data to the screen do you recommend using cout or printf, I must admit when I first starting using C++ last week I really liked cout. Now I like printf better, It seems easer to format the output like you need it. I am not really sure …

Software Development c++
Member Avatar for ~s.o.s~
0
527

The End.