`
talin2010
  • 浏览: 503296 次
  • 性别: Icon_minigender_1
  • 来自: 河北
社区版块
存档分类
最新评论

15. Statements

阅读更多
programmed in C and C++. end note]
statement:
labeled-statement
declaration-statement
embedded-statement
embedded-statement:
block
empty-statement
expression-statement
selection-statement
iteration-statement
jump-statement
try-statement
checked-statement
unchecked-statement
lock-statement
using-statement
The embedded-statement nonterminal is used for statements that appear within
other statements. The use of
embedded-statement rather than statement excludes the use of declaration
statements and labeled statements
in these contexts. [Example: The code
void F(bool b) {
if (b)
int i = 44;
}
results in a compile-time error because an if statement requires an
embedded-statement rather than a
statement for its if branch. If this code were permitted, then the variable
i would be declared, but it could
never be used. (Note, however, that by placing i.s declaration in a block,
the example is valid.) end
example]
分享到:
评论

相关推荐

    org.eclipse.jdt.core_3.5.2.v_981_R35x

    at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) at org.junit.internal.runners....

    Microprocessor Design Vhdl.pdf

    Logic Gates and Circuit Diagrams................................................................................................................15 2.9 Example: Designing a Car Security System..........

    Intro to ABAP-----一套挺有意思的abap教材

    ppt,全英文,图比较有意思.目录: 01. Introduction to ABAP 02. Introduction to ABAP Programming 03. Simple Output Statements 04. Data Declarations 05. Retrieving Data with ...15. Using the SQL Trace Tool

    TRI TPG 语法

    Analog Test Statements..................................................................................... 16 Digital Testing ............................................................................

    Microprocessor Design Principles and Practices With VHDL

    2.8 Logic Gates and Circuit Diagrams................................................................................................................15 2.9 Example: Designing a Car Security System.......

    Sql for mysql

    3.5 Downloading SQL Statements from the Web Site . . . . . . . . . . 38 3.6 Ready? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 CHAPTER 4 SQL in a Nutshell ...

    Google C++ International Standard.pdf

    15 4.8 Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 5 Lexical conventions 22 5.1 Separate translation . . . . . . . . . . . . . . . . . . . . ....

    MySQL 5.6 Reference Manual

    Table of Contents Preface, Notes, Licenses . . . . . . . . ....1. Licenses for Third-Party Components ....1.1. FindGTest.cmake License ....1.2. LPeg Library License ....1.3. LuaFileSystem Library License ....

    Thinking in Java 4th Edition

    Simpler print statements ..... 63 Using Java operators ........... 64 Precedence ........................... 64 Assignment .......................... 65 Aliasing during method calls ....... 66 ...

    IDL英文原版(很好的一份IDL教材)

    3.5 Simple IDL statements......................................22 3.6 Getting information........................................25 3.7 Variables..............................................26 3.8 ...

    C.in.a.Nutshell.2nd.Edition.1491904755

    Chapter 15. Preprocessing Directives Part II. Standard Library Chapter 16. The Standard Headers Chapter 17. Functions at a Glance Chapter 18. Standard Library Functions Part III. Basic Tools Chapter...

    SystemVerilog Reference Manual 3.1a(中英文版)+最新SV IEEE 标准

    Table of Contents Section 1 Introduction to SystemVerilog ...................................................................................................... 1 Section 2 Literal Values................

    C++ 标准 ISO 14882-2011

    Contents Contents iii List of Tables xi List of Figures xv 1 General 1 1.1 Scope . . . . ....1.2 Normative references ....1.3 Terms and definitions ....1.4 Implementation compliance ....1.5 Structure of this ...

    3.C++.Programming.Language.4th.Edition.2013

    9. Statements ................................................................................... 225 10. Expressions ................................................................................. ...

    thinkCSpy.pdf

    xviii Contents 2.7 Orderofoperations......................... 16 2.8 Operationsonstrings........................ 17 2.9 Composition............................. ...Comments.............................. ...

    Learn.C++.Programming.Language.Become.A.Complete.C++.Programmer.pdf

    Chapter 15. Source Files and Programs Part III: Abstraction Mechanisms Chapter 16. Classes Chapter 17. Construction, Cleanup, Copy, and Move Chapter 18. Overloading Chapter 19. Special Operators ...

    iBATIS 帮助文档

    Mapped Statements.................................................................................................................18 Statement的类型.......................................................

    Matlab - Math Problems solving with Matlab Programming.pdf

    8.4 Selection Statements in User-Defined Functions . . . . . . . . . . . . . . . . . . . . . 169 8.5 Update Processes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171 ii...

    Python 2.4 Quick Reference Card (Letter) (2007).pdf

    Statements.........................................1 Blocks....................................................1 Assignment Shortcuts...........................1 Console & Interactive Input/Output.......

Global site tag (gtag.js) - Google Analytics