How to learn libraries | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

How to learn libraries

I’ve just finished the C++ tutorial on SoloLearn, but there are still a lot of libraries that I need to learn in order to master C++. How can I go about doing that? Are there coding challenges online that will guide me to the right libraries to learn?

4th Jun 2018, 2:08 PM
David Leonard-John Fedyniak
David Leonard-John Fedyniak - avatar
2 Answers
+ 3
I would recommend just thinking of a project that might interest you and that uses any libraries you feel like learning and just work through that. You'll get real experience by actually creating something that requires problem solving, debugging, googling, docs reading, etc.
4th Jun 2018, 2:11 PM
Maxwell Anderson
Maxwell Anderson - avatar
+ 1
something that i found beneficial when working with large librarys line vulkan or opengl: remember key methods and work backwards using the autocompletion feature in your ide. example: in vulkan there is a method that creates an instance : vkCreateInstance. it basically takes a struct with parameters and gives you an instance, i have. no idea what structure but visual studio tells me the correct type so i create a structure of that type(VkInstanceCreateInfo) and fill it with appropriate values. what values i need i can see via the autocompletion. and basically i work my way backwards and if i don‘t remember something even with the help of the autocompletion i take a look at the documentation. but i think this method is better than just following a turorial or copy and pasting code from stackoverflow until you have a working program
4th Jun 2018, 3:52 PM
Max
Max - avatar