Delphi data structures

心已入冬 提交于 2020-01-03 11:45:36

问题


I maybe need to do a project in Delphi and are a beginner in that field. Currently, I am searching the net for ressources and get confused because there are so few resource sites.

First of: can you give me some good websites with resources for Delphi I missed so far?

I was also searching for data structures in Delphi and was wondering if there are cool classes like an ArrayList in Java or something like that?


回答1:


exist many resources for a Delphi beginner, see theses questions in StackOverflow

  • Where can I find good beginner-level Delphi tutorials online?
  • Delphi = Pascal? Resources for Learning?
  • Learning Delphi
  • Delphi resources for existing .NET developer.
  • What’s the best Delphi book for a newbie?

A good book about data structures in Delphi is tomes of delphi: algorithms and data structures


(source: boyet.com)

I think wich the ArrayList Class in Java is very similar to the Generics list ( TList< T> ) introduced in delphi 2009. you can check also the TList Class in delphi.

Bye.




回答2:


I think DelphiFeeds is a good starting point. There are links to many other Delphi websites including TorryNet where you can find many open source components.

As for structures look at TStrings/TStringList and TList. I use them very often.

For other classes and functions look at Delphi Basics. There are descriptions and code examples.




回答3:


Check out Project Jedi and the JEDI CODE LIBRARY.

The JEDI Code Library (JCL) consists of a set of thoroughly tested and fully documented utility functions and non-visual classes which can be instantly reused in your Delphi and C++ Builder projects.




回答4:


Another good resource for components is delphipages.com. If you have any questions the best place to get answers is here on stack overflow. :)

For specific cool collections, two units that you will want to open and dig through are contnrs and generics.collections. Both are in the delphi source directory (..\RAD Studio\x.x\source\Win32\rtl\common) which is installed for licensed versions.




回答5:


The TObjectList is similar to an ArrayList.
I learnt a lot from delphi.about.com and codegearguru




回答6:


If you are using Delphi 2009 or 2010, it comes with several useful data structures where you don't really need to do anything special (TList, TDictionary...).




回答7:


The Delphi Help is online. I don't know what you have missed but did you see Getting Started with Rad Studio?

For data-structures I suggest first to take a look at the Contnrs.pas unit in the VCL. It is located under source\Win32\rtl\common. And if you are lucky and have at least Delphi 2009 then there is also a generics variant in Generics.Collections.pas




回答8:


My favorite Delphi sites is unordered:

  • About Delphi
  • Delphi Basics
  • Delphi Wiki

And of course this site Stackoverflow




回答9:


if you're french (or understand french) there is the Delphi section of Developpez.com



来源:https://stackoverflow.com/questions/1672606/delphi-data-structures

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!