Marco
Marco

Reputation: 53

Delphi data structures

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?

Upvotes: 5

Views: 5095

Answers (9)

RRUZ
RRUZ

Reputation: 136441

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

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

alt text
(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.

Upvotes: 12

Roland Bengtsson
Roland Bengtsson

Reputation: 5166

My favorite Delphi sites is unordered:

And of course this site Stackoverflow

Upvotes: 1

skamradt
skamradt

Reputation: 15548

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.

Upvotes: 2

Erwin
Erwin

Reputation: 1926

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

Upvotes: 1

Michael Madsen
Michael Madsen

Reputation: 55009

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...).

Upvotes: 1

Nick Dandoulakis
Nick Dandoulakis

Reputation: 43150

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.

Upvotes: 2

markus_ja
markus_ja

Reputation: 2951

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

Upvotes: 1

Humantool
Humantool

Reputation: 1

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

Upvotes: 0

Michał Niklas
Michał Niklas

Reputation: 54342

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.

Upvotes: 4

Related Questions