132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for orcboyx

I cannot get the bullseye to replicate itself 5 times even though I've already set the count to 5... any suggestions? import java.awt.*; public class Bullseye { /** Creates a new instance of Main */ public Bullseye() { DrawingPanel Target = new DrawingPanel(300,400); Graphics g = Target.getGraphics(); bullseye(g,100,100,50,5); } public …

Software Development java
Member Avatar for orcboyx
0
750
Member Avatar for majestic0110

HI all, this app is a simple game where the objective is to avoid incoming balls (adversaries) however at present I can only figure out how to get one ball on screen at a time. What I'd really like is, when a player hits 100 points, a second ball is …

Software Development java java-swing objective-c
Member Avatar for majestic0110
0
118
Member Avatar for infomanas

Hi, maybe can you can help me. I need to write a pascal a program which would read text file from hard disk and would sort all text's words to 3 columns, and would save results to the another file. Let's say that we have no more than 1000 words …

Software Development pascal
Member Avatar for Duoas
0
78
Member Avatar for ally1002

hello all. i am creating a program that helps write quizzes,(quizcreator),(the user chooses the type of question like t/f or multiple choice and i set it up for them and they just add the text for the question) but the thing is i need to save the final quiz created …

Software Development vb.net
Member Avatar for ally1002
0
84
Member Avatar for ConfusedMuchMor

