132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for rinoa04

Hello. Can anyone recommend any good Java IDE software(preferable freeware) that support latest jdk packages with user friendly environment for java development? Thank you.

Software Development ide java
Member Avatar for qwest21
0
132
Member Avatar for aismm

I am supposed to use get the user input of a filename and then open that file and print to the screen (the first line-- that I will do later), and I can't figure out what I am doing wrong. Thank you. [code] #include <stdio.h> main() { char s[1000]; printf("Enter …

Software Development c
Member Avatar for andor
0
218
Member Avatar for easy

im just doing a little exercise on the bubble sort algorithim, i included two ways of incresing its speed. 1. Breaking out of the loop if no swaps are made 2. Decreasing the inner loops lenght each pass I think there is two ways of doing it. This way i …

Software Development c++
Member Avatar for WaltP
0
86
Member Avatar for disc

Hello, Can anyone tell me what the code beneath means. I've searched but can't find a clear explanation. Maybe someone can give an example of how to use it. Thanks... [code] [COLOR=#0000ff]bool[/COLOR][COLOR=#000000] MyClass::[/COLOR][COLOR=#0000ff]operator[/COLOR][COLOR=#000000]()()[/COLOR] [COLOR=#000000]{ [/COLOR] [COLOR=#000000] ....[/COLOR] [COLOR=#000000]}[/COLOR] [COLOR=#000000]class MyClass[/COLOR] [COLOR=#000000]{[/COLOR] [COLOR=#0000ff]virtual[/COLOR] [COLOR=#0000ff]bool[/COLOR] [COLOR=#0000ff]operator[/COLOR]()(); } [/code]

Software Development c++
Member Avatar for disc
0
166
Member Avatar for THK

Write a conditional that assigns the boolean value true to the variable fever if the variable temperature is greater than 98.6 . i dont understand what i'm suppose to do... can you explain what i am suppose to do please..

Software Development java
Member Avatar for DavidRyan
0
164
Member Avatar for sneekula

With the ease of argument passing to and from functions in Python, why would anyone want to use global variables. Isn't that an open invitation for mistakes to happen? Yet, I see code in threads here that abound with globals. I am a little confused here.

Software Development python
Member Avatar for jrcagle
0
143
Member Avatar for tehloki

I am taking a programming course, and since we have not been introduced to string functions (puts(), gets(), etc) I need to take some input from the user using scanf. The assignment is to read a DNA sequence, storing it in a char array. The array must be 512 characters, …

Software Development c
Member Avatar for tehloki
0
251
Member Avatar for fastmike

hi. well can anyone please tell me y am i getting this error and how can i get rid of it.. [code] import java.io.RandomAccessFile; import java.io.IOException; import java.util.StringTokenizer; import java.util.NoSuchElementException; public class routing{ public static void main( String args[] ){ routing app = new routing( args[ 0 ] ); } …

Software Development java
Member Avatar for DavidRyan
0
107
Member Avatar for taruj83

dont know what is wrong with this, wont give me the result. please help [code]#include <iostream.h> #include<stdlib.h> #include <process.h> #include <conio.h> class SortList { private : int *list; int size; public : SortList(int size) { list=new int[size]; this->size=size; } void Swap(int i,int j) { int tmp; tmp=list[i]; list[i]=list[j]; list[j]=tmp; } …

Software Development c++
Member Avatar for WolfPack
0
108
Member Avatar for SammyHasibi

[code]#include <stdio.h> int function1(int a) { return(a*a*a); } int function2(int b) { int i; int sum = 0; for (i=1; i<=b; i++) sum += function1(i); return(sum); } int main () { int n, result; printf("Enter n\n"); scanf("%d", &n); result = function2(n); printf("Result = %d\n", result); system("pause"); return(0); } [/code] Explain …

Software Development c
Member Avatar for SammyHasibi
0
105
Member Avatar for macca1111

Hi, I was running Python 2.3 an although I had a few problems it generally worked. I today tried to upgrade to 2.5 and it installs (apparantely) ok, yet when I click on the IDLE icon nothing happens. No error message, nothing. I can however click on the Python (Command …

Software Development python
Member Avatar for macca1111
0
83
Member Avatar for Lun

i don't know why this program doesn't work.. it just keep on saying that it have errors..... pleae help!! please help!! [code] #include <stdio.h> #define LEX_LEN 1024 enum chars{ LETTER, DIGIT, UNKNOWN,ZERO,TULDOK, WHITESPACE,SEMICOLON,QUOTED,PLUS,MINUS, DIVIDE,LT,GT,EQ,ASS2,OPARENT,CPARENT }; enum Token { STOP, NUM, STRING,STMTSEP,QUOTED_CHAR,ERROR,ADDOPERATOR,MINUSOPERATOR,DIVIDEOPERATOR,SIGNEDNUM, SEMI,LTHAN,GTHAN,EQUAL,ASS,OPEN_PARENT,CLOSE_PARENT }; chars charclass; char nextchar; char parse_me[] = …

Software Development c
Member Avatar for Lun
0
148
Member Avatar for GarveyDesign

I've just bought a copy of Borland C++ V.6 personal, for the purposes of compiling/'single stepping' my C code for college work. When I click the right pointing green arrow, the code compiles, (HelloWorld!) but trying to single step through the code or get an executable isn't obvious. Trying to …

Software Development c++ email
Member Avatar for GarveyDesign
0
99
Member Avatar for tirivamwe

can someone please help me to write a code in c to do the following: 1)read words from a file 2)store the words in a linked list 3)read the words and display 4)count the number of words in list

