When I was a beginner, I searched for it for many years, but nothing satisfied me. Until I found this website:
http://www.cplusplus.com/
You can go to this website and enter string, vector, printf, etc. to search. There are explanations and sample codes for all.
The website is in English, but the content is comprehensive and accurate, making it an authoritative reference. It doesn’t matter if you don’t understand the English instructions. You can understand how to use the sample code package.
P.S. There is really no similar website in Chinese, let alone chm. There are various chm in Chinese. I have never seen a good one in my impression.
Reference materials in chm format are rarely used. If you are talking about general-type materials, they are usually in pdf format. 1) C++ primer 2) The C++ programming 3) Effective C++ 4) C++ Std library
Among them, 1, 3, and 4, I think the mainstream translations are all good. 2. I have read Senior Qiu’s version before, and the translation is very poor (I don’t mean to slander Senior Qiu. To be honest, the conventions in it are well established. The usage is completely inconsistent with the mainstream name. For example, inline function is translated into online function. I can only say that Qiu’s descendants are too disappointing). So, if you can read English, stick to it, you’ll get used to it. Personally, I think the most useful class library in C++ is Qt (personal opinion). The corresponding Qt Assistant information search and examples are very rich. . I have also used both boost and ACE. The former is too new and very picky about compilers, while the latter is rarely used. Qt’s reference materials are at least the most clearly written among the C++ versions I’ve seen, better than MSDN
@casheywen added a Chinese one, it is actually multi-lingual.
http://zh.cppreference.com/
Looking at these reference manuals, you can pay attention to the similarities and differences between different versions of language standards. Develop good coding habits.
When I was a beginner, I searched for it for many years, but nothing satisfied me. Until I found this website:
http://www.cplusplus.com/
You can go to this website and enter
string
,vector
,printf
, etc. to search. There are explanations and sample codes for all.The website is in English, but the content is comprehensive and accurate, making it an authoritative reference. It doesn’t matter if you don’t understand the English instructions. You can understand how to use the sample code package.
P.S. There is really no similar website in Chinese, let alone
chm
. There are variouschm
in Chinese. I have never seen a good one in my impression.If you have a mac, then try Dash, otherwise you usually just use PDF or online documents
Reference materials in chm format are rarely used. If you are talking about general-type materials, they are usually in pdf format.
1) C++ primer
2) The C++ programming
3) Effective C++
4) C++ Std library
Among them, 1, 3, and 4, I think the mainstream translations are all good. 2. I have read Senior Qiu’s version before, and the translation is very poor (I don’t mean to slander Senior Qiu. To be honest, the conventions in it are well established. The usage is completely inconsistent with the mainstream name. For example, inline function is translated into online function. I can only say that Qiu’s descendants are too disappointing).
So, if you can read English, stick to it, you’ll get used to it.
Personally, I think the most useful class library in C++ is Qt (personal opinion). The corresponding Qt Assistant information search and examples are very rich. .
I have also used both boost and ACE. The former is too new and very picky about compilers, while the latter is rarely used.
Qt’s reference materials are at least the most clearly written among the C++ versions I’ve seen, better than MSDN
@casheywen added a Chinese one, it is actually multi-lingual.
http://zh.cppreference.com/
Looking at these reference manuals, you can pay attention to the similarities and differences between different versions of language standards. Develop good coding habits.
c++ primer plus, I think it is very comprehensive and easy to read. It is a good reference book
for reference: Dash for macOS | Zeal for Linux|Win
for books: <Effective C++>