Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Tutorial for Pascal/Delphi for C++-Coders

Tags:

delphi

pascal

I'm a C++-Programmer. But now i have to learn Pascal/Pascal. Are there any websites, documents around that can teach someone with my knowledge the difference?

like image 621
Lukas Schmelzeisen Avatar asked Nov 17 '09 16:11

Lukas Schmelzeisen


People also ask

Is Delphi easy to learn?

Delphi is known as a very easy language to learn and use. Developers new to Delphi also have access to extensive free learning resources, including free courses and content on LearnDelphi.org, and on the Embarcadero Channel on YouTube.

Is Delphi based on Pascal?

Delphi uses the Pascal-based programming language Object Pascal created by Anders Hejlsberg for Borland (now IDERA) as the successor to Turbo Pascal. It supports native cross-compilation to many platforms including Windows, Linux, iOS and Android.

Is Delphi a good programming language?

Delphi Is Fast Similarly, Delphi can use strings faster than C and C++. However, the main thing to note about Delphi isn't just its speed, but its parity. C, C++, Java… they're all better known, better supported, and widely understood, but overall are no faster than Delphi.

Is Delphi outdated?

In fact, nowadays Delphi is alive and kicking, and newest Embarcadero Delphi & C++ Builder tools are more stronger & resilient than ever – and will keep on working for decades to come.


2 Answers

It shouldn't be too difficult to pick up. C's design was influenced by ALGOL and Pascal, so the semantics and logical flow are going to be pretty familiar. You can get an overview of the differences between basic Pascal and basic C here.

But you tagged this as Delphi and you mentioned C++, which implies that you'll need information on OOP techniques. Try this article or this one, which compare object-oriented programming in Delphi with C++ and other languages. Both are a bit dated, but most of the basic information in them still applies today.

If you have any specific questions about language features, feel free to ask them here, and welcome to Stack Overflow!

like image 155
Mason Wheeler Avatar answered Sep 18 '22 22:09

Mason Wheeler


You can check Essential Pascal written by Marco Cantù, is a introduction to the Pascal programming language. you can download a free copy from here.

alt text

Another excellent site for beginners, is Delphi Basics, this web site provides help and reference for the fundamentals of the Delphi language. It gives an introduction to the Delphi Object Oriented Language for newcomers.

like image 45
RRUZ Avatar answered Sep 17 '22 22:09

RRUZ