Search Results

Showing results 1 to 2 of 2
Search took 0.01 seconds.
Search: Posts Made By: Dark_Omen ; Forum: Java and child forums
Forum: Java Apr 17th, 2006
Replies: 6
Views: 19,427
Posted By Dark_Omen
Ok, yeah, so it is kind of like a permutation of the numbers.
So, think of the base case and recursive case. So the base case is when there is 1 value left, and the recursive case takes out one of...
Forum: Java Apr 17th, 2006
Replies: 6
Views: 19,427
Posted By Dark_Omen
You want to use a StringTokenizer. So and them together.
So:

String head = "47 23 2 5 98";
String returnHead = "";
StringTokenizer s = new StringTokenizer(head, " ");
while(s.hasNextToken()){...
Showing results 1 to 2 of 2

 


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

©2003 - 2009 DaniWeb® LLC