0

C and c++ - which one is easier to learn?

I started learning c++ first and then switched to c, which seems more complicated to me, is it really like that? Can you be good at c++ without exceptional knowledge of c? Will knowledge of c++ help me master c afterwards?

27th Sep 2019, 1:49 PM
Mladenka Orlić
Mladenka Orlić - avatar
2 Respuestas
0
C maybe a bit more complex, as many things should be done carefully. For example taking input and output (scanf & printf). One needs to get acquainted with proper format specifier to get things right, using inappropriate format specifier can lead to buggy code. In C++ the input/output stream are more friendly, no need to go details about what type is the input/output : ) You can learn (and eventually be good at) C++ here in SoloLearn, even without prior experience of learning C. A lot of things are added into C++ so I think C++ is bigger scope than C. I like both these languages, and some other too : )
27th Sep 2019, 2:55 PM
Ipang
0
I think c. Because it is like English
27th Sep 2019, 1:56 PM
Masud Rana
Masud Rana - avatar