Click here to Skip to main content
15,888,984 members
Home / Discussions / Java
   

Java

 
GeneralRe: programming Pin
quest4knowledge20-Dec-12 6:44
quest4knowledge20-Dec-12 6:44 
GeneralRe: programming Pin
April Fans27-Dec-12 3:54
April Fans27-Dec-12 3:54 
QuestionInfix to Prefix, Incorrect output Pin
SamuelSkenzy15-Dec-12 14:19
SamuelSkenzy15-Dec-12 14:19 
AnswerRe: Infix to Prefix, Incorrect output Pin
TorstenH.16-Dec-12 19:47
TorstenH.16-Dec-12 19:47 
QuestionProblem in scanning from file in Sudoku backtracking Pin
Member 858607213-Dec-12 22:10
Member 858607213-Dec-12 22:10 
SuggestionRe: Problem in scanning from file in Sudoku backtracking Pin
Richard MacCutchan13-Dec-12 22:50
mveRichard MacCutchan13-Dec-12 22:50 
GeneralRe: Problem in scanning from file in Sudoku backtracking Pin
Member 858607213-Dec-12 23:17
Member 858607213-Dec-12 23:17 
GeneralRe: Problem in scanning from file in Sudoku backtracking Pin
Richard MacCutchan13-Dec-12 23:47
mveRichard MacCutchan13-Dec-12 23:47 
Your counter is being increment by 1 too many because you increment it even when trying to read beyond the last line; you should only increment it when you get a complete line of values. You are setting the number of columns to the length of the final line read in, but this is wrong as there are more characters than actual digits in the line. And finally, you are setting the values in your matrix to each successive character in the input line, rather than tokenising the string into the successive digits and converting them to integers.
One of these days I'm going to think of a really clever signature.

GeneralRe: Problem in scanning from file in Sudoku backtracking Pin
Member 858607214-Dec-12 0:30
Member 858607214-Dec-12 0:30 
QuestionHow can I get the use of a female's voice in Java Pin
Showlar13-Dec-12 6:30
Showlar13-Dec-12 6:30 
AnswerRe: How can I get the use of a female's voice in Java Pin
Richard MacCutchan13-Dec-12 7:37
mveRichard MacCutchan13-Dec-12 7:37 
AnswerRe: How can I get the use of a female's voice in Java Pin
TorstenH.16-Dec-12 19:50
TorstenH.16-Dec-12 19:50 
GeneralRe: How can I get the use of a female's voice in Java Pin
April Fans26-Dec-12 17:06
April Fans26-Dec-12 17:06 
Questionj2me Pin
4yee12-Dec-12 7:23
4yee12-Dec-12 7:23 
AnswerRe: j2me Pin
TorstenH.12-Dec-12 22:29
TorstenH.12-Dec-12 22:29 
SuggestionRe: j2me Pin
April Fans26-Dec-12 17:08
April Fans26-Dec-12 17:08 
Questionparse and validation in validation.txt Pin
duka_pa11-Dec-12 11:05
duka_pa11-Dec-12 11:05 
AnswerRe: parse and validation in validation.txt Pin
Richard MacCutchan11-Dec-12 11:16
mveRichard MacCutchan11-Dec-12 11:16 
Questionreading barcode Pin
junaid_ullah7-Dec-12 10:18
junaid_ullah7-Dec-12 10:18 
AnswerRe: reading barcode Pin
Richard MacCutchan7-Dec-12 22:07
mveRichard MacCutchan7-Dec-12 22:07 
GeneralRe: reading barcode Pin
junaid_ullah8-Dec-12 4:36
junaid_ullah8-Dec-12 4:36 
GeneralRe: reading barcode Pin
Richard MacCutchan8-Dec-12 22:23
mveRichard MacCutchan8-Dec-12 22:23 
QuestionHow to validate our signature with our public key? Pin
IICTECH6-Dec-12 19:45
IICTECH6-Dec-12 19:45 
AnswerRe: How to validate our signature with our public key? Pin
IICTECH11-Dec-12 19:51
IICTECH11-Dec-12 19:51 
Questionwhile signing the same data multiple times does signature vary? Pin
IICTECH6-Dec-12 19:36
IICTECH6-Dec-12 19:36 

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.