| |
|
开发:
C++知识库
Java知识库
JavaScript
Python
PHP知识库
人工智能
区块链
大数据
移动开发
嵌入式
开发工具
数据结构与算法
开发测试
游戏开发
网络协议
系统运维
教程: HTML教程 CSS教程 JavaScript教程 Go语言教程 JQuery教程 VUE教程 VUE3教程 Bootstrap教程 SQL数据库教程 C语言教程 C++教程 Java教程 Python教程 Python3教程 C#教程 数码: 电脑 笔记本 显卡 显示器 固态硬盘 硬盘 耳机 手机 iphone vivo oppo 小米 华为 单反 装机 图拉丁 |
-> C++知识库 -> C++学习1——英文环境学习 -> 正文阅读 |
|
[C++知识库]C++学习1——英文环境学习 |
找到资源网站 C++ reference(网址:en.cppreference.com) Language ? ? ? ? Basic concepts ? ? ? ? declaration, translation, main function, keywords, identifiers, comments, escape sequences ? ? ? ? objects, references, structured bindings, functions, enumerators, types, templates, template specializations, namespaces, parameter packs, statements, expressions, name lookup, non-static data members. ? ? ? ? Keywords ? ? ? ? these keywords are not available for re-definition or overloading. ? ? ? ? alignas, alignof, and, and_eq, asm, atomic_cancel, atomic_commit, atomic_noexcept, auto, ????????bitand, bitor, bool, break, case, catch, char, char8_t, char16_t, char32_t, class, compl, ????????concept, const, consteval, constexpr, constinit, const_cast, cotinue, co_await, co_return, ????????co_yield, decltype, default, delete, do, double, dynamic_cast, else, num, explicit, export, ????????extern, false, float, for, friend, goto, if, inline, int, long, mutable, namespace, new, noexcept, ????????not, not_eq, nullptr, operator, or, or_eq, private, protected, public, reflexpr, register, ????????reinterpret_cast, requires, return, short, signed, sizeof, static, static_assert, static_cast, ????????struct, switch, synchronized, template, this, thread_local, throw, true,try, typedef, typeid, ????????typename, union, unsigned, using, virtual, void, volatile, wchar_t, while, xor, xor_eq ? ? ? ? Preprocessor ? ? ? ? The result of preprocessing is a single file which is then passed to the actual compiler. ? ? ? ? format as follos: ? ? ? ? # character? ? ? ? ? preprocessing instruction ( one of define, undef, include, if, ifdef, else, elif, endif, line, error, pragma) ? ? ? ? line break?
????????Capbilities ? ? ? ? conditionally? compile of parts of source file (controlled by directive #if, #ifdef, #ifndef, #else, #elif and #endif) ? ? ? ? replace text macros while possibly concatenating or quoting identifiers ( controlled by directives #define and #undef, and operators # and ##) ? ? ? ? include other files (controlled by directive? #include and checked with? has_include ? ? ? ? cause an error (controlled by #error) ? ? ? ? The following aspects of the preprocessor? can be controlled: ? ? ? ? ? ? ? ? implementation defined behavior (controlled by directive #pragma and operator _Pragma. In addition, some compilers support t(to varying degrees) the operator _Pragma as a non-standard extension. ? ? ? ? ? ? ? ? file name and line information avaliable to the preprocessor (controlled by directive #line) ? ? ? ? Expressions? ? ? ? ? An expression is a sequence of opereators and their operands, that specifies a computation. Each C++ expression is characterized by two independent properties: A type and a value category. ? ? ? ? value categories; order of evaluation? ? ? ? ? Operators; Conversions; Memory allocation; Other ? ? ? ? Primary expressions (Literals, Id-expressions, Lambada-expressions, Fold-expressions, Requires-expressions); Literals ( integer literals, character literals, floating-point literals, string literals, boolean literals, nullptr, user-defined literals); Unevaluated expressions;Discard expressions. ? ? ? ? Declarations ? ? ? ? ? ? ? ?Declarations introduce names into the C++ program. A declaration is one of the following: ? ? ? ? ? ? ? ? Function definition; Template declaration; Explicit template instantiation; Explicit template specialization; Namespace definition; Linkage specification; Attribute declaration; Empty declaration; A function declaration without a decl-specifier-seq; block declaration ????????Initialization ? ? ? ? Initization of a variable provides its initial value at the time of construction. ? ? ? ? Non-local variables; ( static initialization, Dynamic initialization) 经过一番学习,感想是优点在于懂得了并深刻理解了很多词汇深层次的意思,但是缺点就是感觉没有学到除了单词之外的其他东西。当然缺点也有可能是因为目前还没有学到很多与以前不同的知识所致。 ? ? ? ?? ? |
|
C++知识库 最新文章 |
【C++】友元、嵌套类、异常、RTTI、类型转换 |
通讯录的思路与实现(C语言) |
C++PrimerPlus 第七章 函数-C++的编程模块( |
Problem C: 算法9-9~9-12:平衡二叉树的基本 |
MSVC C++ UTF-8编程 |
C++进阶 多态原理 |
简单string类c++实现 |
我的年度总结 |
【C语言】以深厚地基筑伟岸高楼-基础篇(六 |
c语言常见错误合集 |
|
上一篇文章 下一篇文章 查看所有文章 |
|
开发:
C++知识库
Java知识库
JavaScript
Python
PHP知识库
人工智能
区块链
大数据
移动开发
嵌入式
开发工具
数据结构与算法
开发测试
游戏开发
网络协议
系统运维
教程: HTML教程 CSS教程 JavaScript教程 Go语言教程 JQuery教程 VUE教程 VUE3教程 Bootstrap教程 SQL数据库教程 C语言教程 C++教程 Java教程 Python教程 Python3教程 C#教程 数码: 电脑 笔记本 显卡 显示器 固态硬盘 硬盘 耳机 手机 iphone vivo oppo 小米 华为 单反 装机 图拉丁 |
360图书馆 购物 三丰科技 阅读网 日历 万年历 2024年12日历 | -2024/12/26 16:27:48- |
|
网站联系: qq:121756557 email:121756557@qq.com IT数码 |
数据统计 |