+ 3

C or c++ and why !!?

21st Mar 2018, 1:56 AM
Zoo
Zoo - avatar
7 odpowiedzi
+ 7
C++ is a hybrid of C language and OOP. I reccomend that you learn C++ then you can try C, if you like. You can mix the to, but , good practice is only using what is needed. So if you can do the job with one language, when you are not practicing. It is better to stick with one language. https://www.sololearn.com/discuss/459759/?ref=app
21st Mar 2018, 2:02 AM
Manual
Manual - avatar
+ 8
I suggest that you add a description, to your questions in the future.
21st Mar 2018, 2:04 AM
Manual
Manual - avatar
+ 2
@Timon, yes it is, but it depends: http://www.drdobbs.com/cpp/why-code-in-c-anymore/240149452 https://www.quora.com/Is-C++-slower-than-C-If-yes-is-the-difference-significant The libraries and tools that are used within each language stretch its compilation and running abilities, therefore, making one poasibly slower than another, and that is seen more with C++ than C. It is an extremely minor difference, but yes; C++ is slower than C in cases.
21st Mar 2018, 11:05 AM
Dread
Dread - avatar
+ 2
But it's so minor that you can ignore that. And if it gets important, just use the old C solution within your C++ code.
21st Mar 2018, 11:18 AM
Timon Paßlick
+ 1
C is considered easier to learn than C++ by many, and they can do pretty much the same things. C++ has a MASSIVE library of... well... libraries! C's is smaller, but C is faster! C++ is bigger, but like a teensy bit slower... so no biggy.
21st Mar 2018, 2:46 AM
Dread
Dread - avatar
+ 1
C++ is NOT slower, who tells these fairytales?
21st Mar 2018, 6:10 AM
Timon Paßlick
+ 1
Yes, but it is still slower, regardless of how minor it is. They are both great languages though.
21st Mar 2018, 11:19 AM
Dread
Dread - avatar