digits to words
how can a program convert a digit to be in words. For example if user enter 20 then the output will appear like this : twenty.
View ArticleOutput to file
I have a gui, it gets input from the user, the input will be name, age, email, and number. I need this data to then be written to a file. I have read my book and it refers to a scanner from keyboard....
View ArticleTrouble with strings
Thank you. I know what you guys are saying but I guess my example was too simple. I am making a graphing calculator and one of the parts of the program requests the user to insert his/her function....
View Articleinput closes why?
When I run my program and enter in the data for age as a letter it closes? I am using a do while loop to validate the age to ensure the input is between 0-120 and is a number. I ran my program and...
View ArticleCalculate & Return sum of numbers
hi,,, i have one question about programing in c language:i must make the function which must calculate and retourn the sum of the members "m" of type:1/(1*3)-1/(3*5)+1/(5*7)-...+-1/((2*m-1)*(2*m+1))....
View ArticleArrange all the data in a c# winforms chart binding with SQL E
Hi everyone! I have trouble putting together a chart with the contents of a data table that is basically as sex, marital status, age, and DATE . Im working with a bar chart or column chart, but I can't...
View ArticleHelp needed to save Jtree to xml
hi guys i have a programme that can read out the xml file into a jtree en display it on the screen. now i can make changes to the tree (edit it) but the problem is i have no clue how to save the edited...
View ArticleHow would I go about programming this?
I'm a newb to LuaSocket, and I'm trying to program a cross-operating system terminal program that's basically just an IRC. I'm expecting to have to set up a webserver that handles the TCP packets and...
View ArticleHow to use a python IDE and help with graphics
I only know one semester of Java, as i am a first year computer science major. However, I need to learn how to use python for another project that I want to work on. I have tried downloading several...
View ArticleNested Loops
Hello, I am currently playing with loops and am stumped on something. I am inputting x amount of values assigned to a random number. For every 5 values, i want to increment a value +1; Example (setting...
View ArticleLinking database with vb.net?
Hi all, I am here again with another problem. I have successfully created my design for the mcq test project *its still in the design stage* Spoiler Anyhow I need to move on to the part where I will...
View ArticleQuadTree's for Collision Detection
Hello D.I.C. I'm here today to ask for a little guidance from those of you who have written a quadtree that was used for collision detection. As I was looking at my design today I realized that I need...
View ArticleWhere to declare a method within a program?
Hello. I am currently writing a program that adds together any number of integers entered by the user, adds them together and outputs both the sum and the largest number the user entered - for this...
View ArticleConnect four?
Hey guys, so for part of our hw, our group had to do connect four in java. Well, one of my group mates was suppose to do it and he hasn't done it. Can you possibly guide me into how I would start it?...
View ArticleDisplaying forum topics with images on homepage (phpbb forum)
Hey everyone, I am having trouble with displaying the content in posts from a specific forum on my phpbb forums on my websites homepage. What i want is for the homepage to pull the contents of the post...
View ArticleAcess DCT coefficients and Quantization values with libJPEG
I am reading a bitmap file and compressing it into a JPEG file using the libJPEG library, simple enough. But now I would like to write each of the intermediate stages, ie DCT and Quantization to a file...
View Articleerror:method in class cannot be applied to given types? cannot be seen
I am making a hangman game, this is the part of my code where all the problems are: //play method private void play() throws IOException { guess(alphabet); usedLetters(letterUsed); do{ centreln("You...
View ArticleProblem calculating mean and median
I need help fixing the errors in my program. Im not able to calculate the mean and standard deviation and median. package Statistic; import eric2.Console; import java.io.FileReader; import...
View ArticleHow to add Multiple Values to Custom Property
I looking for a solution on how to create a custom property that contains multiple values like of the AccessibleRole property of a form. Here's what I made but I'm using the string array and it's just...
View ArticleProblem: TypeInitializationException when instantiating Game object
I've been working on my XNA game project for a week or so now, and trying to run the project today I'm getting a TypeInitializationException when trying to instantiate my Game class. The code is...
View Article