Daily Archives: September 19, 2019

C99 Terms, definitions, and symbols (annotated)

整理一下C99在Terms, definitions, and symbols提到的一些名詞定義的重點整理,總共有19個。 3.1 access 在標準中提到的access 即是對object存取,read or modify。這裡modify包含對object存入相同的值 ‘Modify’ includes the case where the new value being stored is the same as the previous value 另外是如果Expressions沒有被evaluate就沒有access(例如short circuit evaluation) Expressions that are not evaluated do not access objects. 3.2 … Continue reading

Posted in C Language | Leave a comment

Phases of translation (annotated)

在C99的translation phases共分8步 。translation phases描述了從C source code到program image的處理流程。 參考整理 https://en.cppreference.com/w/c/language/translation_phases &ISO C99標準 The C source file is processed by the compiler as if the following phases take place, in this exact order. Actual implementation may combine these actions or process them … Continue reading

Posted in C Language | Leave a comment