Computer Science Canada Phone book help |
Author: | walker12101 [ Wed May 29, 2013 3:22 pm ] | ||
Post subject: | Phone book help | ||
What is it you are trying to achieve? <Replace all the <> with your answers/code and remove the <>> What is the problem you are having? My code doesn't work and over laps its self. Describe what you have tried to solve this problem Ask other people and changing the code Post any relevant code (You may choose to attach the file instead of posting the code if it is too long) My code is below and you will see what happens when you run the program. I need it to show up as a list after it receives the information but it doesn't work properly. If you can post the fixed code. Thanks
Please specify what version of Turing you are using The newest type I believe |
Author: | Insectoid [ Wed May 29, 2013 3:31 pm ] |
Post subject: | RE:Phone book help |
Why don't you try outputting data one row at a time instead of one column? This would eliminate all of your calls to locate() and most of your for loops, which will simplify the code significantly. For example, put fnames(i), then lnames(i), then num(i). Then move to the next row. |