Computer Science Canada

Need help removing contacts from a list

Author:  shrinkingviolet [ Sun Dec 04, 2016 5:56 pm ]
Post subject:  Need help removing contacts from a list

What is it you are trying to achieve?
I'm trying to code a contact list. The user must be able to add and remove contacts, and print their list.


What is the problem you are having?
I am unable to remove contacts. I have previously tried to code a solution, but the most I can do is remove the last contact entered (that code is not attached).


Please specify what version of Turing you are using
4.1.1

Author:  Insectoid [ Sun Dec 04, 2016 8:56 pm ]
Post subject:  RE:Need help removing contacts from a list

There's all kinds of ways you could solve this. Since you're using an array, you need some way to let the program know which elements in the array are contacts and which are blank/deleted. I'm sure you can come up something.


: