+ 5

Should I learn c before learning c++?

I think I read a comment somewhere that it would be better to learn c before moving onto c++, because it would give a better understanding of how things work. Do you agree? If so, where would be a good place to learn c? Thx!

10th Jan 2018, 11:50 PM
Yanie
Yanie - avatar
11 Answers
+ 11
I learned C++ before C and this helped me through all the college year. In college they first teach C and after C++. Just a few thing change like the famous 'using namespace std;' but the logic is the same. If you handle C++ probably it will be super easy to handle C :D
11th Jan 2018, 6:35 PM
Alex Shaw đŸ˜»
Alex Shaw đŸ˜» - avatar
+ 5
C and C++ are almost identical languages, so you don’t have to learn C first. It still might be a good idea though because you will learn the low level concepts in C without being overwhelmed by the high level features in C++. For a tutorial, try tutorialpoint.com. They should have a C tutorial considering that they have an assembly tutorial.
11th Jan 2018, 12:01 AM
Jacob Pembleton
Jacob Pembleton - avatar
+ 4
Yes, however you can manage either ways...Its upto you.
11th Jan 2018, 5:07 PM
Abhishek Tandon
Abhishek Tandon - avatar
+ 2
definitely!!! no physics without maths (no c++ without c)... @Faisal your answer is completly banana. C is the third most popular language by use in companies (after java and c++), so definitely not dead. Then i dont know how you define a language better than another language, but let it be said that the most critical part of any programm is written in c and plain c.
11th Jan 2018, 1:16 AM
---
--- - avatar
+ 2
not needed for sure you can start with either
11th Jan 2018, 8:31 AM
hindstrust
+ 1
@Ozren sorry about that! I had just been saying what I've been hearing from some programmers I know and from what I've seen. I do agree that C has its uses (Python was literally written in it), but it does have some flaws, most of which C++ fixes.
11th Jan 2018, 1:29 AM
Faisal
Faisal - avatar
0
C and C++ are quite similar. The thing is, C isn't very used that often these days (some would even say that it's a dead language) while C++ is still used by many people. I would suggest that you learn C++ first just because of how similar they are and because C++ is overall just a better language.
10th Jan 2018, 11:58 PM
Faisal
Faisal - avatar
0
I disagree, programming in modern C++ is very different than C. You don't need one for the other, and learning C++ will also touch on all the important low-level concepts :) Nothing wrong with learning C though of course, even if you don't plan on using it.
11th Jan 2018, 1:37 AM
Schindlabua
Schindlabua - avatar
0
it is not a necessary to learn C++ you aren't suppose to have any other type of background of programming languages, because c++ is itself is basic core of programming language which gives you access to many other languages so dear don't worry about this and just start your c++....best of luck.
11th Jan 2018, 11:20 AM
Muhammad Shahbaz
Muhammad Shahbaz - avatar
0
You don't have to learn c to learn cpp. java is also based on c++ but you don't need to learn c++ to learn java
14th Jan 2018, 8:05 PM
Starry_Knight
Starry_Knight - avatar