What makes C++ difficult as people say? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 6

What makes C++ difficult as people say?

I think case sensitivity of C++ makes it to have more attention while programming rather than it being difficult.

28th Mar 2019, 12:18 AM
WARRIOR
WARRIOR - avatar
8 Answers
+ 3
Because 90% of teachers teach C instead of C++ and append OOP to it. Even SoloLearn does that. Don't bother with C-strings, use std::string. Don't bother with the static C-arrays, just use std::vector. Don't bother with pointers, use references. If you someday encounter the rare case where you need a pointer in C++, don't use C-pointers, use std::smart_pointer. Voila, easy language for you.
29th Mar 2019, 11:29 PM
Chris
Chris - avatar
+ 8
Maybe the mix of Object oriented and non object oriented concepts???
28th Mar 2019, 11:59 AM
Sonic
Sonic - avatar
+ 6
its just belief of people i have traveled have way in C++ but only few things are difficult..All Good
28th Mar 2019, 6:25 AM
Om12
Om12 - avatar
+ 3
Thnx
28th Mar 2019, 7:22 AM
Om12
Om12 - avatar
+ 3
It can be way harder to grasp as a first language i think. it Doesnt flow as “nicely” as others. But some things, i think are easier. Not having to worry about spacing is quite nice. Also, for me, the compiler is the best teacher there is, lol. With some languages you can do all kinds of weird stuff and the code will just run...doing God knows what. C++ being compiled is great because it stops you dead in your tracks (mostly?) if u mess up.
29th Mar 2019, 1:37 AM
Joseph J. Fostano
Joseph J. Fostano - avatar
+ 3
I think that most people (me too) find C++ difficult to learn not cause case sensitivity (all C style languages are), but because about memory management. Infact, other modern languages like Java have automatic Garbage collection, so you don't care about Pointers and so on. But C++ is faster than Java, C# etc. because it is directly compiled into machine code. Java, C# and Python no (they are first compiled in intermediate language)
29th Mar 2019, 8:26 AM
RoboCybernetic
RoboCybernetic - avatar
+ 2
In general: pointers
29th Mar 2019, 5:00 PM
Igor The Golden Fish
Igor The Golden Fish - avatar
+ 1
Thanks man
29th Mar 2019, 11:45 PM
WARRIOR
WARRIOR - avatar