+ 5

Diffrence with C and C++ when learning

I’m going to take programming class this spring. Programming class in my major teaches C, so I want to study some before the class starts because I have no programming experience. But in Sololearn there is no basic C class. Is it okay to study C++ to prepare C class? I heard that C++ is slightly diffrent to C, but I don’t know how much are they.

28th Jan 2018, 12:06 PM
류종찬
류종찬 - avatar
5 Respostas
+ 3
C++ is (basically) C with more features. If you learn C++, it should be relatively easy to switch to C by just remembering what you can and can't do, and learning the C standard library (which isn't used much in C++, as there are better alternatives).
28th Jan 2018, 12:15 PM
Vlad Serbu
Vlad Serbu - avatar
28th Jan 2018, 12:53 PM
Gaurav Agrawal
Gaurav Agrawal - avatar
0
Thank you everyone for answering! So, studying C++ can help C!
28th Jan 2018, 1:03 PM
류종찬
류종찬 - avatar
0
With c++ you can program with OOP
28th Jan 2018, 8:28 PM
Esteban Henríquez Novoa
Esteban Henríquez Novoa - avatar