vc c课件程序设计.pptxVIP

  • 0
  • 0
  • 约1.73万字
  • 约 93页
  • 2021-12-07 发布于北京
  • 举报
Chapter 8. Scope, Lifetime, and More on FunctionsScope(作用域)C++ scope categories:Class scope. Local scope. Global scope.Namespace scope.Scope of Identifierthe scope of an identifier (or named constant) means the region of program code where it is legal to use that identifier for any purpose Local Scope vs. Global Scopethe scope of an identifier that is declared outside of all namespaces, functions and classes extends from point of declaration to the end of the entire file containing program code the scope of an identifier that is declared inside a block (this includes function parameters)

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档