2021年5月20日 星期四

讀書心得 - C++ Primer (5th Edition) - Chapter 4 (3) - 常用詞彙

常用詞彙

  • arithmetic conversion
    A conversion from one arithmetic type to another. In the context of the binary arithmetic operators, arithmetic conversions usually attempt to preserve precision by converting a smaller type to a larger type (e.g., integral types are converted to floating point).
  • associativity
    Determines how operators with the same precedence are grouped. Operators can be either right associative (operators are grouped from right to left) or left associative (operators are grouped from left to right).
  • cast
    An explicit conversion.
  • compound expression
    An expression involving more than one operator.
  • expression
    The lowest level of computation in a C++ program. Expressions generally apply an operator to one or more operands. Each expression yields a result. Expressions can be used as operands, so we can write compound expressions requiring the evaluation of multiple operators.

Related Posts:

  • 讀書心得 - C++ Primer (5th Edition) - Chapter 2 (2) - Const 修飾詞 : Const     如果我們想要一個不可被改變的參數,這時就會需要這個修飾詞 ( Qualifier ) const。 const int bufSize = 512; // input buffer size bufSize = 1024; // error: attempt to write to const object Const + Reference  … Read More
  • JQuery - $( document ).ready() JQuery - $( document ).ready() 鑒於 $( document ).ready() 有縮寫,導致初學者如我看不懂,這裡紀錄一下。 基本版本 $( document ).ready() 基本上是等 Document Object Model ( DOM ) 好了後,可以執行 JavaScript code 時啟動。另外常見的 $( window ).on( "load", funct… Read More
  • 讀書心得 - C++ Primer (5th Edition) - Chapter 2 (3) - Type Aliases Type Aliases     創造資料型態的同義詞,通常是用 typedef 來去實現。 typedef double wages; // wages is a synonym for double typedef wages base, *p; // base is a synonym for double, p for double* auto     寫程式常會有想要一個 v… Read More
  • 讀書心得 - C++ Primer (5th Edition) - Chapter 2 (1) - Primitive Types C++ 原生內建的資料型態 ( Primitive Types )     C++ 定義了一些算術用的資料型態 ( Arithmetic Types ) 和一個特殊的資料型態 void。Arithmetic Types : Integer, Character, Boolean, Floating Point, Double Floating Point, Wide Character。     下面為一… Read More
  • Google API 筆記總覽 Python Google API - Python 學習筆記 Google API - Python 學習筆記 - Upload post … Read More

0 意見:

張貼留言

Popular Posts