The first intimate contact with C ++ was a junior or senior. It was a failed contact. C ++ is obscure to me.
Then switched to C #.
Now I turn back to C ++ and find that even if I have C, C ++ is very obscure with the basic support of C. At
"C ++Talking about the three, "the devil once pointed outC ++OfProgrammingParadigm can be divided into ADT + PP, GP, ooThree directions.
1,ADT + PPADT: abstract data type; abstract data type
PP: Procedure programme; process-oriented programming
1. A struct is a structure that can contain different data types. It is a data type that can be defined by itself. Its Features and arrays are mainly different:
First, the struct can declare different data types in a structure ,;
Second, struct
I. Application folder operations
1. Create an installation project named "test package"
Remember the path here. Otherwise, you won't be able to find the installation package after the installation package is finished!
2. Three folders will appear
Carbide. c ++ shortcuts
Edit relatedCTRL + scroll Ctrl + scroll up and down in the editing area (scroll slider)CTRL + ← Ctrl + → move a word forward and backwardCTRL + Shift + ↓ Ctrl + Shift + ↑ move a paragraph up and down (you can easily scroll
"^" Is an exclusive OR operator in C #. It can be understood as an exclusive operation.
The calculation rules are as follows:
Bytes --------------------------------------------------------------------------------------------------
True ^ false
Before creating an image, you must first reference the registration function gdal. allregister () of the gdal library ()
1: gdal-supported image formats
First, you must specify the image formats supported by gdal,
The image formats supported by
Document directory
Source program download
1. Create an empty form
2. Join the earth:
3. rotating the earth
4. Joining the moon
5. Interaction with the mouse
Vi. Conclusion
Source program download 1. Create an empty form to create a project,
It is easier to draw a line on an image than to draw a frame. Linear control is implemented by setting the pen./** //
/// Draw a line on the Image
///
/// original graph
/// start point
/// termination point
/// line color
/// line width
1. Obtain the motherboard parameters:
Public static void mainboard (out string [] manufacturer, out string [] Model){Managementobjectsearcher searcher = new managementobjectsearcher ("select * From win32_baseboard ");Manufacturer = new string
Step 2: Data Table preprocessing////// Obtain the conversion statement from the database field to the type based on the variable type //////Private Static void initconvertmethod (fieldmodel field) {Switch (field. vartype) {Case "string": field.
Public struct rect{Public int left;Public intTop;Public int right;Public int bottom;}Public struct appbardata{Public int cbsize;Public int hwnd;Public int ucallbackmessage;Public intUedge;Public rect RC;Public int lparam;}
Public const int
In short, static_cast <> will try to convert, for example, float-to-integer, while reinterpret_cast <> simply changes the compiler's intention to reconsider that object as another type.
Float F = 123.4;Int I = (INT) F; // correctInt J =
C's design principle is to use functions as the component module of the program. The main () function is called the main function, and a C program is always executed from the main () function.
1. Form of main () function
In the latest c99 standard,
Copy constructor: only one form parameter is used, and the form parameter is a reference to the object of this type (commonly used for const modification). Such constructor is called a copy constructor. Like the default constructor, the copy
++ Static data member/static function member SummaryI. static data members
1. Summary of several errors
Class
{
Static int;
Void test ()
{
Int B = A; // error. The system prompts that a cannot be found because a is not defined.
}
} Class
{
Static
The application passed to the target hardware is in the form of a Symbian installation system (. SIS) file .. The sisfile is a compressed archive file that contains all the files required for installation and the installation options. The Symbian
On the client, an RTX user sends messages to another RTX user!
My solution: deploy a WCF Service or WebService Service on the RTX server, and then the program can call the service on the client.
1, C #(4 DLL required for the server)
InterOP.
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