Learning C ++ books

In fact, I don't know which book I want to use to learn the best C ++ books. I don't have a personal opinion. I think there are quite a lot of C ++ learning books recommended on the Internet, let me sum up these recommendations. When I want to read

Print to determine memory usage changes

This code is used to obtain the process memory usage in the class constructor, and the amount of changes in the process memory usage is printed during the analysis. Class CAutoMem{Public:CAutoMem (char * vInfo): strMem (vInfo ){Init ();}~ CAutoMem ()

C ++ STL video tutorial

C ++ STL tutorial Score class of 14-ScoreManager 13-ScoreManger Score Management System 12-insert and delete a vector container 11-vector container iterator 10-Modify the vector container 09-Overview of vector containers Owner of 08-C ++ STL

9.2.2 quick sorting

QuickSort is an optimization algorithm for Bubble sorting. Basic Idea: sort the records to be sorted into two separate parts. the keywords of some records are smaller than those of other records, then, the two records can be sorted to achieve the

9.5 Merge Sorting

Merge Sorting is a sort method implemented using the merge idea. The principle is that assume that the initial sequence contains n records, it can be regarded as n ordered subsequences. The length of each subsequence is 1 and then merged by two, [n/2

8.3 sequential table search

If we just put the books on the shelf, it is still difficult to find a book, that is, to search for the table in the order of section 8.2, but if we are sorting out the shelves, it is easier to find a book by sorting the books by the name in pinyin.

8.4 linear search index

Search for its storage location in the index table based on the keyword, and then read the record from the storage location. Each index item contains at least the location information of the keyword and its corresponding record in the memory. 8.4.1

8.7 hash table)

For index search or continuous table search, you must compare keywords and search values. Do you need to compare them? You can use keywords to obtain the address corresponding to the keywords, this is the hash query. Storage location = F (keyword );

Chinese version of Essential C ++ -- outside of the Chinese banquet

Outside the Chinese banquet C ++ Primer, written by Stanley B. Lippman, is the best textbook for C ++. However, ten years later, following the C ++ Primer version 1237 on page 1, Lippman actually wrote the 3rd page of Essential C ++. With the

Differences and links between lib and dll files

What is the relationship between lib and dll (19:44:37)(1) lib is required during compilation and dll is required during runtime.If you need to complete source code compilation, it is enough to have lib.If dynamic connection is also enabled, dll is

C language-Use of module programming and extern

Modular programming: We can all see that the programs written by others are neat, standardized, and readable. Not all programs and functions unload a main file, but the entire project is subdivided clearly below, high portability. Modularize a

Use of debugDraw in Cocos2d-x

1. Find the document: cocos2d-x and GLES-Render.h in the corresponding GLES-Render.cpp inventoryCopy them to your project and reference them;2. Add these when creating the worldGLESDebugDraw * _ debugDraw = new GLESDebugDraw (PTM_RATIO );World->

Possible QThread Process Problems

First, let's talk about the background of the story. When we click a button or something like a control, we may want it to perform complicated operations, however, we do not want the program to be stuck there and wait for the execution of this

Reading Notes in C ++ meditation-Reflection on classes

The concept of class is nothing more than a collection of data and methods. Why have I been confused? Why not?The class concept in C ++ has four special functions. People like me who have C experience may not be able to adapt at the moment, they are

Compilation question excerpt

1. mingw installation and configuration 1. C: \ MinGW \ msys/1.0 \ etc \ fstab Copy fstab. sample content Add a row C:/MinGW/mingw 2. C: \ MinGW \ msys/1.0 \ etc \ profile -> If [$ MSYSTEM = MINGW32]; then Export PATH = ".:/usr/local/bin:

Chapter 2 generic algorithms

  1. Introduction Containers in the standard library define very few operations. Instead of adding a large number of functional functions to the container, the standard library provides a set of algorithms that do not depend on the specific

Load an image in BMP format

So far, we have created only one window and nothing else. This time, we will display images in the window. This is the most common function of the video subsystem. The SDL video subsystem can only load bmp format bitmaps. The call function is

Implementation principle of Polymorphism

A: What is the principle of polymorphism in C ++? Q: It is implemented through the late binding technology. The implementation principle is as follows: 1. The function in the base class contains the virtual keyword, indicating that the method

Maximum matching of a bipartite graph (Hungary algorithm)

1. bipartite graph and maximum matching What is a bipartite graph? A bipartite graph is also called a Binary Graph. It is a special model in graph theory. Set G = (V, E) to an undirected graph. If vertex V can be divided into two subsets (A, B) that

Write a simple C ++ Program

Write a simple C ++ Program Each C ++ program contains one or more functions.Main. The operating system calls main to run the C ++ program. The following is a very simple main function, which does nothing but returns a value to the operating system:

Total Pages: 275 1 .... 207 208 209 210 211 .... 275 Go to: GO

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.