2015-03-05

Source: Internet
Author: User

The main thing today is the C + + STL, such as List,multiset,set,map,multimap,stack,deque,queue,bitset,hash_map,hash_set, Priority_queue, these are some of the data structures that C + + has helped us achieve, and today we have experimented with most of these data structures, and we have experimented with the objects of our own construction. today also read about the algorithm, that is, <algorithm>, I have to say, this aspect is really weaker, because the beginning is to do Java, and the implementation of Java is not how to control, So in this header file part of the algorithm seems to be no problem, and there is a part of the problem, but we slowly, the internal strength of the algorithm is not overnight can be practiced out, I intend to a few days, data structures and algorithms, at least to come again, at least in a while can interview ah. today also read about the C + + string of some basic operations, the personal feel that this is very good understanding, and there are documents, when we want to use the time to check the line, check that we remember. today also saw the lambda expression about c++11 [] ()->return{}, in which [] I think is the question of referring to external variables, equals sign (=) is the copy mechanism, take address symbol (&) is the reference way to access external variables, When a single write is also with & is a reference, ordinary writing is a copy mechanism. the value inside the parentheses is the parameter, which is the same as the parameters of the normal function. The Renturn that the arrow zip is pointing to is the return value type of the function, which means that this is the function that defines the return value. The last curly brace is the function body, the function of the concrete to achieve what, to do everything is written here.
come here today, tomorrow is ready to crack that thing, pit Dad's customer service Ah, have paid for a registration file, now for the notebook, the machine code is changed, and he asked for two days of the code, did not talk to me, this must be forcing me to use OD to the compulsory untie ah, I go to brush my teeth, then go to sleep, tomorrow, tomorrow is mainly to do some common problems, and take this opportunity to review C + + for COCOS2DX preparation.

2015-03-05

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.