Off Topic > Off Topic
Programming Megathread
Nitramtj:
On the line:
for(p=0;p<12;p+2)
p+2 will not increment p, you want to do p += 2
This also applies to your other for loop.
Kochieboy:
--- Quote from: Nitramtj on November 09, 2015, 12:24:41 AM ---On the line:
for(p=0;p<12;p+2)
p+2 will not increment p, you want to do p += 2
This also applies to your other for loop.
--- End quote ---
I was debating on using a while loop to prevent something like this from happening.
Recompiling and testing
It breaks out of the loop! Bless you, I was tearing my hair out for not being able to see this.
TomTheGeek²:
lmao something i need to brush up on!
i have a deep understanding in: bash, c++, ruby, and java. i've been trying to fit in time to download eclipse (or visual studio, i want something good but not bloated) and getting back into some small projects. i've done a class for c++ and i also want to start working seriously with that at one point but no clue where to start.
Jairo:
I got pycharm working a few days ago
the pythonning begins now
pch:
PHP makes me die every time i have to use it for crude projects and html forms