freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

[計(jì)算機(jī)軟件及應(yīng)用]第5、6次數(shù)據(jù)類型、常量、變量(編輯修改稿)

2025-02-11 07:33 本頁面
 

【文章內(nèi)容簡(jiǎn)介】 83648~2147483647 unsigned long [int] 無符號(hào)長(zhǎng)整型 4 0~4294967295 4 0~4294967295 Neusoft Institute of Information Date: November 11, 2021 IT Education amp。 Training 實(shí)型數(shù)據(jù)分類 實(shí)型數(shù)據(jù)分為單精度實(shí)型( float)、雙精度實(shí)型( double)和長(zhǎng)雙精度實(shí)型( long double)。具體情況見下表所示 : 數(shù)據(jù)類型名 說明 Visual C++ Turbo 字節(jié) 取值范圍 有效數(shù)字 字節(jié) 取值范圍 有效數(shù)字 float 單精度實(shí)型 4 1038~ 1038 6~7 4 1038~ 1038 6~7 double 雙精度實(shí)型 8 10308~ 10308 15~16 8 10308~ 10308 15~16 long double 長(zhǎng)雙精度實(shí)型 8 15~16 10 104932~ 104932 18~19 10308~ 10308 Neusoft Institute of Information Date: November 11, 2021 IT Education amp。 Training 字符型數(shù)據(jù)分類 字符型數(shù)據(jù)分為一般字符型( char)、帶符號(hào)字符型( signed char)和無符號(hào)字符型( unsigned char)三種類型。具體情況見下表所示 : 數(shù)據(jù)類型名 說明 字節(jié) 取值范圍 char 字符型 1 128~127 signed char 帶符號(hào)字符型 1 128~127 unsigned char 無符號(hào)字符型 1 0~255 Neusoft Institute of Information Date: November 11, 2021 IT Education amp。 Training ? 基本數(shù)據(jù)類型 ? 常量 ? 變量 授課要點(diǎn) Neusoft Institute of Information Date: November 11, 2021 IT Education amp。 Training 標(biāo)識(shí)符 ? 定義:用來標(biāo)識(shí)變量、常量、函數(shù)等的字符序列 ?組成: – 只能由 字母 、 數(shù)字 、 下劃線 組成,且第一個(gè)字母必須是字母或下劃線 – 大小寫敏感 – 不能使用關(guān)鍵字 ?長(zhǎng)度:最長(zhǎng) 32個(gè)字符 ? 命名原則: – 見名知意 – 不宜混淆 如 l與 I, o與 0 例 :判斷下列標(biāo)識(shí)符號(hào)合法性 sum Sum day Date 3days student_name 33 lotus_1_2_3 char ab _above $123 33 $123b 常量與變量 Neusoft Institute of Information Date: November 11, 2021 IT Education amp。 Training 常量 ? 常量的存在形式 – 5 數(shù)字 /整型常量 – 數(shù)字 /浮點(diǎn)常量 – “ Black” 字符串常量 – 39。C39。 字符常量 ? 推薦的常量表示 ? define Max 100 ? Const int Max = 100。 ? 使用命名常量的好處 – 增加程序可讀性 。 – 減少書寫錯(cuò)誤 。 – 便于維護(hù) 。 Neusoft Institute of Information Date:
點(diǎn)擊復(fù)制文檔內(nèi)容
教學(xué)課件相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖片鄂ICP備17016276號(hào)-1