- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
Software Developer
- Interests
- cars, computer, candies.
27 Posted Topics
Re: [QUOTE=cabosun;1048145]I am having trouble figuring out how to read input from the keyboard and inserting that into a LinkedList. Any help or suggestions would be greatly appreciated. [code] import java.util.*; import java.util.Scanner; import java.io.*; public class listlist{ public static void main(String [] args){ LinkedList ll = new LinkedList(); Scanner in … | |
Private networkAvailableEventHandler As NetworkAvailableEventHandler = AddressOf NetworkConnectionChanged Private Sub NetworkConnectionChanged(sender As Object, e As NetworkAvailableEventArgs) If Not disposed Then OnPropertyChanged("IsNetworkAvailable") End If End Sub Dim disposed As Boolean = False Public Overloads Sub Dispose() Implements IDisposable.Dispose Dispose(True) MyBase.Dispose() GC.SuppressFinalize(Me) End Sub Protected Overridable Overloads Sub Dispose(disposing As Boolean) If disposed … | |
Hey guys, I am trying to use TextInputPanel for passwordbox but since its part of WPF it does not allow us to use TextInputPanel. I followed the following link http://interactiveasp.net/blogs/natesstuff/archive/2008/10/01/ink-in-wpf-using-textinputpanel-for-text-input.aspx this works fine with the textbox but not with passwordbox, I modified the class to accept password boxes but when … | |
I am reading from a file and creating two lists, then sorting them after sorting I am trying to compare each elements number of occurances in a list but printing them with that number for example if a list is something like {1,2,3,3,3,5,5,5,6} then I want to print a report … | |
Hey guys, I am setting my viewmodel as datacontext in my xaml but I override it to my view to make few functions work however to achieve the visibility on some grids and I have a property in my VM can I override my datacontext back to my VM? If … | |
Hey guys, Recently a friend of mine asked me to help her with her magazine website. I gave this website a look and figured out that it might be that tabs are not directing to the right URL or there are some files missing from the server. I have never … | |
Hi guys, I am planning to jump into android development and also into Game development for now I am planning to develop a Battleship game can you guys help me out how to start and develop from scratch. Any help would be appreciated thanks | |
Hi Guys does anyone here ever used apache Ivy. I need help here, I am a newbie in Ivy and trying to set up local repository and apache website is not useful at all. | |
[code]List result = q.list(); if (result.isEmpty()){ System.out.println("No Projects"); } else{ for(Object object : result){ Project p = (Project) object; System.out.println(p.getName()+" worked on by "+p.getEmployees().getName()); } }[/code] [Quote] error : CompanyReports.java:303: cannot find symbol symbol : method getName() location: interface java.util.List<Employee> System.out.println(p.getName()+" worked on by "+p.getEmployees().getName()); ^ 1 error[/Quote] Can anyone … | |
hi I am working on HQL queries and writing an application in Java it is just in development phase so I am using a dummy database. But I am having troubles with displaying result using HQL queries. /** * Displays a report listing all companies that have no departments. */ … | |
Re: [QUOTE=MRWIGGLES;1048201]Hi everybody, I'm trying to write a function that takes in 2 values, a min and a max, that prompts the user to enter a value within that range, and uses 0 as a sentinel to quit the loop. My issue is, I also want the loop to continue prompting … | |
Re: [QUOTE=kolibrizas;1047848][CODE]int a = 4, b = 3; String code = "a*b+a+2*b"; int result = unknown_function(code); System.out.println(result);//expecting 22[/CODE]Any ideas how to do that please?[/QUOTE] if you can post ur full code it will help better. | |
Re: Please if you could put your code here it will be really helpful for me to understand along with the errors messages thanks | |
I am trying to figure out how to read a multi line txt file with a data like ranking, athlete name and Athletic sports name with two different year records like 2007 and 2008 like 1. JOHN CARTER in Sprint Race 19. JOHN CARTER in Sprint Race I am trying … | |
Re: here you go for odd and even values u can modify this code for largest and smallest. [code][code=python] Even=[] Odd=[] def IsEven(a): even=False while not even: calculate=a%2 if calculate==0: even=True return even def find_Even(): for val in range (1,50): found_Even=IsEven(val) if found_Even==True: Even.append(val) else: Odd.append(val) def output(): print "\t\t\t THE … | |
I am trying to read some numerical values from a file and getting this error: Input Error: Error in input: Floating point number not found.; Expecting Real number in the range -1.7976931348623157E308 to 1.7976931348623157E308 [code][code=java] import java.io.*; public class TriangleMain { /** * @param args the command line arguments */ … | |
Re: [code][code=python] import string S = raw_input("Enter Sentence: ") countSpace=string.count(S," ") countTotal= len(S) totalCharacter=countTotal-countSpace print totalCharacter [/code] you can also try this | |
When I was using Python I created a program using basic knowledge of object orientation to compare between different cars. now when i switch to java I come up with a plan to compare lines I have created a point class and get the lines as well but now i … | |
Re: i think this works fine and i tried it removing str before (m) and it worked to so i can say its good do you have any question? | |
Re: your while loop is keep on going I give a value or not it keep on going but I am not sure what kind of help you are seeking can you explain ? | |
Re: you can also do like this: a=0 b=0 c=0 d=0 if not(a==0 and b==0 and c==0 and d==0): print "go home" else: print "come here" | |
[code][code=java] public class LineSeg{ // these are the attributes of a LineSeg object private Point end1; private Point end2; private double length; // the constructor public LineSeg(double x1, double y1, double x2, double y2) { end1 = new Point(x1,y1); end2 = new Point(x2,y2); this.length=(double)(Math.sqrt((x2-x1)**2+(y2-y1)**2)); } }[/code] | |
Hi guys, I am a student who is just going to start Java I use to work on python and I heard that java is some what similar to python. couple of days a go I posted a code that was not compiling because i did not the environment variable … | |
I just started java installed everything that I was required. I just completed my python class. for just trying a java code I tried this code. code: [code=java] /** * This program lets the user play HighLow, a simple card game * that is described in the output statements at … | |
I am working on a problem and trying to read a data and creating a chart the problem is when ever I read any thing from file it add \n or \r in with it but I change the type of digital data but I dont know what to do … | |
Hi guys I am back sorry for too late just due to business in class I was unable to visit this site. But for long time I was planning to ask this question but was too busy. I am working on graphic creation in python and I created a basic … | |
hi I am a beginner python user studying python is fun and i have learned many thing now a days I am working on a program to find prime numbers and non prime number in a list generated by range function. i am done with my work the problem is … |
The End.