Scattered records of STL Learning (constantly updating), and stl learning is constantly updated
I write what I use, so I don't pay too much attention to typographical layout. I will sort it out after I write too much:
1: vector <int> V, V. pop_back () the last element is displayed.
2: The iterator cannot be set for the priority queue because there is no
3:
# Include <bitset> // bitwise operation
String str2 (str,); // truncate the str string Array 0 ~ Element 7, which comes with the string function bitset <8> aaa (str2); // bitset <n> is also in stl, the usage is to set aaa to take up eight memory units (1 byte), where the first eight bits of str are 01010. compress eight bytes into one byte char greatch = (char) aaa. to_ulong (); // then convert aaa to char type to a byte, that is, the previous eight bytes are converted into one byte through binary compression. erase (); // Delete the first eight digits of str
5: