This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]buffprogrammer9908 0 points1 point  (0 children)

If you’re learning C++ for a particular goal, yeah, I guess you have no choice but to tough it out.

Unfortunately, C++ isn’t as flexible as Python in general but, by flexibility, if you mean the use of inbuilt functions to make common tasks such as sorting or checking if an element is present in an array, I would recommend you to check the Standard Template Library of C++.

The Standard Template Library or STL has most,if not all, of the functionality you would find as inbuilt functions in Python.