Solved. Thanks for help.
Printable View
Solved. Thanks for help.
Yikes, that's some wonky indentation (which makes your code pretty hard to read). When you say it "crashes", what do you mean? Do you get an Exception? Some strange behavior? Something else? Be specific.
Also, any code you post should be in the form of an SSCCE (that's a link). We have no idea what this TextIO class does. That doesn't mean we want you to post it- it means you should narrow your problem down to as few lines as possible, put that into a runnable file, and post that instead.
Hi there, it just exits once it asks for a number to move the character. How do i create a sscce?