After recalling scanners, I just realized I still don't understand that dummy line/ghost line thing.
...
Which could really screw me over when using .dat files (in CS competitions).
Can anybody explain it please?
Results 1 to 7 of 7
- 11 Feb. 2013 12:45am #1
That "dummy line/ghost line" in Java
- 11 Feb. 2013 04:17am #2
- 11 Feb. 2013 05:07am #3
I think I'll experiment it with it later, got other stuffs to do right now
But it had to do something with java scanners when you use both .nextInt() and .nextLine()
(like when you alternate them)
- 11 Feb. 2013 09:44pm #4
just google it
- 12 Feb. 2013 01:14am #5
Wow.
I was just about to prove you that I couldn't find such a answer....
and then one pops up on yahoo answers... of all places ._.
- 13 Feb. 2013 06:44am #6
- 14 Feb. 2013 01:03am #7