sorry didnt attach the file so here we go!! Hi Everyone I'm using a timer to shink a form, i've got it working now, but I don't understand why it didn't work is the first place, or why my change made it work!!???!!! in line 38 of my code (Toggle …

Software Development
Member Avatar for scru
0
86
Member Avatar for sbenware

I'm getting the following errors at compile time in Cygwin using gcc, but I'm not sure what they mean. My program runs without problems. Do I need to change the names of these operations? I'm afraid to tweak anything since it's working. 42: Warning: translating to `fmulp' 53: Warning: translating …

Software Development assembly
Member Avatar for sbenware
0
216
Member Avatar for kobi

Hello , I have created an treeview control in C# form,how can i load this control to my HTML page? Thanks

Software Development c# html-css
Member Avatar for yagiD
0
94
Member Avatar for mikp_mik

hi friends iam working with c graphics i need to convert color images to grey scale using c graphics. If any algorithm available to help me please post.. waiting for replies.

Software Development algorithm c++
Member Avatar for Duoas
0
138
Member Avatar for its.romi

Added binary Tree just to help others..... [code=c] #include<stdio.h> #include<conio.h> #include<stdlib.h> void formatting(void); int input(void); struct binTree* createNode(struct binTree*,int); void insert(struct binTree*, int); struct binTree* searchNode(struct binTree*, int); struct binTree* search(struct binTree*, int); void dispTree(struct binTree*); struct binTree{ int item; struct binTree *leftChild, *rightChild; }*root=NULL, *node; void main(void) { char …

Software Development c
Member Avatar for Narue
0
119
Member Avatar for ConfusedMuchMor

Hi Everyone I'm using a timer to shink a form, i've got it working now, but I don't understand why it didn't work is the first place, or why my change made it work!!???!!! in line 38 of my code [code] this.Width -= 30;[/code] the 30 was originally 10, the …

Software Development
Member Avatar for scru
0
120
Member Avatar for ibeast

hi well i have a program that can print wav data in a text file. Is it possible to make a wav file with the available data from the text file and play it in VB. Playing the file isn't that difficult, but i m still scratching my brains as …

Software Development file-system visual-basic
Member Avatar for hkdani
0
180
Member Avatar for Ravenous Wolf

am i the only one who thinks that c# screen development really sucks? i have just completed the silly task of repeating the same 30 lines of code sixteen times. and why, some might ask, are you so silly to do that? it is because, unlike java and visual basic …

Software Development c c# c++ visual-basic
Member Avatar for latitude7ds
0
100
Member Avatar for talk2tisa

Hi again, I've figured out how to get the program to do what I need it to do, except it is doing the last thing twice and I can't figure out how to change it so it does it only once. Please provide some direction. I've attached the files.

Software Development c++
Member Avatar for WaltP
0
102
Member Avatar for johny112

this is the exact problem: Write a routine to sort the ten-number list shown in ‘Sample Screen Output’ below, and then make the following modifications to improve the performance of the bubble sort: Sample Screen Output Data items in original order 2 6 4 8 10 12 89 68 45 …

Software Development c++
Member Avatar for WaltP
0
95
Member Avatar for 71monaro

The brief ive been given is to write a Java prg to take some command line arguements of the form JavaProg -n[anInt] -o[inputFileName] -o[outputFileName] -s[aStringWord] and then use them. Now I understand very basic args[] use. But in the brief there may be missing args and placed out of order. …

Software Development java unix
Member Avatar for masijade
0
108
Member Avatar for rayy

i want to write a c++(console) programme for a voting system that accepts names of candidates and the votes they had and sort these votes in descending order to show the winner. how do i go about it. thanks. this is the what i have been able to do so …

Software Development c++
Member Avatar for Nick Evan
0
87
Member Avatar for nazrulcckl

Hi I am new in VB.net . I dont know how to connect vb.net with sqlserver. Would any one help me regarding this . Thanks Nazrul

Software Development vb.net
Member Avatar for Jx_Man
0
85
Member Avatar for Nidaa87

radix sort: an example : Original, unsorted list: 170, 45, 75, 90, 2, 24, 802, 66 Sorting by least significant digit (1s place) gives: 170, 90, 2, 802, 24, 45, 75, 66 Notice that we keep 2 before 802, because 2 occurred before 802 in the original list, and similarly …

Software Development algorithm c++
Member Avatar for Nidaa87
0
93
Member Avatar for jjamd64

#I'm quite new to scripting and my boss has asked me to solve a simple problem and sadly, I can't figure out how to do it. Any help is appreciated very much. #The following is a small shell script and the output that it produces for google.com. #!/bin/sh whois $1 …

Software Development shell-scripting
Member Avatar for radoulov
0
127
Member Avatar for bpage

Hi, I am trying to do a pretty basic project for my computer science class. The part that is giving me trouble is where the user needs to input every letter of the alphabet in a random order but only each letter can be inputted once. I was wondering if …

Software Development c++
Member Avatar for bpage
0
158
Member Avatar for Jananee

i need a project topic to be done in j2ee...

Software Development java
Member Avatar for raja baba
0
98
Member Avatar for driplet

there is a intrinsic function, ichar(C), to convert character to a numerical value (ASCII?) in FORTRAN. Can any one tell me a similar function in C++?

Software Development c++
Member Avatar for Ancient Dragon
0
90
Member Avatar for radha_athithan

hai, I need complete java code for image to binary conversion. Please help me.

Software Development java
Member Avatar for raja baba
0
90
Member Avatar for mugenoid

I am doing a game and i need to refresh the screen to make it less messy, Can anyone teach me how to do plz?

Software Development c++
Member Avatar for FireNet
0
750
Member Avatar for bcm

<applicationSettings> <WindowsApplication1.My.MySettings> <setting name="Astrology" serializeAs="String"> <value>6</value> </setting> <setting name="Cricket" serializeAs="String"> <value>7</value> </setting> <setting name="Foreigncurrency" serializeAs="String"> <value>8</value> </setting> <setting name="Jobs" serializeAs="String"> <value>9</value> </setting> </WindowsApplication1.My.MySettings> </applicationSettings> I want to display 6, 7, 8, 9 in different textboxes. How can I do that in [COLOR="Red"]VB.NET2005[/COLOR] Please help

Software Development display vb.net
Member Avatar for bcm
0
81
Member Avatar for Qpido

I've been searching a lot, but couldn't find anything about what I would imagine to be pretty easy. I'm trying to get a number out of a List, that is getting information out of an Excel file. But I don't think that matters. I then want to give it a …

Software Development visual-basic
Member Avatar for Qpido
0
158
Member Avatar for pogiding

i need to program a (number- word) ex. from 100 convert it to one hundred by using vb 6.0 ... by using one command button and two text box. need help. pls. tnx for those who want to help.this is my project for my first program in vb 6.0. just …

Software Development visual-basic
Member Avatar for debasisdas
0
74
Member Avatar for eleonora

does anyone knows how can i create an array that will get parameters from the user row and column and with a method to fill with strings the rows and columns and after that to print it out. i tried several things BUT nothing works :( if anyone knows how …

Software Development java
Member Avatar for masijade
0
87
Member Avatar for mr.cool

in my c++ class we have to make a game and i need some ideas on what to make. the only thing i have learned is: random numbers, ifs, switch case, while loop, for loop, some character string functions of cin.get and cin.ignore, also declaring a character string, data formatting …

Software Development c++
Member Avatar for ithelp
0
91
Member Avatar for tonyaim83

Hi My input file is as below. AXY,21,23,12,334,34 VBE,32,34,32,43,34 AXX,32,34,45,32,45 AXY,23,43,323,122 VBE,23,3,323,21,121 Now here the first token designate the nodal name. Now what i want is to create a set of file name AXY_info.txt,VBE_info.txt,AXX_info.txt and here file name designating the nodal name and each file should contain their respective values. …

Software Development c++
Member Avatar for WaltP
0
168
Member Avatar for hpr12951

Could ppl please fix my 2 codings to "template version". I spend so much time understanding template, but still hard for me! Please help~ thanks to all [CODE]#include <iostream> using std::cin; using std::cout; using std::endl; const int ARRAY_SIZE = 10; void search(const int a[], int lowEnd, int highEnd, int key, …

Software Development c++
Member Avatar for hpr12951
0
124
Member Avatar for guccica

Hi all, would need your help on unzipping message which is zipped with java.util.zip. For your information my module was written in c++. Currently i am trying to unzip with zlib, how ever it failed with "Z_DATA_ERROR" error. Please advice.. thanks a lot. regards brandon

Software Development c c# c++ java
Member Avatar for guccica
0
120
Member Avatar for death_oclock

I am trying to write an openGL application from a tutorial I found and tried to copy it as accurately as possible without just copy+pasting it, so I can actually learn the code. The source file from the tutorial compiles and runs perfectly, but my code fails at a call …

Software Development asp c++ opengl video video-card
0
133
Member Avatar for Ninjikiran

Hey, im trying to make an assembly program which encodes a file using base64. Anyway I have a program that works in converting the word "Man" to TWFu. Problem is it does not convert anything else but a few 3 letter words like Tan and Ban probally because of its …

Software Development assembly
Member Avatar for Ninjikiran
0
157
Member Avatar for stolson

I have read in a file, and i can print it out successfully, but i must sort the pointer to the array of structures. below is my code. I must sort the phone book in ascending order by zip code. If anyone could please help that would be great. [code] …

Software Development c
Member Avatar for AndrewWood
0
627
Member Avatar for Gotovina7

· The complete arithmetic expression will be read from a input file. An equation will not cover more than one line and may be assumed to be entirely valid. The input file will contain a single equation For example the file might contain the following: 56 – 12/3 + 1 …

Software Development linked-list pascal storage
Member Avatar for Duoas
0
166
Member Avatar for new_2_java

Hi all, I am new to java. I am writing a program and I would like to read some inputs from user, when the program is run. Can someone give me some hints on how can do this... Thanks.

Software Development java
Member Avatar for new_2_java
0
94
Member Avatar for sbenware

I have a binary tree program that is trying to retrieve a name. I've already inserted names into the tree correctly and can see this at output. Now I'm trying to check for a name in the tree and calling that input "key". My program wants to take that key …

Software Development algorithm c++
Member Avatar for sbenware
0
155
Member Avatar for squidd

I know this must be painfully simple to do, but I cant seem to find any text that makes sense to me regarding how to actually do it. Basically I have program "X". Program X has the TTrayIcon component added to the MainForm. From what I have read, the need …

Software Development pascal
Member Avatar for squidd
0
109
Member Avatar for #include<DAN.h>

Does anyone have a list or know how I can get a list of the bit addresses of keys used in the getch (); fuction. For example: F1 is 59 F2 is 60 F3 is 61 F4 is 62 F5 is 63 etc. I'm pretty sure that this is the …

Software Development c++
Member Avatar for guy40az
0
124
Member Avatar for majestic0110

Hi there, I am experimenting with game design and have met an obstacle. I am trying to paint the background of this simple game I have coded but cannot seem to find out how! any help would be much appreciated!

Software Development java
Member Avatar for majestic0110
0
92
Member Avatar for ConfusedMuchMor

1.Can you display your code line number in the IDE? 2.How do you mark your threads as solved?

Software Development ide
Member Avatar for ConfusedMuchMor
0
119
Member Avatar for philipshaw

Hi, I am trying to read a old basic (qbasic4) into vb6. As expected Im told to convert to text first. Problem is I dont have qb any more! Is this freely available or is there a read and convert prog available. Thanks for any help! philip

Software Development visual-basic
Member Avatar for philipshaw
0
48
Member Avatar for ruman_eee

Dear all, I am facing a big problem.I need help. I want to make a software that can make the .pdf file from .doc file. Is their anyone who can help me about this problem

Software Development pdf vb.net
Member Avatar for om_shankar1
0
98
Member Avatar for talk2tisa

I am attempting to complete a homework assignment. The progam basically requires input from the keyboard into an array and then to perform some calculations on the input information. I believe I can do the calculations, but I cannot figure out how to get the input into the array. The …

Software Development c++
Member Avatar for talk2tisa
0
111
Member Avatar for diamondman

I have been wanting to see how the basics of software work for some time now, and I thought what better than Assembly! Unfortunately, most places I look show me how to call DOS interrupts or make Windows software. This just doesn't suit my needs. I did find a few …

Software Development assembly operating-system
Member Avatar for diamondman
0
74
Member Avatar for robotnixon

So below is a working program I wrote that mimics a rolodex. It stores the information on a text file with the number of cards listed at the top of the file and one card per line like this: last first phone email last first phone email ... I'm currently …

Software Development c++ ios
Member Avatar for robotnixon
0
121
Member Avatar for guy40az

I was wondering what versions of visual studio are compatible with Vista?

Software Development c++ visual-studio
Member Avatar for Ancient Dragon
0
101
Member Avatar for vkiller

I am workring on a program that can simulate an array of disks and from an event list, record their mean time to failure (mttf), mean time to repair(mttr) and stop the program when it encounters dataloss. so we would also need to record the mean time to data loss …

Software Development c pascal perl
Member Avatar for Salem
0
200
Member Avatar for kfupm

i want to ask if any one could help me with this Q how to approximat a square root???????? PLZ help me i want example

Software Development c
Member Avatar for Salem
0
76

The End.