Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
~12.0K People Reached
Interests
guitar
Favorite Forums
Member Avatar for ilovejava

i have to do a pyramid with a pattern like this [iCODE] 1 1 2 1 1 2 4 2 1 1 2 4 16 4 2 1[/iCODE] i just realized dani web didnt take my center pyrmaid thing it moved to the side no matter what spacing i did …

Member Avatar for JamesCherrill
0
307
Member Avatar for WH88

Hi, I was asked to create a program that converts a .csv (I converted it to a .txt format first) and I've put together a pretty basic one that reads the data in the text file and formats it into XML, then saves it as a .xml. By basic I …

Member Avatar for sciwizeh
0
316
Member Avatar for ilovejava

So I want to parse a .dae collada file which is stored xml. Now to parse the file should I use the SAX or DOM parser. THe file size of the collada file ranges from 200kb-40mb files. Is the file too large for a DOM parser?

0
77
Member Avatar for ilovejava

This is my code for adding and removing from a binary tree but apparently its not complete can anyone tell me what to do to make it complete tree? [CODE] public void add(IBinaryTreeNode<E> e) { if (getRoot() == null) { setRoot(e); } else { //SAME HERE IBinaryTreeNode<E> node = getLastNode(); …

Member Avatar for ztini
0
248
Member Avatar for ilovejava

Hi when I use ecclipse to run codes it shows many errors, and they are not errors at all I compiled them with command prompt and it work. this is the image [URL="http://i.imgur.com/az6Pg.jpg"]http://i.imgur.com/az6Pg.jpg[/URL] My java and javac version is 7 u 2

Member Avatar for designuts
0
2K
Member Avatar for Glass_Joe

[ATTACH=RIGHT]16645[/ATTACH]Oracle announced Thursday evening (August 12) that they would be filing a lawsuit against Google, claiming that their Android phone software infringes upon patents and copyrights of their Java software, which they acquired when they purchased Sun Microsystems in January for $7.4 billion. "In developing Android, Google knowingly, directly and …

Member Avatar for dantinkakkar
5
403
Member Avatar for ilovejava

I have a question why is important to supress warnings in java, i notice my professor do that all the time [CODE] @SuppressWarnings("unchecked") [/CODE]

Member Avatar for rubberman
0
110
Member Avatar for ilovejava

[URL="http://i.imgur.com/iwNHY.jpg"]http://i.imgur.com/iwNHY.jpg[/URL] i already set a path for jdk and etc, it worked before but now it doesnt work the code works on ecclipse so the code is correct but i have to learn how to compile using command prompt check out this image i get this same error i do …

Member Avatar for NormR1
0
285
Member Avatar for ilovejava

I had to make a arrayList and i do not know why is it not working [CODE]public class ArrayList<E> { private E[] theArray; private int size; private int capacity; public ArrayList(int initialCapacity) { this.size = 10; this.capacity = initialCapacity; theArray = (E[]) new Object[initialCapacity]; } public ArrayList() { this(1024); } …

Member Avatar for ilovejava
0
205
Member Avatar for sonicx2218

Hey guys..I'm a newbie, so please try to use easy words, as the more complicated stuff may make me bleed out of my ears ;) So I'm trying to make this program where you type in a number using the xxx xxx xxxx style The java program will then compare …

Member Avatar for stultuske
0
155
Member Avatar for ilovejava

my objective is to implement an Java to HTML syntax highlighter. The program should works like this 1) It reads in any .java source code file 2) It parses the file for keywords, strings, numbers, etc. 3) It outputs HTML markup of the source code 4) When you open the …

Member Avatar for ilovejava
0
229
Member Avatar for ilovejava

This is a frighteningly subtle bug I first learned about in C (Andrew Koenig's ``C Traps and Pitfalls''), but it's still with us in Java, and I assume C++ as well... The following method looks like it should always return the absolute value of n, but every once in a …

Member Avatar for stultuske
0
401
Member Avatar for DaniwebOS

Hello everyone, I think I need a second eye on the code. I'm not sure where I went wrong but it was working at some point. Everything should run without a problem any idea what is going on? A second opinion would be highly appreciated... [ICODE]import java.util.Calender; import java.util.GregorianCalendar; public …

Member Avatar for DaniwebOS
0
209
Member Avatar for ilovejava

hey guys I need help to implement a array list I have the skeleton structure written out but some of the methods do not work and I have troubles with the remove method please help and how do you do isEmpy method [CODE]//tried my best dont get some stuff public …

Member Avatar for Slimmy
0
198
Member Avatar for lovelyrockrchic

I'm trying to make a Tic Tac Toe game for my Java class. I am not able to use JButtons only JPanels. I'm stuck on the part where my program determines if there are 3 x's or o's in a row. [CODE] public void winner() { if(3 = tictactoe[0].turn + …

Member Avatar for hiddepolen
0
263
Member Avatar for ilovejava

so this is the assignment Let d(n) be defined as the sum of proper divisors of n (numbers less than n which divide evenly into n). If d(a) = b and d(b) = a, where a b, then a and b are an amicable pair and each of a and …

Member Avatar for Taywin
0
671
Member Avatar for ilovejava

lets say i have a grid----->grid[10][10] i want to scan the grid for a char 's' what should I do should I... do a enhanced for loop and how can any show a example

Member Avatar for ilovejava
0
176
Member Avatar for xiangzhuang

Hey guys I keep getting the "no return statement error in two places, I have commented them for you [CODE] /** * A WordsCompare object stores Strings. It is used to determine if the first word * should be placed before or after the second word in the dictionary */ …

Member Avatar for JamesCherrill
0
289
Member Avatar for ilovejava

lets say i have 8 deck of cards how to put all of that inside a array do i have to make a multidimensional array for each deck???

Member Avatar for JamesCherrill
0
267
Member Avatar for ilovejava

hi i started coding battle ship when i was done i noticed that the user and computer always misses, even if they hit, i dont know what i did wrong [CODE]import java.util.Scanner; public class Battleship { public final static String USER = "user"; public final static String COMPUTER ="computer"; public …

Member Avatar for ilovejava
0
2K
Member Avatar for heybunny

am writing a program that plays rock paper scissor. The user will enter choice manually (rock is1, paper is 2, and scissors is 3) and the computer will chose one at random without letting the user know. The game will run as many times as the player wants. I can …

Member Avatar for ilovejava
0
2K
Member Avatar for ilovejava

An emirp (prime spelled backwards) is a prime number that results in a different prime when its digits are reversed.[1] This definition excludes the related palindromic primes. Emirps are also called reversible primes. this are the list of emirps [url]http://oeis.org/A006567/list[/url] [CODE] public class EmirpProgram { public static void main(String args[]){ …

Member Avatar for NormR1
0
395
Member Avatar for ilovejava

i have to write a program that displays the value of pi for values for i = 10000,20000.....,and 100000 i have to use the following series pi = 4(1-(1/3)+(1/5)-(1/7)+(1/9)-(1/11_+...+(1/(2i +1))-(1/(2i +1)) any ideas i have to do a program with looping i cant use arrays can someone give me a …

Member Avatar for NormR1
0
1K