"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." --- Martin Fowler
Please correct my English.
mike ryan wrote:the id is not being indexed, and comming up as "0" for each box now.Is there any way i can fix that ?? possibly in the print statement maybe?I am having a difficult time with that part anyway as far as where to put things to show up in the right place when printed out , as i would like to have [box:1, height:2,width:3,length:4 ] Something resemeling that anyways.
Regards, Rene Larsen
Regards, Rene Larsen
Regards, Rene Larsen
Rene Larsen wrote:What do you mean with line 4 ?? what do you expect ??
You get the ID in line 15 - which you then need to set in the array at [id][0]
Regards, Rene Larsen
To do a recursive call means that you are calling the method you are in (see line 73), and when this/these new call(s) finishes, you'll step backwards again, and return to the first calling method. In some situations a recursive call make sense - but not in your case.I don't really know what recursive means to be honest, i was trying to catch any possible false inputs and to keep the program running to continue on with the rest of the methods.I am still a real newb and have tons to learn(if that wasn't already painfully obvious). And doing lots of googling and reading and trying to get this program to run properly.
Yeah, the German language can be a bit hard to learn - but when living in Germany you should have the best opportunities of learning it I'm from Denmark my self, but living in Sweden.I am taking a correspodence course in German , and i am american--> living in Germany.So i think some of the explanations in the book aren't comming through as well as they would in English.But the fight goes on
Regards, Rene Larsen
Something must be done about this. Let's start by reading this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
|