Software Development c linked-list
Member Avatar for tirivamwe
0
129
Member Avatar for HLA91

Hi Ive got this word count script when i check it there is no probs but when i run it it says Traceback (most recent call last): File "H:\Scripts\count.py", line 9, in <module> infile = file(data, 'r') NameError: name 'data' is not defined This is my script #The number of …

Software Development python
Member Avatar for bumsfeld
0
182
Member Avatar for taineechan

I want to find the length of a string, But the strlen function seems only to work with chars. I can't use a char[] to store my text because the size must be known beforehand and I don't know it. So I read everything into a string, then tried to …

Software Development c
Member Avatar for taineechan
0
137
Member Avatar for cancer10

Hello Friends, I am willing to learn python, so can someone please guide me how do I get started? I mean wot compiler would I need and which editor etc Also tell me wot is the scope of python in web programming? Thanx

Software Development python
Member Avatar for HLA91
0
219
Member Avatar for rgbivens

Hi guys, I just found this site while doing a google search for "declaration syntax errors" and it looks like there are some great people here that are willing to take time to explain things which is what I need! I'm in college taking c++ and my teacher doesn't tell …

Software Development c++ display google
Member Avatar for WolfPack
0
225
Member Avatar for chris.lloyd

Hi, Just to make things obvious, I am a student. I have been learning C given an assignment to code a program similar to that used on the Voyager 9 probe. It uses hadamard matrices to make sure that bits transmitted through space have redundancy and are not lost. Each …

Software Development c
Member Avatar for chris.lloyd
0
173
Member Avatar for Mr.UNOwen

I'm having touble trying to send arrays from funciton to function. The thing I can't do is make a global variable (one of the rules set by the teacher). I don't know what I'm doing really, so let me know if it's even doable.

Software Development c
Member Avatar for TylerSBreton
0
120
Member Avatar for HLA91

Hi The info "joeprogrammer's" gave me to place the python directory at the end of my path but im confused. My path at the moment looks like this %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\ATI Technologies\ATI Control Panel;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\Common Files\Adobe\AGL Python on my pc is in my H:\ drive under a folder called python. …

Software Development adobe python
Member Avatar for vegaseat
0
199
Member Avatar for HLA91

Hi i Made a shell script like this [code] name = raw_input ("Please enter your name: ") if name == Harry: print "Welcome" else: print "you smell" [/code] What i want it to do is ask for my name and if i dont enter Harry it says "YOU Smell" But …

Software Development python
Member Avatar for vegaseat
0
164
Member Avatar for AnG'

