Is it okay to learn C++ without learning C first? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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?

22nd Jun 2017, 4:47 PM
Lokinoha
Lokinoha - avatar
59 Answers
+ 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.
23rd Jun 2017, 8:23 PM
ɔ͒̋ᴉ̼̻̤͙͇͈̓ͧʇ̋̌̃ḓ̣ͯʎ̱̝̗̗̺̐͊ɹʞ͇̮́̍̾̽̈́̓
ɔ͒̋ᴉ̼̻̤͙͇͈̓ͧʇ̋̌̃ḓ̣ͯʎ̱̝̗̗̺̐͊ɹʞ͇̮́̍̾̽̈́̓ - avatar
+ 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."
24th Jun 2017, 1:49 AM
ɔ͒̋ᴉ̼̻̤͙͇͈̓ͧʇ̋̌̃ḓ̣ͯʎ̱̝̗̗̺̐͊ɹʞ͇̮́̍̾̽̈́̓
ɔ͒̋ᴉ̼̻̤͙͇͈̓ͧʇ̋̌̃ḓ̣ͯʎ̱̝̗̗̺̐͊ɹʞ͇̮́̍̾̽̈́̓ - avatar
+ 24
You can go straight for C++ with no problems.
22nd Jun 2017, 4:58 PM
Hatsy Rei
Hatsy Rei - avatar
+ 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.
22nd Jun 2017, 5:09 PM
AgentSmith
+ 14
Yes. You can.
23rd Jun 2017, 4:16 PM
John Joy Raj
John Joy Raj - avatar
+ 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.
23rd Jun 2017, 4:54 PM
Raymond
+ 10
why not . you start any language first because both c and c++ are considered as first step of learn coding..
24th Jun 2017, 1:45 PM
{ sood(Hemant , Prakash); }
{ sood(Hemant , Prakash); } - avatar
+ 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...👌?
25th Jun 2017, 7:30 PM
Solomon Fidelis
Solomon Fidelis - avatar
+ 5
yes
25th Jun 2017, 5:51 PM
Redacted
Redacted - avatar
+ 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 .
23rd Jun 2017, 11:48 AM
Varun verma
Varun verma - avatar
+ 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.....
23rd Jun 2017, 1:31 PM
Adithya Pai
Adithya Pai - avatar
+ 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++.
23rd Jun 2017, 8:49 PM
Adwitya Dube
Adwitya Dube - avatar
+ 4
C is not that useful So it's better to learn C++ and C# instead
25th Jun 2017, 8:28 AM
keivan Ipchi
keivan Ipchi - avatar
+ 4
No problem you start C++ but if you learn c language first it will be easy to learn the C++ language
25th Jun 2017, 1:13 PM
Thirumurugan C
Thirumurugan C - avatar
+ 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.
26th Jun 2017, 12:36 AM
Victor Manuel Hernandez
Victor Manuel Hernandez - avatar
+ 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 🎄
26th Jun 2017, 12:48 PM
aishwaryaravi
aishwaryaravi - avatar
+ 3
Yes of course!
23rd Jun 2017, 7:17 AM
FUN HOMSTER :D
FUN HOMSTER :D - avatar
+ 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.
23rd Jun 2017, 9:10 PM
Adwitya Dube
Adwitya Dube - avatar
+ 3
Keep learning C++ because it is easy than C... :) :) :) ;)
24th Jun 2017, 5:43 PM
Deepanshu Soni
Deepanshu Soni - avatar
+ 3
You can, there is nothing wrong because you are still learning both. Keep calm and code.
24th Jun 2017, 9:54 PM
Γαλαξίας Frøst
Γαλαξίας Frøst - avatar