Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Need help removing contacts from a list
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
shrinkingviolet




PostPosted: 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



final.t
 Description:
This is the code I currently have. Any help would be greatly appreciated.

Download
 Filename:  final.t
 Filesize:  869 Bytes
 Downloaded:  99 Time(s)

Sponsor
Sponsor
Sponsor
sponsor
Insectoid




PostPosted: 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.
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 2 Posts ]
Jump to:   


Style:  
Search: