您现在的位置:网站首页答辩论文计算机毕业设计其他计算机专业毕业资源

[计算机] c语言手册

  • 简介:C# is a simple, modern, object oriented, and type-safe programming language derived from C and C . C# (pronounced “C sharp”) is firmly planted in the C and C family tree of languages, and will immediately be familiar to C and C p...
    • 请与管理员联系购买资料 QQ:5739126
  • 论文简介
  • 相关论文
  • 论文下载
目录 1. Introduction1
1.1 Hello, world1
1.2 Automatic memory management2
1.3 Types4
1.4 Predefined types5
1.5 Array types7
1.6 Type system unification9
1.7 Statements10
1.7.1 Statement lists and blocks10
1.7.2 Labeled statements and goto statements10
1.7.3 Local declarations of constants and variables11
1.7.4 Expression statements11
1.7.5 The if statement11
1.7.6 The switch statement12
1.7.7 The while statement12
1.7.8 The do statement13
1.7.9 The for statement13
1.7.10 The foreach statement13
1.7.11 The break statement and the continue statement14
1.7.12 The return statement14
1.7.13 The throw statement14
1.7.14 The try statement14
1.7.15 The checked and unchecked statements14
1.7.16 The lock statement14
1.8 Classes14
1.9 Structs15
1.10 Interfaces15
1.11 Delegates17
1.12 Enums18
1.13 Namespaces18
1.14 Properties19
1.15 Indexers20
1.16 Events21
1.17 Versioning22
1.18 Attributes24
2. Lexical structure27
2.1 Phases of translation27
2.2 Grammar notation27
2.3 Pre-processing28
2.3.1 Pre-processing declarations28
2.3.2 #if, #elif, #else, #endif29
2.3.3 Pre-processing control lines30
2.3.4 #line31
2.3.5 Pre-processing identifiers31
2.3.6 Pre-processing expressions31
2.3.7 Interaction with white space32
2.4 Lexical analysis33
2.4.1 Input33
2.4.2 Input characters33
2.4.3 Line terminators33
2.4.4 Comments33
2.4.5 White space33
2.4.6 Tokens33
2.5 Processing of Unicode character escape sequences34
2.5.1 Identifiers34
2.5.2 Keywords36
2.5.3 Literals36
2.5.3.1 Boolean literals36
2.5.3.2 Integer literals36
2.5.3.3 Real literals37
2.5.3.4 Character literals38
2.5.3.5 String literals39
2.5.3.6 The null literal40
2.5.4 Operators and punctuators40
3. Basic concepts41
3.1 Declarations41
3.2 Members43
3.2.1 Namespace members43
3.2.2 Struct members43
3.2.3 Enumeration members44
3.2.4 Class members44
3.2.5 Interface members44
3.2.6 Array members44
3.2.7 Delegate members44
3.3 Member access44
3.3.1 Declared accessibility44
3.3.2 Accessibility domains45
3.3.3 Protected access47
3.3.4 Accessibility constraints48
3.4 Signatures and overloading49
3.5 Scopes50
3.5.1 Name hiding52
3.5.1.1 Hiding through nesting52
3.5.1.2 Hiding through inheritance53
3.6 Namespace and type names54
3.6.1 Fully qualified names55
4. Types57
4.1 Value types57
4.1.1 Default constructors58
4.1.2 Struct types59
4.1.3 Simple types59
4.1.. 参考资料 c语言手册 简单介绍 谢谢
C# is a simple, modern, object oriented, and type-safe programming language derived from C and C . C# (pronounced “C sharp”) is firmly planted in the C and C family tree of languages, and will immediately be familiar to C and C programmers. C# aims to combine the high productivity of Visual Basic and the raw power of C .
C# is provided as a part of Microsoft Visual Studio 7.0. In addition to C#, Visual Studio supports Visual Basic, Visual C , and the scripting languages VBScript and JScript. All of these languages provide access to the Next Generation Windows Services (NWGS) platform, which includes a common execution engine and a rich class library. The .NET software development kit defines a "Common Language Subset" (CLS), a sort of lingua franca that ensures seamless interoperability between CLS-compliant languages and class libraries. For C# developers, this means that even though C# is a new language, it has complete access to the same rich class libraries that are used by seasoned tools such as Visual Basic and Visual C . C# itself does not include a class library.
查看评论 已有0位网友发表了看法
  • 验证码: