132,726 Archived Topics
Remove Filter ![]() | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
Hello , I have created an treeview control in C# form,how can i load this control to my HTML page? Thanks | |
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. | |
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 | |
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 | |
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 | |
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 | |
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++ | |
![]() | 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++ |
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. … | |
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++ | |
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 | |
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 … | |
#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 | |
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++ | |
| |
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++ | |
hai, I need complete java code for image to binary conversion. Please help me. Software Development java | |
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++ | |
<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 | |
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 | |
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 | |
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++ | |
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++ | |
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++ | |
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 | |
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 | |
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 | |
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 | |
· 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 | |
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 | |
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 … | |
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 | |
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 | |
1.Can you display your code line number in the IDE? 2.How do you mark your threads as solved? Software Development ide | |
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 | |
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 | |
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++ | |
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 | |
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 … | |
I was wondering what versions of visual studio are compatible with Vista? Software Development c++ visual-studio | |
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 … | |
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 |
The End.