[COLOR=#555555]Greetings C++ Lovers:[/COLOR] [COLOR=#555555]I'm a student very new to this C++. Yes I took Linux & UNIX. That was a year ago and I've never applied it to ANYTHING. If it's not too much trouble, I'm at a loss. A Big LOSS. You see, the reason I say this is …

Software Development c c# c++ unix
Member Avatar for AnG'
0
128
Member Avatar for sneekula

How to I best pass multiple arguments to and from a function?

Software Development python
Member Avatar for vegaseat
0
275
Member Avatar for doraemon

I recently learned the command-line argument from my book, and I understand that both of argc and argv. HOWEVER, I don't know when I will use them and for what purpose??? I appreciate if anybody can help me!!:sad:

Software Development c++
Member Avatar for doraemon
0
216
Member Avatar for SammyHasibi

I have written a program with 2 functions which compute factorials & combinations. The functions work perfectly when called but I cannot insert a for loop at the end which sums up the combos. This part works (I have omitted the functions because they work when called for). [code]long factorial(int …

Software Development c
Member Avatar for SammyHasibi
0
97
Member Avatar for mruane

Hey all. I was hoping somebody on here, preferably vegaseat or any other long time and reputable poster and/or moderater would have any Ideas for a program that I should write. Basically, I fear I am trying to push myself to hard and to fast with python. I really want …

Software Development python
Member Avatar for Ene Uran
0
116
Member Avatar for sneekula

I have played with Python code just a little and like it so far. I am using a Windows XP machine and have downloaded Python 2.5. As recommended in the "Starting Python" thread, I am saving my test files in the directory C:\Python25\Atest\. When I bring up the IDLE editor, …

Software Development ide python
Member Avatar for sneekula
0
111
Member Avatar for kraid

I just started with TASM 5.0, and I have a question. Is there a way to assemble the exe so I can use it in windows XP? I write TASM myproject.asm then TLINK myproject thats how I was told to do, but I cant run it in XP how should …

Software Development assembly windows-9x windows-xp
Member Avatar for condor666
0
235
Member Avatar for Mushy-pea

Hello again. I am writing a bulletin board script at the moment (Perl BB sound good :p )? While writing some code to update a text file I encountered this situation. I need to open the file, append data to the end, then set the write offset to a particular …

Software Development file-system perl
Member Avatar for MattEvans
0
342
Member Avatar for jhdobbins

As far as i thought, this should work?? there is a spot or 2 i am concerned if i did it right though. Any ideas would be nice. It fatally crashes when ran in windows, didnt try in linux due to the fact i know it wouldnt work there either …

Software Development c++ legal
Member Avatar for ~s.o.s~
0
157
Member Avatar for HLA91

Hi Im interested in downloading pythhon and i was looking through the first steps to making a python script. This was in the tutorial " [B]Setting the path[/B] You will need to cause the directory containing the file named [B]python.exe[/B] to be listed in your system environment variable named [B]path[/B]. …

Software Development operating-system python
Member Avatar for ~s.o.s~
0
101
Member Avatar for balgarath

okay I am getting segmentation fault whenever I pass more than 300000 ints or so to be sorted....the code works fine for less than this with mergesort quicksort is sorting 100000 fine if they are in random order, but seg faulting if I sort a bigger number, or if the …

Software Development c
Member Avatar for Ancient Dragon
0
547
Member Avatar for asm_2

-If u have a slower I/O unit, then can the CPU execute instructions while waiting on slower I/O? -In this case, this type of optimization works differently for different I/O units... -So why are there no smarter .exe files that orders the instructions for your I/O-usage? -Whouldn't that be a …

Software Development assembly
Member Avatar for asm_2
0
109
Member Avatar for Thirush

[COLOR=#0000ff]Hi , Im new to asp.net and im need help connecting to an sql server 2005 databse in vb.net. I tried so many things and its still not working. I also need hep with inseting, updating and deleting data from a webform into the sql server database. Could anybody tell …

Software Development asp asp.net sql vb.net web-server
Member Avatar for Thirush
0
105
Member Avatar for sneekula

I thought function xrange would give me a list of integers, but I got a string instead: [code]x = "xrange(1, 5)" print x # xrange(1, 5) x = xrange(1, 5) print x # xrange(1, 5) same result as string above!? [/code]

Software Development python
Member Avatar for sneekula
0
95
Member Avatar for bogeybrown

I have posted items on my vb problem with detailes of my code to sort in vb with very little response, so i will be brief and present only my problem. The only practical advice I got was to search for arrays and sorting through search engines. Several of them …

Software Development first-post visual-basic
Member Avatar for bogeybrown
0
125
Member Avatar for royaloba

2005/11/09 18:32:11, Event:Access, Door:entry, Card No.:2727, Description:266:55748 Date time event door card no. description +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2005/11/09 18:32:11, Event:Access, Door:entry, Card No.:2727, Description:266:55748 2005/11/09 18:32:13, Event:Access, Door:entry, Card No.:2345, Description:266:55732 2006/01/11 14:07:02, Event:Cover Removed Return to Normal, Door:5 2006/01/11 14:07:02, Event:Cover Removed Alarm, Door:5 2005/11/09 18:33:58, Event:Card No. Error, Door:entry, Description:266:51792 …

Software Development visual-basic
Member Avatar for Yomet
0
141
Member Avatar for mehakkapur

Hello, Can someone help me start my assignment on scheduling a round robin algo for the CPU Module. any help will be appreciated

Software Development c
Member Avatar for mehakkapur
0
67
Member Avatar for BombAppetit

greetings.. I'm currently working on a form using Excel VBA. The form displays graph of a certain area in a worksheet. How do I create a multiple series chart, with one of the series being a line graph, and the rest being bar graphs? I currently use the multiple-dimension array …

Software Development microsoft visual-basic
Member Avatar for BombAppetit
0
179
Member Avatar for gip_mad

Hi all! I have just discovered this very nice website... Thank you all for all the "tips and tricks" posted! I just wanted to ask a little question... I'm writing a program in DOS, it's like a protocol sniffer for the serial port.. But i have a problem, since DOS …

Software Development c
Member Avatar for Ancient Dragon
0
107
Member Avatar for stupidenator

Hello everyone, I am working on an assignment which has me build a huffman tree. I am fairly confident that I have built my huffman tree correctly, but now I must get the Huffman code for the characters being encoded (I need to get the 1's and 0's). I am …

Software Development c++
Member Avatar for iamthwee
0
1K
Member Avatar for boule

Hi guys, I need to find the size of the activation record of a procedure using the "address of" (&) operator... Any idea how it's done ?? Thanks for your help Boule

Software Development c++
Member Avatar for Salem
0
162
Member Avatar for muhaa

Hi guy's i was wondering if any one can help i wat to make a random file generator which will be able to create random file's with random string's in them also i wilkl have to be able to control the file extension..Its for a file fuzzer im working on …

Software Development c file-system
Member Avatar for muhaa
0
133
Member Avatar for joyce_16jo

hey,, i'm joyce, newbie.. I am very stuck in this problem,, had been on it in days. I've tried many prgrams but none seemed to work properly. the objective is to use a function that displays a reversed version of a long integer. e.g. 12345 then display 54321. Out of …

Software Development c
Member Avatar for Salem
0
98
Member Avatar for nick937

I wrote two programs, this one: [code] #include<iostream> using namespace std; main() { char rom,invalid; double tot; tot=0; cout<<"Please enter Roman numerals ending with a period."<<endl; while (rom != '.') { cin.get(rom); if(rom=='M' || rom=='m') { tot=tot+1000; } else if(rom=='D' || rom=='D') { tot=tot+500; } else if(rom=='C' || rom=='C') { …

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

First off yes this is for school. I am using a basic program I already have that takes 5 numbers and averages them. I am trying to design a basic program that asks for name (easy), number of grades to calculate, then I input the grades in letter format; a, …

Software Development c
Member Avatar for iubike
0
133
Member Avatar for dhruvisinha

hi, i need the program code and algorithm to find the sum of the sin and cos series, print 1/232/34543/4567654 in the form of a triangle. Please mail me the solution on <removed email as per forum rules> thanks so much.

Software Development algorithm c email
Member Avatar for andor
0
97
Member Avatar for weazel

ust like a few others, i was assigned a Hangman project for VB.NET!!! Yea so this is wat we have to do -----read a word from a text box - DONE -----when play is clicked, the word is read and the number of letters is replaced with an underscore (_ …

Software Development display microsoft microsoft-windows vb.net
Member Avatar for SethR
0
247
Member Avatar for mitchelltab

I'm having trouble calling my linked list of Insernode. Can some one help me please. I need ot call it when it read teh data from teh file and puts it in the lists. I also need to use the list once i eneter in there data. adn if i …

Software Development c linked-list
Member Avatar for Lucanio
0
133

The End.