Computer Science Canada Loop in a Loop!! Urgent!!!!!!!!! |
Author: | Krocker [ Wed Dec 15, 2010 9:35 am ] |
Post subject: | Loop in a Loop!! Urgent!!!!!!!!! |
Is it possible to have a loop in a loop in a loop? Cuz i have a program where i need the loops. is it possible? |
Author: | Insectoid [ Wed Dec 15, 2010 10:13 am ] |
Post subject: | RE:Loop in a Loop!! Urgent!!!!!!!!! |
Why don't you try it? |
Author: | Krocker [ Wed Dec 15, 2010 5:41 pm ] |
Post subject: | RE:Loop in a Loop!! Urgent!!!!!!!!! |
well, that an answer. |
Author: | Insectoid [ Wed Dec 15, 2010 6:28 pm ] |
Post subject: | RE:Loop in a Loop!! Urgent!!!!!!!!! |
Did you try it? |
Author: | TokenHerbz [ Wed Dec 15, 2010 7:57 pm ] | ||
Post subject: | RE:Loop in a Loop!! Urgent!!!!!!!!! | ||
|
Author: | Insectoid [ Wed Dec 15, 2010 8:08 pm ] |
Post subject: | RE:Loop in a Loop!! Urgent!!!!!!!!! |
Damnit Token! Stop rewarding laziness! Although in this case laziness is more work than initiativity. |
Author: | Krocker [ Thu Dec 16, 2010 9:44 am ] |
Post subject: | RE:Loop in a Loop!! Urgent!!!!!!!!! |
im not lazy Insetoid, i just cant check because my program uses parallel ports, which my computer does not have. so i cannot run the program. My school have the old computers, so ya. SO im not LAZY. |
Author: | Insectoid [ Thu Dec 16, 2010 9:47 am ] |
Post subject: | RE:Loop in a Loop!! Urgent!!!!!!!!! |
You could make a new program. It's not that hard. |
Author: | Krocker [ Thu Dec 16, 2010 11:17 am ] |
Post subject: | RE:Loop in a Loop!! Urgent!!!!!!!!! |
a new 300k line program. ya thanx, but no thx, ill stick with posting questions. lol |
Author: | TokenHerbz [ Thu Dec 16, 2010 11:35 am ] | ||
Post subject: | RE:Loop in a Loop!! Urgent!!!!!!!!! | ||
it doesn't take 300 lines of code to test small programming features... or to test most things to see if it works how it should. Most the time i prefer to test ideas outside my main program before implementing it into my source. I find things are less problematic and i learn a lot more.
this 8 line small code tests a loop inside a loop. This Doesn't require a massive 300 lines of code. |
Author: | Krocker [ Thu Dec 16, 2010 11:52 am ] |
Post subject: | RE:Loop in a Loop!! Urgent!!!!!!!!! |
lol, k, im new to the whole thing, so ya, ill try that next time. thx anyways |
Author: | DemonWasp [ Thu Dec 16, 2010 12:10 pm ] |
Post subject: | RE:Loop in a Loop!! Urgent!!!!!!!!! |
Wait. Did you just suggest that you have a program with 300K lines of code? Does Turing even start up with a file that large? |
Author: | Insectoid [ Thu Dec 16, 2010 12:15 pm ] |
Post subject: | RE:Loop in a Loop!! Urgent!!!!!!!!! |
That's not a program. That's an executable novel. |
Author: | DemonWasp [ Thu Dec 16, 2010 12:17 pm ] |
Post subject: | RE:Loop in a Loop!! Urgent!!!!!!!!! |
At 300,000 lines, assuming a generous 100 lines per page, that's still 3000 pages. That's not a novel, that's a whole series...assuming you're not Robert Jordan, in which case that's a book and a half. |
Author: | Insectoid [ Thu Dec 16, 2010 12:24 pm ] |
Post subject: | RE:Loop in a Loop!! Urgent!!!!!!!!! |
I would love to see someone write 300,000 lines of code just to test nested loops. Brb, writing a program to write a 150,000 loop program to see what happens. |
Author: | DemonWasp [ Thu Dec 16, 2010 1:01 pm ] |
Post subject: | RE:Loop in a Loop!! Urgent!!!!!!!!! |
I'm betting on either an allocation exception when Turing tries to run the file, or a stack overflow issue if it manages to run it. |
Author: | Insectoid [ Thu Dec 16, 2010 1:41 pm ] |
Post subject: | RE:Loop in a Loop!! Urgent!!!!!!!!! |
Implementation restriction: Block nesting is too deep. Will not run. |
Author: | Krocker [ Thu Dec 16, 2010 4:30 pm ] |
Post subject: | RE:Loop in a Loop!! Urgent!!!!!!!!! |
lol |
Author: | TerranceN [ Thu Dec 16, 2010 4:46 pm ] |
Post subject: | Re: Loop in a Loop!! Urgent!!!!!!!!! |
Author: | TokenHerbz [ Thu Dec 16, 2010 4:54 pm ] |
Post subject: | RE:Loop in a Loop!! Urgent!!!!!!!!! |
i wonder if other programming languages would suffer the same fate as turing? |
Author: | Insectoid [ Thu Dec 16, 2010 5:16 pm ] |
Post subject: | Re: Loop in a Loop!! Urgent!!!!!!!!! |
TerranceN @ Thu Dec 16, 2010 4:46 pm wrote:
Segmentation Fault: Dream Overflow This is starting to look like /b/. I'll stop now. |
Author: | Krocker [ Thu Dec 16, 2010 8:04 pm ] |
Post subject: | RE:Loop in a Loop!! Urgent!!!!!!!!! |
what do you mean by suffering? |