Bookmark Topic Watch Topic
  • New Topic

System.in.read()  RSS feed

 
Amit Sethi
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Report post to moderator
Q. input in an array by using for loop & System.in.read().

when i m using " System.in.read()" in a for loop for continious input it is skipping for Some iterations.
& result in an array is showing garbage value.

pls help me
regards
Amit
 
Mike Noel
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
  • Report post to moderator
If you post some code and point out where you are having a problem we can help.
 
marc weber
Sheriff
Posts: 11343
Java Mac Safari
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please continue this discussion under the separate post containing the requested code example. In the future, please continue discussions under the original thread instead of creating new topics. Thanks!

Also, please note the name warning now under that post.
[ May 30, 2006: Message edited by: marc weber ]
 
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!