<div class="gmail_quote">
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><br>> What 'problem' are you trying to solve?<br>In general, anytime you can use a premade solution, you are at an advantage,<br>
not cheating.<br>That's one of the marks of a truly good programmer - being able to reuse as<br>much code as possible.<br>Unless it's a homework problem and he said "don't use the prime function"<br>
because in this case, your goal is to learn how to write a prime function,<br>not to calculate primes.<br>I.E. it's the doing, not the task. And if that's the case, please let us<br>know that it's homework. We will still help you, we just follow certain<br>
guidelines<br>when providing homework assistance so as not to "give it away" and still<br>allow you to reason / come up with the solution on your own, as your teacher<br>probably intended.<br></blockquote>
<div> </div>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><br>-Luke<br></blockquote>
<div>It's not homework i just want to be able to convert my algorithm into good code, and the only way to do that is by actually writing it. I'm just writing it to learn how it's done.</div></div>