Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Learning C++ Or C

Tags:

c++

c

My question is: Is learning C++ without learning C enough to program any kind of computer programs and get the computer to it`s maximum level (Full Control except the tasks that need Assembly language)? Thank you

like image 790
x86 Avatar asked Nov 22 '25 04:11

x86


2 Answers

Yes, there is no point in learning C first if you want to learn C++. They are two different languages and learning C first is not a requirement.

Everything you can do in C you can do in C++ (probably in a safer way too)

like image 99
Thomas Bonini Avatar answered Nov 23 '25 20:11

Thomas Bonini


I think the important question to ask is 'What do you want to do?'

There are many tasks and situations where neither C or C++ are exactly appropriate. They also present quite a steep learning curve and do not lend themselves to fast results.

If you are starting out I would recommend a simpler language such as Python (or even PHP for web stuff) but don't take my word for it and ask about - form your own opinion.

Knowing C is useful as it lets you know in greater depth what the computer is actually doing, but for the sake of productivity (and your sanity) it's probably best going with something a bit more high-level to start with.

like image 30
Meep3D Avatar answered Nov 23 '25 21:11

Meep3D