aspose file tools*
The moose likes Beginning Java and the fly likes reading integers from console into program Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Reply locked New topic
Author

reading integers from console into program

chintan chainani
Greenhorn

Joined: Sep 21, 2005
Posts: 7

hye, i'm not quite able to figure this out, if someone can help by showing some example code :
i wanna enter integers into the variables from console after running program,am unable to do it with readInt(), also the input speciication is a space between integers. which are then taken as row and column of an int array.
am able to read it as char, but not as int. ??

p.s :pl reply ASAP, have been sitting on this too long.. thanks
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42612
    
  65
Please do not post the same question to multiple forums: CarefullyChooseOneForum

Let's continue the discussion in this duplicate thread.


Ping & DNS - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: reading integers from console into program