天天看點

《C語言程式設計初學者指南》一導讀

《C語言程式設計初學者指南》一導讀

c語言程式設計初學者指南

c語言是一種強大的基于過程的程式設計語言,它于1972年由dennis ritchie在貝爾實驗室發明。c語言最初是開發來用于unix平台的,但卻已經擴充到很多其他的系統和應用中。c語言還影響了很多其他的程式設計語言,例如c++和java。

程式設計初學者,特别是那些進入計算機科學和工程專業學習的人,需要建構有關作業系統、硬體和應用程式開發概念的牢固基礎知識。很多的學院教授學生學習如何用c程式設計,進而使他們能夠學習進階概念以及在c的基礎上建立起來的其他語言。

學習c語言的很多學生也承認,它不是一種很容易學習的程式設計語言,但是,從專業人士的角度來看,本書清晰的講解、完備的示例和圖檔,使得學習c語言變得容易而有趣。本書中的每一章都包含了本章小結和程式設計挑戰,而且還給出了一個完整的程式,進而使得讀者可以應用一章中所學的基本概念來建構一個容易編寫的應用。

要完整地學習本書,你需要在計算機中安裝gcc(具體介紹參見本書第1章)或者tcc(參見附錄d)這樣的一個c編譯器,并且至少要有一個文本編輯器。在unix或者類似的環境下,你可能會使用vi、vim或emacs。在microsoft windows下,你可以使用notepad或者任何其他的純文字編輯器。

<a href="https://yq.aliyun.com/articles/90614">第1章 c程式設計入門</a>

<a href="https://yq.aliyun.com/articles/90619">1.1 安裝和配置cygwin環境</a>

<a href="https://yq.aliyun.com/articles/90623">1.2 認識main()函數</a>

<a href="https://yq.aliyun.com/articles/90627">1.3 使用注釋</a>

<a href="https://yq.aliyun.com/articles/90629">1.4 了解關鍵字</a>

<a href="https://yq.aliyun.com/articles/90637">1.5 使用程式語句</a>

<a href="https://yq.aliyun.com/articles/90640">1.6 使用指令</a>

<a href="https://yq.aliyun.com/articles/90645">1.7 建立并運作第一個c程式</a>

<a href="https://yq.aliyun.com/articles/90650">1.8 調試c程式</a>

<a href="https://yq.aliyun.com/articles/90651">1.9 本章小結</a>

<a href="https://yq.aliyun.com/articles/90653">1.10 程式設計挑戰</a>

<a href="https://yq.aliyun.com/articles/90656">第2章 基本資料類型</a>

<a href="https://yq.aliyun.com/articles/90660">2.1 記憶體概念簡介</a>

<a href="https://yq.aliyun.com/articles/90663">2.2 了解資料類型</a>

<a href="https://yq.aliyun.com/articles/90666">2.3 初始化變量和指派運算符</a>

<a href="https://yq.aliyun.com/articles/90670">2.4 列印變量的内容</a>

<a href="https://yq.aliyun.com/articles/90673">2.5 使用轉換修飾符</a>

<a href="https://yq.aliyun.com/articles/90676">2.6 了解常量</a>

<a href="https://yq.aliyun.com/articles/90678">2.7 使用程式設計慣例和風格</a>

<a href="https://yq.aliyun.com/articles/90688">2.8 用c做算術運算</a>

<a href="https://yq.aliyun.com/articles/90690">2.9 了解運算符優先級</a>

<a href="https://yq.aliyun.com/articles/90695">2.10 本章程式:shop profit</a>

<a href="https://yq.aliyun.com/articles/90697">2.11 本章小結</a>

<a href="https://yq.aliyun.com/articles/90698">2.12 程式設計挑戰</a>

第3章 條件

第4章 循環結構

第5章 結構化程式設計

第6章 數組

第7章 指針

第8章 字元串

第9章 資料結構簡介

第10章 動态記憶體配置設定

第11章 檔案輸入和輸出

第12章 c預處理器

附錄a 常用unix指令

附錄b vim快速參考

附錄c nano快速指南

附錄d tcc快速參考

附錄e ascii字元代碼

附錄f 常用c庫函數

繼續閱讀