logo头像
Snippet 博客主题

Visual Studio

C++ Language Reference

Lexical conventions

Tokens (C++)

A token is the smallest element of a C++ program that is meaningful to the compiler.

String and character literals (C++)

User-Defined Literals (C++)

Basic concepts

Declarations and Definitions (C++)

Definitions specify what code or data the name describes.
The compiler needs the definition in order to allocate storage space for the thing that is being declared.(空间放变量?)
The definition of an object causes allocation of storage and appropriate initializations for that object.(空间放值)

[Overview of Declarators]

Declarators are the components of a declaration that specify names of objects or functions.

Header files (C++)

不放到头文件的: unnamed namespaces 等.