Author |
Message |
Ratinho
|
Posted: Sun Jun 20, 2010 2:15 pm Post subject: Dictonary or Linked List |
|
|
What is it you are trying to achieve?
I want to storage my records in comfy data structure
What is the problem you are having?
I dont find any Linked list or Dictionary, and i dont wanna use a huge static array.
Describe what you have tried to solve this problem
Try to find any Dictionary.
Post any relevant code (You may choose to attach the file instead of posting the code if it is too long)
i need to plan that yet...
Please specify what version of Turing you are using
The Newest |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
Monduman11
![](http://compsci.ca/v3/uploads/user_avatars/1960741284bee0b481d3b8.jpg)
|
Posted: Sun Jun 20, 2010 2:26 pm Post subject: RE:Dictonary or Linked List |
|
|
try using classes |
|
|
|
|
![](images/spacer.gif) |
DemonWasp
|
Posted: Sun Jun 20, 2010 6:45 pm Post subject: RE:Dictonary or Linked List |
|
|
Well, there's either my own collections library or there's ericfourfour's collections library, or you can roll your own.
Turing does not include a dictionary type, nor does it include a proper List type.
Honestly, you're probably better off finding a new language once you know what a dictionary, linked list or binary tree is. |
|
|
|
|
![](images/spacer.gif) |
Monduman11
![](http://compsci.ca/v3/uploads/user_avatars/1960741284bee0b481d3b8.jpg)
|
Posted: Sun Jun 20, 2010 6:53 pm Post subject: RE:Dictonary or Linked List |
|
|
if u want a language that easy to learn and with dictionary types try python out |
|
|
|
|
![](images/spacer.gif) |
Cezna
![](http://compsci.ca/v3/uploads/user_avatars/9406831824c097251d4bb4.gif)
|
Posted: Sun Jun 20, 2010 7:17 pm Post subject: RE:Dictonary or Linked List |
|
|
I have seen people try this before, making a dictionary in Turing, and it always just comes down to making a big .txt with all the words said person can find in an online dictionary.
Most of the dictionaries/spell checkers I have seen were way too slow and way too much fail for me.
This is why I think Demon Wasp is right (well, that and the fact the he is a programming god, look, it even tells you under his name!).
You are best off doing this in a different language with more capabilites than Turing has in this area. |
|
|
|
|
![](images/spacer.gif) |
TerranceN
|
Posted: Sun Jun 20, 2010 7:26 pm Post subject: RE:Dictonary or Linked List |
|
|
The [url=http://en.wikipedia.org/wiki/Dictionary_(data_structure)]dictionary data structure[/url] is not the same as the book you use to find out what words mean. |
|
|
|
|
![](images/spacer.gif) |
Monduman11
![](http://compsci.ca/v3/uploads/user_avatars/1960741284bee0b481d3b8.jpg)
|
Posted: Sun Jun 20, 2010 7:27 pm Post subject: Re: RE:Dictonary or Linked List |
|
|
TerranceN @ Sun Jun 20, 2010 7:26 pm wrote: The [url=http://en.wikipedia.org/wiki/Dictionary_(data_structure)]dictionary data structure[/url] is not the same as the book you use to find out what words mean.
lol im guessing this is directed towards cezna? or is it towards me? |
|
|
|
|
![](images/spacer.gif) |
TerranceN
|
Posted: Sun Jun 20, 2010 7:32 pm Post subject: RE:Dictonary or Linked List |
|
|
lol im guessing that question wasn't really necessary considering cezna was the one who was talking about the word dictionary? or is it just me?
See what I did there? (that was rhetorical btw) |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
Monduman11
![](http://compsci.ca/v3/uploads/user_avatars/1960741284bee0b481d3b8.jpg)
|
Posted: Sun Jun 20, 2010 7:33 pm Post subject: Re: RE:Dictonary or Linked List |
|
|
TerranceN @ Sun Jun 20, 2010 7:32 pm wrote: lol im guessing that question wasn't really necessary considering cezna was the one who was talking about the word dictionary? or is it just me?
See what I did there? (that was rhetorical btw)
yea :p i see what your doing there, but i just wanted to clarify, plus i need 125 posts so i can get into the user lounge lol, ![Razz Razz](http://compsci.ca/v3/images/smiles/icon_razz.gif) |
|
|
|
|
![](images/spacer.gif) |
Cezna
![](http://compsci.ca/v3/uploads/user_avatars/9406831824c097251d4bb4.gif)
|
Posted: Sun Jun 20, 2010 7:48 pm Post subject: RE:Dictonary or Linked List |
|
|
Once you get into users lounge, go to my topic "Will you stay active on compsci after highschool".
And I am not sure exactly what happened up there with TerranceN's comment towards me... maybe I'm too tired to be on my computer.....
*wishing there was a yawning smiley* |
|
|
|
|
![](images/spacer.gif) |
Monduman11
![](http://compsci.ca/v3/uploads/user_avatars/1960741284bee0b481d3b8.jpg)
|
Posted: Sun Jun 20, 2010 8:45 pm Post subject: Re: RE:Dictonary or Linked List |
|
|
Cezna @ Sun Jun 20, 2010 7:48 pm wrote: Once you get into users lounge, go to my topic "Will you stay active on compsci after highschool".
And I am not sure exactly what happened up there with TerranceN's comment towards me... maybe I'm too tired to be on my computer.....
*wishing there was a yawning smiley*
what terrance ment was that the question posted wasnt referring to dictionaries where you look up definitions of words but rather dictionaries in programming where if im not mistaken its a collection of data. |
|
|
|
|
![](images/spacer.gif) |
Cezna
![](http://compsci.ca/v3/uploads/user_avatars/9406831824c097251d4bb4.gif)
|
Posted: Sun Jun 20, 2010 8:48 pm Post subject: Re: Dictonary or Linked List |
|
|
Quote: Once you get into users lounge, go to my topic "Will you stay active on compsci after highschool".
Lol, quotes out of shoutbox....
Anyway, thanks, that makes sense |
|
|
|
|
![](images/spacer.gif) |
Monduman11
![](http://compsci.ca/v3/uploads/user_avatars/1960741284bee0b481d3b8.jpg)
|
Posted: Sun Jun 20, 2010 9:05 pm Post subject: Re: Dictonary or Linked List |
|
|
Cezna @ Sun Jun 20, 2010 8:48 pm wrote: Quote: Once you get into users lounge, go to my topic "Will you stay active on compsci after highschool".
Lol, quotes out of shoutbox....
Anyway, thanks, that makes sense
np lol and thats mainly the reason why i want 125 posts so i can go into your topic lol cause ive seen it in the index and its been red for a few days so im intrigued to see whats in there ![Razz Razz](images/smiles/icon_razz.gif) |
|
|
|
|
![](images/spacer.gif) |
Cezna
![](http://compsci.ca/v3/uploads/user_avatars/9406831824c097251d4bb4.gif)
|
Posted: Mon Jun 21, 2010 5:46 am Post subject: RE:Dictonary or Linked List |
|
|
Well great to see you in here. |
|
|
|
|
![](images/spacer.gif) |
|