What's so difficult about C ++

authorContribution
henny

Posts: 126



Posted: Wed 6/3/09 2:38 PM
I know this question has nothing to do with delphi but I didn't know where to write it:
my friend claims that c ++ is a very difficult programming language and
that it would be nothing for children or beginners.
Is that correct ?
is it really that difficult?
Would be nice if someone answers me!

greetings henny


Moderated by Christian S .: Topic from Delphi Language (Object-Pascal) / CLX postponed on Wed 03.06.2009 at 15:47
BenBE

Posts: 8721
Thank you received: 191

Win95, Win98SE, Win2K, WinXP
D1S, D3S, D4S, D5E, D6E, D7E, D9PE, D10E, D12P, DXEP, L0.9 \ FPC2.0
Posted: Wed 6/3/09 2:42 PM
C ++ isn't hard, but it's hard to get it right

The problem is that the variety of syntax options leaves a lot of opportunities to make mistakes that beginners in particular cannot reasonably be explained why they should not shoot themselves in the knee with a loaded machine gun ...

_________________
Anyone who is capable of being elected president should on no account be allowed to do the job.
I code EdgeMonkey - In dubio pro setting.
jaenicke

Posts: 19009
Thank you received: 1692

W10 x64 (Chrome, Edge)
Delphi 10.4 Ent, Oxygene, C # (VS 2019), JS / HTML, Java (NB), PHP, Lazarus
Posted: Wed 6/3/09 3:07 PM
C ++ is not necessarily more difficult than other languages, but I find it easier to get started with other languages.

I find Delphi or C # easier to get started with, Java also in terms of language (unfortunately not in terms of IDEs, I know a lot of them who don't get along well).

But if you really get into it, C ++ shouldn't be so much more of a problem than other languages.
The nice neighbor

Posts: 224



Posted: Wed 6/3/09 3:09 PM
jaenicke

Posts: 19009
Thank you received: 1692

W10 x64 (Chrome, Edge)
Delphi 10.4 Ent, Oxygene, C # (VS 2019), JS / HTML, Java (NB), PHP, Lazarus
Posted: Wed 6/3/09 3:13 PM
The nice neighbor

Posts: 224



Posted: Wed 6/3/09 3:26 PM
Yeah, that's what I meant
Aya

Posts: 1964
Thank you received: 15

MacOSX 10.6.7
Xcode / C ++
Posted: Wed 6/3/09 3:35 PM
I don't find C ++ more difficult than other languages ​​(at most you may not understand templates and macros right from the start - as a programming novice).

But as far as the entry point is concerned, it is extremely far behind because - in my opinion - there are no good libraries to write Windows applications quickly like in Delphi ne (with windows, buttons, etc.) .. that is quite complicated for the C ++ Beginning.

In this sense, C ++ does not provide anything, you have to do everything yourself or somehow gather from other libs.

C # (or .net), Delphi and Java offer a lot more to start with.

Aya

_________________
Aya
I aim for my endless dreams and I know they will come true!
henny 

Posts: 126



Posted: Wed 6/3/09 4:41 PM
can also be used in c ++
choose different designs and colors, shapes?
jaenicke

Posts: 19009
Thank you received: 1692

W10 x64 (Chrome, Edge)
Delphi 10.4 Ent, Oxygene, C # (VS 2019), JS / HTML, Java (NB), PHP, Lazarus
Posted: Wed 6/3/09 4:55 PM
What does that have to do with language? That's just the surface of your program then.

As it sounds, you are looking for a skinning option for the surface framework. There is basically something like that for C ++, too, of course.
MicSchaefer
Hold on here
Contributions: 1



Posted: Sun 06/28/09 3:13 pm
Advantage of C ++: Anyone who knows this language can do an incredible amount. Both in terms of surface programming and depth. And if you use platform-independent class libraries for surface design such as Qt4 or WxWidgets, a C ++ program can run on Windows, Linus, Mac, ...
Disadvantage of C ++: At the beginning the Synthax is quite complex and gets lost in little things. And if you don't have Viusal Studio with the ingenious MSDN library help, you hardly have a chance to understand the language.

Advantage of Delphi: Kindergarten language that everyone can understand in a few hours
Disadvantage of Delphi: It lacks a bit of depth and you are left with the cumbersome Sythax.

Advantage of C #: Easy to learn, also enables complex and in-depth programming within certain limits. Surface design is super simple:
Disadvantage of C #: It is purely from Microsoft, i.e. it only runs under Windows. In addition, it remains to be seen how long Microsoft, for example, will continue to provide Visual Studio Express free of charge. So it could be that it will get really expensive at some point. Besides, you don't know how the language will develop in the future. She is still too young.

Oh, and about "Aya" and the problem with the surface design: Ever heard of MFC. It couldn't be simpler.
jaenicke

Posts: 19009
Thank you received: 1692

W10 x64 (Chrome, Edge)
Delphi 10.4 Ent, Oxygene, C # (VS 2019), JS / HTML, Java (NB), PHP, Lazarus
Posted: Sun 28.06.09 3:23 pm
MicSchaefer wrote the following :
Advantage of Delphi: Kindergarten language that everyone can understand in a few hours
Disadvantage of Delphi: There is a little lack of depth and you are left with the cumbersome Sythax.
Both are hardly true. You shouldn't forget that Pascal was a very popular teaching language for a long time, even at universities. And what does it mean there is a lack of depth? You can use it to do almost everything that is possible with C ++, if you don't want to program close to the hardware (writing the operating system, drivers, ...).

MicSchaefer wrote the following :
Disadvantage of C #: It is purely from Microsoft, i.e. it only runs under Windows.
Clearly wrong. Ever heard of Mono, Sharp Develop, ...?
In principle, C # programs are platform-independent like Java programs (Linux, FreeBSD, OpenBSD, NetBSD,
Windows, Solaris, OS X, ...).
Aya

Posts: 1964
Thank you received: 15

MacOSX 10.6.7
Xcode / C ++
Posted: Sun 06/28/09 4:05 pm
MicSchaefer wrote the following :
Oh, and about "Aya" and the problem with the surface design: Ever heard of MFC. It couldn't be simpler.


So I find the MFC anything but pleasantly easy to use - especially for beginners .. that's why I would advise every newcomer to use Qt ... regardless of location and pretty simple.

Aya ~

_________________
Aya
I aim for my endless dreams and I know they will come true!
Luckie

Posts: 11830
Thank you received: 162

Windows 7 Home
BDS2006
Posted: Sun 28.06.09 16:21
So creating windows with the MFC is not comparable to the VCL and is quite a cramp compared to the VCL.

_________________
Greetings Michael