Is learning a standard C ++ library a good idea?

I am a beginner C ++ programmer, and I am still learning the basics, but I have a simple question about the standard library and STL in C ++, I think this is not from The Core language, I mean this library just to simplify programming and portability, and this means that if I learn and master the rules in C ++, I can create my own, I mean, in general, this calling experience by practicing. Example: cout is a standard output function, but if I want to program GUI software for Windows, for example, I will never just look at it !! My question is: is this true? And if not, then why?

+3
source share
4 answers

Actually, you cannot say that he is a C ++ programmer without a good knowledge of the standard library. And writing your own is a very bad idea. I highly recommend that you get a copy of Nikolai Josuttis ’s book and accept the strength that it will give you. You will learn, for example, that threads are not only good for doing I / O in console applications.

And maybe you should also take a look at the Good idea / bad idea, should I redefine most of C ++? , which discusses the pros and cons of writing your own standard library.

+8
source

, ++ " ", , , , .

. , ? , , , . , , , , . , .

+1

, std:: cout GUI, . cout, std:: basic_ostream .

+1
source

You will not use everything from STL, but MAN are the classes of strings and containers, and sometimes the algorithms are useful!

+1
source

Source: https://habr.com/ru/post/1735791/


All Articles