This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
So, I have a text file containing a series of characters that I need to manipulate later in the program. So right now I'm trying to write a method that puts the chars in the string into a char, then returns the array. I've tried lots of different stuff, but the following code is the only attempt that didn't have lots of errors, it just doesn't display anything when I call reads(reader) in main.
The mistake is probably obvious, but we just started arrays.
Also, this is the first time I've posted in this forum, so am unsure how to format it properly. I know it sucks trying to read unindented code, but I honestly have no idea.