Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

help, lost! #4

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

help, lost! #4

wants to merge 8 commits into from

Conversation

ztmurphy21
Copy link
Member

i made a for loop for the readfile and a constructor in the one class. I
am lost on how to do this.

Zachary Murphy added 6 commits November 9, 2015 20:47
i made a for loop for the readfile and a constructor in the one class. I
am lost on how to do this.
just need to tokenize.
did a little bit with tokenizing, but stuck on it have an error message.
Scanner scanner = null;
ArrayList<String> list = new ArrayList<String>();
File temp = new File ("dice.txt");
Scanner file = new Scanner (temp);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You assigned this scanner to file instead of scanner so it can't read any lines

Zachary Murphy added 2 commits November 15, 2015 00:14
still has some issues,
removed the #### from the file. what else should I do. This may come
across as other changes but this was the only change bc it was copied
over to my surface.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants