+ 17
Is it okay to learn C++ without learning C first?
Why is there C++ in sololearn, but not C? Will there be any problems if don't have any knowledge about any of them? And should I learn both or would only one would be enough?
59 Antworten
+ 54
Learning C before C++ wouldnt hurt but I dont think its necessary.☺
🔴🔴Here have my 2 cents!
C is strictly procedural oriented programming (POP). C++ is to be an improvement to C by adding object oriented programming (OOP). C++ isnt strictly OOP. By adding OOP, it makes it easier for larger programs because objects help to organise code, makes it more collaborative, allows code re-usability, etc C++ also focuses more on handling data (user input) than C. C focuses more on the procedural aspect of functions, sub, routines, structures, etc
This is largely my opinion of course but I have done LOTS of research on this topic because I had the same question a while back! Also please note the only experience with POP I have is with VB a while back.
+ 41
@ItsBatDash I disagree with C++ just being v2 of C. C++ was created with C in mind and they are 2 different langs. Also there are many versions of C and C++.
Quote from Stroustrup (creator of C++)
"C++ is a direct descendant of C that retains almost all of C as a subset. C++ provides stronger type checking than C and directly supports a wider range of programming styles than C. C++ is "a better C" in the sense that it supports the styles of programming done using C with better type checking and more notational support (without loss of efficiency). In the same sense, ANSI C is a better C than K&R C. In addition, C++ supports data abstraction, object-oriented programming, and generic programming."
+ 24
You can go straight for C++ with no problems.
+ 22
C was created prior to C++, and C++ being created to further expand upon C. Although I know both, I can't even remember the last time that I've needed to use C over the other languages I know. In my opinion, C++ is superior to C, and learning C++ will be more productive for you than spending your time on C.
+ 14
Yes. You can.
+ 11
now, I will start answering your question from the back.
The two languages can be used independently and for different purposes too so the choice of whether you should learn one or both is left to you.
As to why sololearn picked c++ and not c, I believe it is due to the fact that c++ is of a higher level than C, I mean it is a high level language like java and the rest, and also it is more used in computer programming than c.
plus c++ is easier
And no not having knowledge of one does not stop you from learning the other.
+ 10
why not . you start any language first because both c and c++ are considered as first step of learn coding..
+ 7
learning just c++ is enough,even though it's derived from c,it's knowledge won't make learning c++ easier and it's just more unnecessary work to learn both...👌?
+ 5
yes
+ 4
there is no doubt about CPP is superior thn c.Acording to me comparative study is always enhance your skills. so better go with c after that u will easily understand the CPP .
+ 4
c++ or c Almost basic structure remains the same go for c++.But after learning compare it with c this might help in getting an idea, while learning other languages.....
+ 4
One of the basic languages developed was C, but as soon as C++ was developed C was replaced by C++. According to my opinion C++ is more helpful not just for learning but practical use too. Although i have learned both i would strongly prefer for C++.
+ 4
C is not that useful So it's better to learn C++ and C# instead
+ 4
No problem
you start C++
but if you learn c language first
it will be easy to learn the C++ language
+ 4
yo aprendi C++ directamente. Lo importante es que con cualquiera aprendes a programar solo hay algunas reglas diferentes para ciertos aspectos. y lo otro que C++ puedes trabajar con objetos y en C no.
+ 4
there is no problem. c++ is improved level of c. let have simple different in it. it is good rather than all.
😄😃☺😉😁😌
Good Luck To U 🎄
+ 3
Yes of course!
+ 3
C# is a combination of C++ and java as far as I know. As a result i would perfer to go with C++ first.
+ 3
Keep learning C++ because it is easy than C... :) :) :) ;)
+ 3
You can, there is nothing wrong because you are still learning both. Keep calm and code.