I wrote Android for two years.Program, Mainly using Java. Turn IOS this year, engage in cocos2d-x game development, C ++ things are still more complex.
I have never worked on a C ++ project, and I have no project experience. My Understanding of C ++
A regular expression is a language used to describe character formats in a string. It provides descriptors corresponding to repeated characters, replacement characters, and grouping characters. Regular Expressions can be used to search strings or
// Frog recommendation: demonstrate index indicator usage (C #)// This example shows the number of vertices in a continuous natural number. In addition to 1, the prime number can be divisible by 1 and cannot be divisible by others.// Sorry, when I
1. abstract classes and abstract functions are used when we use the factory model today. Many errors occur when we use subclass inheritance, and we have been scolded for n times in our hearts !!!!
Well, I am a new person. I want to stay calm and
1. The operator overload is true for most symbols. The following operators cannot be overloaded :".",".*","::","? :","Sizeof ".
2. Operator Overloading is divided into member function overloading and global function overloading.= "," () ","[] ","->
The struct in C ++ expands the struct in C. It is no longer just a data structure that contains different data types. It has obtained too many functions.
Can struct contain member functions? Yes!
Can struct be inherited? Yes !!
Can struct realize
Document directory
Exception specifications
Standard exceptions
Exceptions provide a way to react to exceptional circumstances (like runtime errors) in our program by transferring control to special functions calledHandlers.To catch exceptions
Original article. Please indicate the source for reprinting. Thank you!Author: Qinglin, blog name: feikong jingdu
In C ++, two operators are rarely used. These two operators are the anti-reference operators:-> * And .*.
The following describes
C ++ calls C library functions
When C calls the library function of C, if the header file is incorrectly defined, a function may exist in the OBJ file but the link fails. the following error occurs:
Undefined reference to xxx
The
C # has two constant types: readonly (runtime constant) and const (compilation constant ), this article compares the two types of features and describes their application scenarios. Working principle readonly refers to the number of running times,
Multi-screen display: A computer display is usually used to display a TV screen. A form displayed on a computer needs to be displayed separately (no form header, no form border) on the TV and can be pulled back to the computer display.
Two display
1. Enter a space character.
In the following code, you need to press the Enter key twice to display it. Because Getline has three parameters, the third parameter is the string Terminator, that is, when Getline encounters this Terminator, it does not
# Include // when using the string class of the C ++ standard library
Using namespace STD; // same as above
# Include
# Include
# Include // it is best to directly convert string and INT types to include,
// Because it is easier to write a
I write a lexical analysis program to complete a very basic C language lexical analysis. I encourage myself
# Include # Include # Include # Include # Include # Include # Include Using namespace STD;
// Used to store the target file nameString
Standard Io Library:
The standard library defines a family of types and supports reading and writing files, control windows, and other devices. It also enables string objects to operate like files. Use inheritance.
Stream: a description that
String function list
Function Name
Description
Begin
Obtains the iterator starting with the string.
End
Obtains the iterator pointing to the end of the string.
Rbegin
Obtain the iterator pointing to
-- Datetime numeric typeSystem. datetime currenttime = new system. datetime ();1.1 take the current year, month, day, hour, minute, secondCurrenttime = system. datetime. now;1.2 get current yearInt year = currenttime. Year;1.3 take the current
Complete analysis of array pointers and pointer arrays in C ++ (Series 1)Select blog from zosatapo
Recently, we often see discussions about array pointers and pointer arrays at airports in forums. This is an indispensable step in learning C ++
One of the problems with object-oriented programming is the so-called "code expansion" feature. To illustrate all possible data types of method parameters, code expansion occurs when you need to overload a method or reload a set of methods. One
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