Hum... You probably didn't learn C++ at the same time then, because you really don't need more lines in C++ then in C for such a taskhow? when I learnt C, I noticed that to display my name, all I had to type were around five lines, but for C++ it takes a page,
Size does not matterbut for large programs isn't C++ supposed to be better? OOP is supposed to reduce size isn't it?
C is probably easier to learn (and often constitute a first step before learning C++), but the number of keywords has nothing to do with that.or are you just using C because it is easier to learn, with only 28 keywords?
That's not really true. Well-written C++ is as fast as C, and nowadays C++ is supported on a lot of platforms (all the ones supported by g++ in particular). One can argue that the compilers do not support all the features of the languages, but it only concerns "rare" features, used only in a few very specific programs.Well, yes, but C is faster for many tasks and more supported in many platforms.
well it was not one of my useless questions I can assure you that. I asked this because of curiosity and intrest to relearn C and/or C++ which I learnt way back just after elementary schooling, but forgot due to lack of use and lack of presence of a comp in my house at that time...:'( Well, someone at least took your question seriously at least, Metal.
Just for your information, skins and Qt4 are in C++
Add itand I think this makes a good thing to add to the FAQ.
hey all! I realised that DJ is for Drunk JunkieYup! That's ME! The guy who never got the meaning of the word "empathy".
Hmm! Must need vitamins or something. More Jamba Juice!
Legacy, pure and simple.Why is Linux kernel in C and not in C++ ?
Which platforms have C compilers but not C++ then?Well, yes, but C is faster for many tasks and more supported in many platforms.
Users browsing this forum: No registered users and 6 guests