酒店分銷平臺(tái)有哪些湖南網(wǎng)站seo營(yíng)銷
《Programming Abstractions In C》閱讀P72-p75,每次閱讀其實(shí)都有很多內(nèi)容需要總結(jié),這里摘抄其中一部分。
一、技術(shù)總結(jié)
1.字符串?dāng)?shù)組
學(xué)習(xí)《Programming Abstractions in C》第75頁(yè)的時(shí)候,遇到一段代碼:
static string bigCities[] = { "New York","Los Angeles","Chicago","Houston","Philadelphia","San Diego","Detroit","Dallas"
};
這里直接使用string,不理解其中的用法,想著查缺補(bǔ)漏,便去找來《The C Programming Language》復(fù)習(xí),在第5章“Pointers and Arrays”找到相關(guān)內(nèi)容,便開始閱讀起來,讀完之后再回來看,發(fā)現(xiàn)代碼后續(xù)的內(nèi)容就是“Multidimensional array”,接著2.5節(jié)就是“Pointers and arrays”,當(dāng)時(shí)怎么就沒往下看呢?也許因?yàn)樽约盒睦锬J(rèn)《Programming Abstractions in C》是講算法,不講那么基礎(chǔ)的內(nèi)容。
因?yàn)樽址當(dāng)?shù)組的問題,導(dǎo)致本書的閱讀進(jìn)度極大的延后,通過該問題得到一點(diǎn)教訓(xùn),那就是閱讀一本書時(shí),先閱讀整體的章節(jié)目錄,把書閱讀完,不可深陷于某一部分。
2.nano快捷鍵
1)^: 表示Ctrl鍵
2)M: 表示Alt鍵
這是在進(jìn)行g(shù)it操作的時(shí)候遇到的(M-A),在這里進(jìn)行記錄倒不是要把快捷鍵記下來,而是當(dāng)時(shí)搜索的時(shí)候如果不加nano,單獨(dú)搜索”M-A”,那么能收到的答案較少。
二、英語(yǔ)總結(jié)
1.“The correspondence between indexing and pointer arithmetic is very close.”一句里面correspondence什么意思?
答:
(1)respond(vi. do reaction to sth, 響應(yīng)) > respondence/respondency(n.)
(2)correspondence:cor(com-的通化形式,“together”) + respond(“to answer”)。
所以correspondence常用的一個(gè)意思是communication by letters(信件,通信),"寫-收"引申出另外一個(gè)意思“對(duì)應(yīng)關(guān)系”。所以整句話的意思是“索引(下標(biāo))運(yùn)算和指針運(yùn)算非常相似(具有密切的對(duì)應(yīng)關(guān)系)。”
2.“thirty days hath September …”這句話是什么意思?
答:hath: in the past, the third person singular form of “have”。示例:he/she/it hath (= he/she/it has)。
3.“Although we have phrased this discussion in terms of integers”一句中phrase是什么意思?
答:
(1)phrase最常用的用法是用作名稱,n.a group of words that is part of, rather than the whole of, a sentence.(一句話中的一部分,即“短語(yǔ),詞組”)。示例:The phrase “a not unfamiliar situation” is an example of a double negative.
(2)phrase也可以用作動(dòng)詞,如上面的這一句,vt. to express sth with a particular choice of words.(表達(dá))。
三、參考資料
1.編程
1)Eric S.Roberts,《Programming Abstractions in C》:https://book.douban.com/subject/2003414
2)Brian W. Kernighan / Dennis M. Ritchie,《Brian W. Kernighan / Dennis M. Ritchie》:https://book.douban.com/subject/1236999
2.英語(yǔ)
1)Etymology Dictionary:https://www.etymonline.com
2)Cambridage Dictionary:https://dictionary.cambridge.org
3)Merrian-Webster Dictionary:https://www.merriam-webster.com
4)Collins Dictionary:https://www.collinsdictionary.com
5)Oxford Dictionary:https://www.oxfordlearnersdictionaries.com
6)The Free Dictonary:https://www.thefreedictionary.com
7)Urban Dictionary:https://www.urbandictionary.com
歡迎搜索及關(guān)注:編程人(a_codists)