Right,
I'm tearing my hair out with this and I'm not happy. Someone from OcUK please help me!
I need to get characters in from the command line, of the form:
(NUMBER *comma* NUMBER *comma* ... ... )
When the user types this in, I need to take all of the numbers and add them to an integer array. I've used pattern matching before, but only on Strings. Is this doable? I can't seem to get it working myself. Sorry, using Java as the language.
Thanks.
I'm tearing my hair out with this and I'm not happy. Someone from OcUK please help me!
I need to get characters in from the command line, of the form:
(NUMBER *comma* NUMBER *comma* ... ... )
When the user types this in, I need to take all of the numbers and add them to an integer array. I've used pattern matching before, but only on Strings. Is this doable? I can't seem to get it working myself. Sorry, using Java as the language.
Thanks.