r/programmingbydoing • • Sep 14 '13

#28 Modulus Animation

So I just copied the file that the assignment gives you (this one) and it runs fine, but it prints all the lines beneath each other. If I understand the assignment correctly, it is supposed to be all on one line so it looks like an animation. I don't know how to do that. Google isn't giving me any answers.. what am I doing wrong here?

3 Upvotes

9 comments sorted by

View all comments

Show parent comment

2

u/holyteach Sep 16 '13

If you're not running the code from a "real" command line, then it won't work. Running it from the fake shell Eclipse provides isn't sufficient.

Did I ever mention I really hate Eclipse for students? There's even a rant about it in my book.

2

u/Karn_evil_9 Sep 19 '13

Thank you! I ran it in the command line and it worked. I did see the warning about how I wasn't supposed to use Eclipse, serves me right for not listening I guess.. Why would I ever want to use something like Eclipse if it doesn't even give me the right output?