Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #4K
~7K People Reached
About Me

University Student

Favorite Forums
Favorite Tags
Member Avatar for 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 ??? [CODE=python] import random board = dict() rows,columns = 4,4 def game(): choose_player() #MAKE BOARD FUNCTION …

Member Avatar for TrustyTony
0
3K
Member Avatar for 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 the game on the terminal [please check the code] Thanks in advance for any help ! [CODE=java] import …

Member Avatar for jwenting
0
124
Member Avatar for 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 handling the clients ?? Thanks in advance!! [CODE=java] import java.util.ArrayList; import java.util.concurrent.Semaphore; class …

Member Avatar for mzaiady
0
115
Member Avatar for 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? [CODE=java] public void parseXML(){ try{ DocumentBuilderFactory dbFactory = DocumentBuilderFactory.newInstance(); DocumentBuilder dBuilder = dbFactory.newDocumentBuilder(); Document xmlDocument = dBuilder.parse(new FileInputStream("map.xml")); DOMSource …

0
63
Member Avatar for 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! [CODE=java] import java.io.BufferedReader; import java.io.DataOutputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStreamReader; import java.io.ObjectOutputStream; import …

Member Avatar for orko
0
120
Member Avatar for 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: [QUOTE] Name: Mariah Johnson Customer no: 663,283 Post code: BA1 74E Telephone no: 028-372632 Last modified: Jan 11, 2007 8:10:05 PM GMT Name: …

Member Avatar for eleonora
0
221
Member Avatar for 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 between them ?? i mean in the heapsort ? Thanks in advance

0
67
Member Avatar for 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 advance [CODE] //Count nodes from BinaryTree1 that have exactly one child public …

Member Avatar for eleonora
0
97
Member Avatar for 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 [B]unordered [/B] array, to an ordered tree and to a hashtable. then each word in the 2nd list shall be checked whether it is contained in …

Member Avatar for Ezzaral
0
85
Member Avatar for 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 !

Member Avatar for ShawnCplus
0
175
Member Avatar for eleonora

hey i have that singleton code in java but how can i check that it have an instance only? [CODE] class singleton { private static singleton instance; private singleton() { } public static singleton getInstance() { if (instance == null){ instance = new singleton(); } return instance; } } [/CODE] …

Member Avatar for darkagn
0
115
Member Avatar for 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 find a way of getting from the user …

Member Avatar for eleonora
0
377
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 …

Member Avatar for masijade
0
84
Member Avatar for 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

Member Avatar for G-Do
0
215
Member Avatar for im_desperate

code: def rpn(): list = [] while 1: x = raw_input(" ") if x in ["+","-","*","/","%"]: y=str(eval(list[-2]+x+list[-1])) list[-2:]=[y] elif x == "": break elif x == "=": print y else: list.append(x) How can i modify my rpn calculator in order to: 1)accept random number x = random number e.g x …

Member Avatar for im_desperate
0
125
Member Avatar for eleonora

Could you please help me / explain me how to create a four in a row game in python? Thanks!

Member Avatar for G-Do
0
1K
Member Avatar for eleonora

I am a python newbie and i have trouble with those 2 exercises: 1.A date of the form "8-MAR-85" includes the name of the month, which must be translated to a number. Create a dictionary suitable for decoding month names to numbers. I have to create a function which uses …

Member Avatar for eleonora
0
202