C語言基礎教程英文PPT學習教案_第1頁
C語言基礎教程英文PPT學習教案_第2頁
C語言基礎教程英文PPT學習教案_第3頁
C語言基礎教程英文PPT學習教案_第4頁
C語言基礎教程英文PPT學習教案_第5頁
已閱讀5頁,還剩59頁未讀 繼續免費閱讀

下載本文檔

版權說明:本文檔由用戶提供并上傳,收益歸屬內容提供方,若內容存在侵權,請進行舉報或認領

文檔簡介

1、會計學1 C語言基礎教程英文語言基礎教程英文PPT課件課件 2 第1頁/共64頁 3 第2頁/共64頁 4 第3頁/共64頁 5 第4頁/共64頁 6 If width was not initialized, the computer uses the value that happens to occupy that memory space previously (compiler would probably issue a warning) 第5頁/共64頁 7 第6頁/共64頁 8 第7頁/共64頁 9 第8頁/共64頁 10 sum = sum + 10 is not an eq

2、uationit is an expression that is evaluated in two major steps 第9頁/共64頁 11 第10頁/共64頁 12 第11頁/共64頁 13 第12頁/共64頁 14 第13頁/共64頁 15 第14頁/共64頁 16 Accumulating (continued) 第15頁/共64頁 17 第16頁/共64頁 18 第17頁/共64頁 19 第18頁/共64頁 20 第19頁/共64頁 21 第20頁/共64頁 22 第21頁/共64頁 23 第22頁/共64頁 24 第23頁/共64頁 25 第24頁/共64頁 26 第25頁/

3、共64頁 27 Argument need not be a single constant 第26頁/共64頁 28 第27頁/共64頁 29 第28頁/共64頁 30 第29頁/共64頁 31 第30頁/共64頁 32 第31頁/共64頁 33 第32頁/共64頁 34 第33頁/共64頁 35 第34頁/共64頁 36 This statement produces a prompt Address operator ( causes scanf() to look for three characters, each character separated by exactly one

4、 space 第36頁/共64頁 38 nscanf() the values being entered nIn scanf(%d %f, &num1, &num2), if user enters 22.87, 22 is stored in num1 and .87 in num2 第37頁/共64頁 39 第38頁/共64頁 40 第39頁/共64頁 41 第40頁/共64頁 42 第41頁/共64頁 43 第42頁/共64頁 44 第43頁/共64頁 45 Output is not aligned 第44頁/共64頁 46 6 18 124 - 148 Field width sp

5、ecifier 第45頁/共64頁 47 第46頁/共64頁 48 第47頁/共64頁 49 第48頁/共64頁 50 Other Number Bases (continued) 第49頁/共64頁 51 第50頁/共64頁 52 第51頁/共64頁 53 第52頁/共64頁 54 # sign is a signal to a C preprocessor 第53頁/共64頁 55 第54頁/共64頁 56 Case Study: Interactive Input (continued) 第55頁/共64頁 57 第56頁/共64頁 58 第57頁/共64頁 59 第58頁/共64頁 6

6、0 Common Compiler Errors (continued) 第59頁/共64頁 61 to a variable nThe decrement operator, -, subtracts 1 from a variable nC provides library functions for calculating square root, logarithmic, and other mathematical computations 第60頁/共64頁 62 contained in the scanf() function call 第61頁/共64頁 63 automatically passed through a preprocessor nExpressions can be made

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯系上傳者。文件的所有權益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網頁內容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
  • 4. 未經權益所有人同意不得將文件中的內容挪作商業或盈利用途。
  • 5. 人人文庫網僅提供信息存儲空間,僅對用戶上傳內容的表現方式做保護處理,對用戶上傳分享的文檔內容本身不做任何修改或編輯,并不能對任何下載內容負責。
  • 6. 下載文件中如有侵權或不適當內容,請與我們聯系,我們立即糾正。
  • 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論