I am pretty confident with C language but I’m finding it hard to solve some problems. I know some of the syntaxes of C++, suggest to me how to begin because I’m quite worried about this.
2 Likes
learn from youtube or a book and code !
2 Likes
As c is a subset of cpp so it should not be very difficult to switch from c to cpp. At first think why you are switching to cpp. If the sole purpose is competitive coding then you can go to geeksforgeeks and learn the STL in c++. learn the data types , string manipulation in c++. you will get a few differences between c and c++ in implementation over here C++ features not in C.
If you are learning C++ for other than competitive programming then you should learn the object oriented concept. then you should try classes objects etc in c++. Here also you can refer to geeksforgeeks and cppreference.
1 Like
Thank you brother for your time.
1 Like
Thank you a loooot brother. I will follow your suggestion.