Say the. NET intermediate language before you speak C + +
The. NET intermediate language can also be understood as a language used internally by Microsoft, where C # code is converted to the Il language by the CLR
, this is the Il language, you can see instance instances, constructors ctor, and even some places can see inheritance. There is no place like the assembly, the only thing is l_0000:ret a little bit like, I am a sweat, in fact, the object-oriented language of high-level language.
Baidu can find different models of the CPU is not all common use of an assembly language, the results found: not
So, what does IL do to identify different types of CPUs? NET Framework JIT role is coming, JIT internal how to do processing I do not know, I think, Microsoft should not write a separate and C as stable language to specifically do the identification
If there is, then the market will be better, but C can well identify the different types of CPUs, in different CPU execution environment will be the same code to the corresponding different models of CPU instructions (that is, the assembly), because the computer can only recognize 0 and 1, even the assembly code is not recognized, Assembly instructions can only be converted to the corresponding binary instructions through the translator in the CPU.
In this, I like everyone, this is not the book said, I have not read such a book, this is just my guess, if a friend knows, please correct, do not know, please don't yell.
Learn C + + just to walk the architect this way, not that I want to abandon C #, completely go C + +, architect This road is very long, need to learn a lot of things. Please support me or follow me along.
=======================================================================
C language is the predecessor of B language, or is a new revision of B language
The first C language standard is ANSI C, published in 1983 Shanda, 1983 has C language
However, everyone said that ANSI is the "National Standardization Association," the English abbreviation, do not come to spray I do not know what ANSI is
The second C language standard was ANSI 89, which was born in 1989
ANSI 89 was adopted by ISO in 1990, and was modified by ISO in 1994, a standard of two (the standard meaning here, is actually a grammar book)
ISO is the so-called "International Organization for Standardization" English abbreviation
The third C language standard is C 95, which is ISO published in 1995 to revise C C language standard
The fourth C language standard is C 99, 1999, ISO published, nothing else to say
The fifth and Sixth C language standards were published by ISO in 2001 and 2004
The Seventh C language standard is C 11, published in 2011 by ISO
Can you imagine how many years C language has developed? 32. This middle can be based on the standard to make how many compilers, so until now, C + + compiler cannot count, and the use of the countless.
The problem is that the compilers do not fully support the latest standards, including Microsoft's VC + +, does not fully support the C11 standard, and some of the syntax is Microsoft's own tinkering.
However, with no OVA, vs unsupported standards are often infrequently used, and useful Microsoft has been tinkering into the compiler. Accordingly, other people do the same thing with compilers. After our main study is VC + +, analysis of VC + + compiler.
Sounds tall on ah, feel like still difficult appearance, I rub, what does this have? will use VC + +, also afraid to play the other compiler? So as long as learning VC is enough, other compilers slowly learn.
Everybody speed up vs, I wait for everyone.
Tomorrow begins to play with the instructions. First, the operating instructions of the various systems
CMD for Windows systems (Command line tool):
Shutdown-s-T 600: Auto power off after 600 seconds
Shutdown-a: can cancel timer shutdown
Shutdown-r-T 600: Indicates automatic restart after 600 seconds
Eudcedit: The word-font program
Firewall.cpl:Windows Firewall
MSTSC: Remote Desktop Connection
SHRPUBW: Create a shared folder
Timedate.cpl: Date and time
NET user username password/add: Build user
NET user guest/active:yes: Activating the Guest user
NET User: See which users
NET user account name: View the properties of an account
net localgroup Administrators user name/add: Add "user" to administrator to have Administrator privileges
NET start: See which services are turned on
Net START Service Name: Open service (e.g.: net start Telnet, net start schedule)
NET stop service Name: Stop a service
NET time Destination IP: View the offset
NET share: Viewing locally-enabled shares
NETSTAT-A: See which ports are open, common Netstat-an
Netstat-n: Check the network connection of port, common Netstat-an
Nbtstat-a IP Address: 136 to 139 if one of the ports is open, you can check the name of the user who recently logged in.
Tracert-parameter IP (or computer name): Trace Route (packet), Parameter: "-W number" for setting the time-out interval.
Ping IP address (or domain name): Send the default size of 32 bytes of data to the other host, parameters: "-l[space" packet size ";"-N Send data Number ";"-T "refers to always ping.
PING-T-L 65500 IP: Ping of Death (send a file larger than 64K and always ping as a ping of death)
Dir: View files, Parameters:/q Display files and directories belonging to the system which user,/T:C display file creation time,/t:a show the last time the file was accessed,/t:w last modified time
Find filename: Finding a file
Title Name: Change the cmd window title name
Color value: Sets the cmd console foreground and background color; 0 = black, 1 = blue, 2 = green, 3 = Light green, 4 = red, 5= violet, 6 = yellow, 7 = white, 8 = Gray, 9 = blue, a= green, b= light aqua, c= red, d= light purple, e= yellow, f= bright white
MD Directory Name: Create directory
CD: Return to upper-level directory
D:: Switch to C drive
CD folder name: Access folder
Linux Instructions:
Date: Displays the system date
SHUTDOWN-H now shut down system (1)
Init 0: Shut down the System (2)
Telinit 0: Shut down the System (3)
Shutdown-h hours:minutes &: Shut down the system at the scheduled time
Shutdown-c: Cancel to shut down the system at a predetermined time
Shutdown-r Now: Restart (1)
Reboot: Restart (2)
Logout: Logout
Cd/home: Enter '/home ' directory '
Cd.. : Returns to the top level directory
Cd.. /.. : Returns to the top level two directory
CD: Enter the personal home directory
CD ~user1: Enter the personal home directory
CD-: Return to the directory where you Last
PWD: Show work path
ls: View the files in the directory
Ls-f: Viewing files in a directory
Ls-l: Displaying detailed information about files and directories
Ls-a: Show hidden files
LS *[0-9]*: Displays the file name and directory name containing the number
Tree: Displays files and directories starting with the root directory (1)
Lstree: Displaying files and directories starting with the root directory tree (2)
mkdir dir1: Create a directory called ' Dir1 '
mkdir dir1 DIR2: Create two directories at a time
Mkdir-p/TMP/DIR1/DIR2: Creating a directory tree
Rm-f file1: Delete a file called ' File1 '
RmDir dir1: Delete a directory called ' Dir1 '
RM-RF dir1: Delete a directory called ' Dir1 ' and delete its contents at the same time
RM-RF dir1 DIR2: Delete Two directories and their contents at the same time
MV Dir1 New_dir: renaming/Moving a directory
CP file1 file2: Copy a file
CP dir/*. : Copies all files in a directory to the current working directory
Cp-a/tmp/dir1. : Copy a directory to the current working directory
Cp-a dir1 dir2: Copy a directory
Touch-t 0712250000 file1: Modify the timestamp of a file or directory-(YYMMDDHHMM)
Today is playing here, tomorrow start playing the compiler and operating system, as well as operating system instructions, good night!
Introduction to C + +