Search Results

Showing results 1 to 40 of 48
Search took 0.01 seconds.
Search: Posts Made By: eleonora
Forum: Java Apr 26th, 2008
Replies: 3
Views: 519
Posted By eleonora
In specific I want to know if there is any way to inherit the game functionality of the ClientHandler class to the board
Because it was a non gui game which i'm trying to make as a gui
Forum: Java Apr 25th, 2008
Replies: 3
Views: 519
Posted By eleonora
Hello,

I strongly need your assistance what is needed to modify in order the board to inherit the complete functionality of the game.
The clienthandler class contains all the methods for playing...
Forum: Java Mar 13th, 2008
Replies: 1
Views: 1,918
Posted By eleonora
Hello,

I urgently need help, im trying to complete a class which will be able of multiple - clients but is not doing the required puprose. Can anyone be assistance of what is needed to add for...
Forum: Java Mar 10th, 2008
Replies: 0
Views: 699
Posted By eleonora
Hello,

I want to modify a java client/server game as to load the map from an xml and then validate against the dtd.

Is it okay to do something like that?


public void parseXML(){

try{
Forum: Java Mar 3rd, 2008
Replies: 2
Views: 1,745
Posted By eleonora
Forum: Java Mar 1st, 2008
Replies: 2
Views: 1,745
Posted By eleonora
Hello,

I did a pagerank application but unfortunately it does not posting the url to the server.

Can anyone have a look to my code and tell me what im missing ? !

Thanks in advance!

...
Forum: Java Feb 26th, 2008
Replies: 15
Views: 5,275
Posted By eleonora
So now it should be concerned as completed in the part of parsing ? isn't it ?

class Parse {

public Parse() {}

public static void main(String[] args) throws java.io.IOException {
...
Forum: Java Feb 26th, 2008
Replies: 15
Views: 5,275
Posted By eleonora
So do i have to create a group method each time ?
Forum: Java Feb 26th, 2008
Replies: 15
Views: 5,275
Posted By eleonora
I tried it compiling it through eclipse but it returns error such as missing method for the .group(1) and such as that things.
Thats why i did ask you ... :-/
Forum: Java Feb 26th, 2008
Replies: 15
Views: 5,275
Posted By eleonora
What about now?

class Parse {

public Parse() {}

public static void main(String[] args) throws java.io.IOException {

String line = null;
BufferedReader in = new...
Forum: Java Feb 26th, 2008
Replies: 15
Views: 5,275
Posted By eleonora
What about now?

import java.io.*;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.text.*;
import java.util.StringTokenizer;
import...
Forum: Java Feb 24th, 2008
Replies: 15
Views: 5,275
Posted By eleonora
Okay thanks for the reply
I did the modification but my concern is the parsing of each record
Can you give a look to it ?
Thanks in advance!

public class Parse {

public Parse() {}
...
Forum: Java Feb 24th, 2008
Replies: 15
Views: 5,275
Posted By eleonora
okay i did that, thanks.
but my main concern is how can i make it sure that it will parse correctly all the elements from the text.

public class Parse {

public Parse() {
}

public...
Forum: Java Feb 23rd, 2008
Replies: 15
Views: 5,275
Posted By eleonora
Hello,

Im trying to implement a program which will split a text file and then parses the elements to an arraylist.
My text file looks like that:



My program is that:

public class Parse {
Forum: Java Feb 3rd, 2008
Replies: 0
Views: 2,262
Posted By eleonora
Hello,
when it asks to place the elements of an unsorted array to a binary tree does this means a heapsort implementation ?????

Another thing how can i take two numbers and print all the values...
Forum: Java Feb 2nd, 2008
Replies: 2
Views: 1,796
Posted By eleonora
oh i haven't noticed that
thanks!

but the problem is that it returns an error saying '.class expected' :S
???
Forum: Java Feb 2nd, 2008
Replies: 2
Views: 1,796
Posted By eleonora
Hey
i want to create a method which counts the nodes from a binary tree that have exactly one child
i did that but it returns error :S
Can anyone tell me what's going wrong ??

Thanks in...
Forum: Java Feb 1st, 2008
Replies: 1
Views: 846
Posted By eleonora
Hey,
I have to create a program which will accept two lists of words and place the contents of the first list to an unordered array, to an ordered tree and to a hashtable.
then each word in the...
Forum: Java Jan 13th, 2008
Replies: 5
Views: 2,045
Posted By eleonora
what do you mean calling the getInstance method twice ???

class singleton
{
private static singleton instance;

private singleton()
{
}
Forum: Java Jan 13th, 2008
Replies: 5
Views: 2,045
Posted By eleonora
yeah but how can i check that indeed have only one instance?
Forum: Java Jan 13th, 2008
Replies: 5
Views: 2,045
Posted By eleonora
hey
i have that singleton code in java but how can i check that it have an instance only?



class singleton
{
private static singleton instance;

private singleton()
Forum: Java Jan 11th, 2008
Replies: 6
Solved: x++ and ++x
Views: 4,224
Posted By eleonora
thanks both of you for your help!
Forum: Java Jan 11th, 2008
Replies: 6
Solved: x++ and ++x
Views: 4,224
Posted By eleonora
hey and happy new year!
i cant understand whats the difference between x++ and ++x
if anyone knows let me know :)

thanks in advance !
Forum: Java Dec 12th, 2007
Replies: 14
Views: 6,573
Posted By eleonora
thank you very much !
Forum: Java Dec 11th, 2007
Replies: 2
Solved: 2D array
Views: 1,909
Posted By 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...
Forum: Java Dec 11th, 2007
Replies: 14
Views: 6,573
Posted By eleonora
i thought of doing it in that way but it still doesnt works.
Anyone that can help me???
Thanks.

import java.util.Scanner;
import java.util.*;
public class grid
{

private int rows;
Forum: Java Dec 10th, 2007
Replies: 14
Views: 6,573
Posted By eleonora
i still cant find an appropriate solution
thanks in advance...

import java.util.Scanner;
public class grid
{

private int rows;
private int columns;
//private grid grid;
Forum: Java Dec 9th, 2007
Replies: 14
Views: 6,573
Posted By eleonora
that's what i don't know how to do it.

thanks.
Forum: Java Dec 8th, 2007
Replies: 14
Views: 6,573
Posted By eleonora
Actually im trying to create a kind of loop that will prompt the user to enter the appropriate number of strings in the grid according to the rows and columns number .. that's what i cant figure out.
Forum: Java Dec 8th, 2007
Replies: 14
Views: 6,573
Posted By eleonora
I still cant solve the problem :-/
I dunno what im doing wrong

thanks in advance


import java.util.Scanner;
public class Grid
{
static Scanner sc = new Scanner(System.in);
Forum: Java Dec 8th, 2007
Replies: 14
Views: 6,573
Posted By eleonora
Hey i have to create a 2D array of rows and columns which will takes a row and a columns as a paremeter and enters a string into that positions.
I managed [i think so] to create the array but i cant...
Forum: Python Dec 3rd, 2007
Replies: 2
Views: 1,077
Posted By eleonora
Hey,
I try of saving my board to a text file and then trying to load my board from the text file but actually does not works.

If anyone knows how this can be solve let me know !

Thanks
Forum: Python Dec 1st, 2007
Replies: 10
Views: 2,903
Posted By eleonora
Another thing how can i modify sleep() in order when the user writes pause to pause the game and when it writes continue the game to continue as it was before?
Forum: Python Dec 1st, 2007
Replies: 10
Views: 2,903
Posted By eleonora
IT WORKS !!!

Thanks!


But after the winner message i got this error :

"""
in winCheck
sys.exit()
Forum: Python Nov 30th, 2007
Replies: 10
Views: 2,903
Posted By eleonora
I did it but it still doesnt stops :S


import sys
import random
board = dict()
rows,columns = 4,4

def game():
choose_player()
Forum: Python Nov 30th, 2007
Replies: 10
Views: 2,903
Posted By eleonora
I made the changes and i also added the sys.exit... i dunno if that i did is what you were meaning but it still it doesn't stops after the winner message
:-/


import sys
import random
board...
Forum: Python Nov 30th, 2007
Replies: 10
Views: 2,903
Posted By eleonora
Thank You Very Much!
But now im getting an error :
"""
winVertical
if (board[(x,y)] == "R" and board[(x+1,y)] == "R" and board[(x+2,y)] == "R" and board[(x+3,y)] == "R"):
KeyError: (5, 1)
...
Forum: Python Nov 29th, 2007
Replies: 10
Views: 2,903
Posted By eleonora
I do have a problem with my connect four code ; it doesn't check whether there is a winner even though the function its okay :-/
Can anyone help me to solve my problem ???


import random
board...
Forum: Python Nov 28th, 2007
Replies: 25
Views: 2,684
Posted By eleonora
Neither can i understood the modification of list to mylist..
Forum: Python Nov 26th, 2007
Replies: 9
Views: 2,263
Posted By eleonora
how will i check whether there is a winner ? :-/
Showing results 1 to 40 of 48

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC