Click here to Skip to main content
15,900,906 members
Home / Discussions / Java
   

Java

 
AnswerRe: Sorted Linked List Pin
TorstenH.25-Nov-10 19:54
TorstenH.25-Nov-10 19:54 
AnswerRe: Sorted Linked List Pin
Richard MacCutchan25-Nov-10 22:06
mveRichard MacCutchan25-Nov-10 22:06 
GeneralRe: Sorted Linked List Pin
TorstenH.25-Nov-10 23:25
TorstenH.25-Nov-10 23:25 
GeneralRe: Sorted Linked List Pin
Richard MacCutchan26-Nov-10 0:50
mveRichard MacCutchan26-Nov-10 0:50 
GeneralRe: Sorted Linked List Pin
Babylon Lion26-Nov-10 16:59
Babylon Lion26-Nov-10 16:59 
AnswerRe: Sorted Linked List Pin
Luc Pattyn26-Nov-10 4:50
sitebuilderLuc Pattyn26-Nov-10 4:50 
GeneralRe: Sorted Linked List Pin
Babylon Lion26-Nov-10 16:54
Babylon Lion26-Nov-10 16:54 
GeneralRe: Sorted Linked List Pin
Luc Pattyn26-Nov-10 17:18
sitebuilderLuc Pattyn26-Nov-10 17:18 
Babylon Lion wrote:
it doesn't output anything?!
Any clue?


If there are no run-time exceptions, then the only way to get some output is by calling a method that outputs something. Can you point us to some of those, as I don't see any.

BTW: your hasNextLine() and nextLine() stuff is quite a mess IMO.

May I suggest you reconsider your current code, clean it up, and then do one of these two things:
1. add logging statements that show where you are; a few System.out.println("Now going to ..."); could do wonders.
2. learn to use your debugger, with breakpoints and single-stepping, so you can slowly execute your code and look at the statements being executed one at a time.

Also, if you're new to programming, maybe it would be wise:
1. to study an introductory book of your choice, from the start;
2. to start out with simpler stuff, probably from said book.

Good luck.
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, and improve readability.


QuestionCould not create system bitmap Pin
evan earnest25-Nov-10 2:09
evan earnest25-Nov-10 2:09 
AnswerRe: Could not create system bitmap Pin
TorstenH.25-Nov-10 2:58
TorstenH.25-Nov-10 2:58 
GeneralRe: Could not create system bitmap Pin
evan earnest25-Nov-10 18:53
evan earnest25-Nov-10 18:53 
QuestionHow do you build your GUIs? Pin
TorstenH.23-Nov-10 21:36
TorstenH.23-Nov-10 21:36 
AnswerRe: How do you build your GUIs? Pin
David Skelly23-Nov-10 22:13
David Skelly23-Nov-10 22:13 
AnswerRe: How do you build your GUIs? Pin
Cedric Moonen23-Nov-10 23:00
Cedric Moonen23-Nov-10 23:00 
GeneralRe: How do you build your GUIs? Pin
TorstenH.23-Nov-10 23:12
TorstenH.23-Nov-10 23:12 
GeneralRe: How do you build your GUIs? Pin
Cedric Moonen23-Nov-10 23:22
Cedric Moonen23-Nov-10 23:22 
GeneralRe: How do you build your GUIs? Pin
TorstenH.23-Nov-10 23:27
TorstenH.23-Nov-10 23:27 
AnswerRe: How do you build your GUIs? Pin
Nagy Vilmos24-Nov-10 3:18
professionalNagy Vilmos24-Nov-10 3:18 
AnswerRe: How do you build your GUIs? Pin
LloydA11125-Nov-10 7:50
LloydA11125-Nov-10 7:50 
AnswerRe: How do you build your GUIs? Pin
Alok Sharma ji30-Nov-10 19:47
Alok Sharma ji30-Nov-10 19:47 
GeneralRe: How do you build your GUIs? Pin
TorstenH.1-Dec-10 23:24
TorstenH.1-Dec-10 23:24 
QuestionSocket programming Pin
vidhyaej23-Nov-10 19:52
vidhyaej23-Nov-10 19:52 
AnswerRe: Socket programming Pin
TorstenH.23-Nov-10 21:41
TorstenH.23-Nov-10 21:41 
GeneralRe: Socket programming Pin
vidhyaej23-Nov-10 22:01
vidhyaej23-Nov-10 22:01 
GeneralRe: Socket programming Pin
TorstenH.23-Nov-10 22:12
TorstenH.23-Nov-10 22:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.