Visual Basic程序設(shè)計(jì)基礎(chǔ)教程

出版時(shí)間:2010-10  出版社:清華大學(xué)出版社  作者:梁雅維  頁數(shù):112  

前言

  2008年3月,微軟公司取消了對(duì)VisualBasic6(簡(jiǎn)稱VB6)的支持,并推出了新的VisualBasic2008ExpressEdition免費(fèi)版(簡(jiǎn)稱VB2008),它相當(dāng)于VB。NETFramework3。5或者VB9。為了使學(xué)生更快地適應(yīng)并使用新版VB學(xué)習(xí)計(jì)算機(jī)程序設(shè)計(jì),作者根據(jù)在大學(xué)教授計(jì)算機(jī)程序設(shè)計(jì)基礎(chǔ)課程的材料,特編寫了這部簡(jiǎn)練的教材。  InMarch2008,MicrosoftstoppeditssupporttoVisualBasic6(VB6forshort),andithasanewerandfreeversioninplace,i。e。,VisualBasic2008ExpressEdition(VB2008forshort),itisequivalenttoVB。NETFramework3。5orVB9。TohelpstudentsquicklygetusedtothenewerversionofVisualBasic,theauthorpreparesthisconcisetextbook,whichisbasedontheteachingmaterialsofthefirstcomputerprogramminglanguagecourseatuniversitylevel?!  禫isual Basic程序設(shè)計(jì)基礎(chǔ)教程(雙語版)》可供第一次學(xué)習(xí)計(jì)算機(jī)程序設(shè)計(jì)課程的學(xué)生使用,無需其他先導(dǎo)課程。

內(nèi)容概要

  《VisualBasic程序設(shè)計(jì)基礎(chǔ)教程(雙語版)》以微軟公司公開發(fā)布的免費(fèi)版VisualBasic2008(簡(jiǎn)稱VB2008)為工具,介紹了計(jì)算機(jī)程序設(shè)計(jì)的主要內(nèi)容。第1章描述了VB2008的綜合程序設(shè)計(jì)環(huán)境和該語言的基礎(chǔ)知識(shí)。第2~4章是計(jì)算機(jī)高級(jí)程序設(shè)計(jì)語言的通用知識(shí)。第5章討論如何編寫視窗類人機(jī)交互界面的程序。第6章引出事件驅(qū)動(dòng)的程序設(shè)計(jì)概念。附錄A中給出了《VisualBasic程序設(shè)計(jì)基礎(chǔ)教程(雙語版)》的習(xí)題解答。附錄B中給出了詞匯索引。最新版的VB2010與VB2008大同小異。

書籍目錄

第1章 程序設(shè)計(jì)基礎(chǔ)Programming Basics 11.1 Visual Basic歷史簡(jiǎn)介Brief History of Visual Basic 11.2 VB 2008綜合程序設(shè)計(jì)環(huán)境VB 2008 Integrated Development Environment (IDE) 21.3 兩個(gè)簡(jiǎn)單的程序設(shè)計(jì)實(shí)例Two Simple Program Examples 21.4 常量、變量以及命名方法Constants, Variables and Their Naming Rules 61.4.1 命名規(guī)則Naming Rules 71.4.2 常量Constants 71.4.3 保留字Keywords 81.4.4 基本數(shù)據(jù)類型Primitive Data Types 81.4.5 變量Variables 91.5 表達(dá)式Expressions 91.5.1 賦值語句Assignment Command 101.5.2 算術(shù)運(yùn)算符Arithmetic Operators 101.5.3 基本數(shù)學(xué)函數(shù)Common mathematical functions 111.5.4 布爾表達(dá)式Boolean expressions 111.5.5 關(guān)系表達(dá)式Relational expressions 131.5.6 計(jì)算優(yōu)先級(jí)Precedence of a mixed expression 131.6 第1章小結(jié)Chapter 1 Summary 14習(xí)題Exercises 14第2章 常用程序設(shè)計(jì)語句Common Programming Commands 162.1 賦值語句Assignment Command 162.2 輸入、輸出語句Input and Output Commands 162.3 算術(shù)計(jì)算語句Arithmetic Calculation Commands 172.4 選擇執(zhí)行語句Selection Commands 182.4.1 If語句If Command 182.4.2 嵌入If指令Nested If Statement 212.4.3 選擇命令Select ... Case 222.5 循環(huán)控制語句Loop Control Commands 242.5.1 For語句For Command 242.5.2 While語句While Command 252.5.3 Do While語句Do While Command 262.5.4 Do Until語句Do Until Command 272.6 第2章小結(jié)Chapter 2 Summary 27習(xí)題Exercises 27第3章 簡(jiǎn)單的數(shù)據(jù)結(jié)構(gòu):數(shù)組Simple Data Structure:Arrays 293.1 數(shù)組的概念Concept of Arrays 293.2 一維數(shù)組One Dimensional (1D) Arrays 293.3 二維數(shù)組Two Dimensional (2D) Arrays 313.4 多維數(shù)組Multi Dimensional Arrays 323.5 數(shù)組的特殊存儲(chǔ)方法The Special Way to Store an Array 333.6 第3章小結(jié)Chapter 3 Summary 34習(xí)題Exercises 34第4章 子程序Sub-Programs 364.1 子程序的概念Concept of Sub-Programs 364.2 過程的設(shè)計(jì)和調(diào)用Procedures Design and Calling 364.3 函數(shù)的設(shè)計(jì)和調(diào)用Functions Design and Calling 384.4 嵌套子程序調(diào)用和遞歸Nested Sub-program Calling and Recursion 394.5 類型Class 404.6 第4章小結(jié)Chapter 4 Summary 42習(xí)題Exercises 42第5章 圖形化用戶界面控件Graphical User Interface (GUI) Controls 465.1 輸入、輸出控件Input and Output (I/O) Controls 465.2 選擇控件Selection Controls 485.3 時(shí)間控件Timing Controls 515.4 圖形控件Graphical Controls 535.5 網(wǎng)絡(luò)控件Web Related Controls 575.6 第5章小結(jié)Chapter 5 Summary 58習(xí)題Exercises 58第6章 事件驅(qū)動(dòng)的程序設(shè)計(jì)概念Event Driven Programming Concept 636.1 程序啟動(dòng)事件Program Loading Event 636.2 輸入內(nèi)容改變事件Input Content Changing Event 646.3 鼠標(biāo)單擊事件Mouse Clicking Event 656.4 鼠標(biāo)移動(dòng)事件Mouse Moving Event 676.5 時(shí)間事件Timing Event 686.6 第6章小結(jié)Chapter Summary 70習(xí)題Exercises 70附錄A 習(xí)題解答Exercises Solutions 73A.1 第1章題解Chapter 1 Exercise Solutions 73A.2 第2章題解Chapter 2 Exercise Solutions 74A.3 第3章題解Chapter 3 Exercise Solutions 77A.4 第4章題解Chapter 4 Exercise Solutions 78A.5 第5章題解Chapter 5 Exercise Solutions 79A.6 第6章題解Chapter 6 Exercise Solutions 86附錄B 詞匯索引Index 110參考文獻(xiàn)

編輯推薦

  《VisualBasic程序設(shè)計(jì)基礎(chǔ)教程(雙語版)》可供第一次學(xué)習(xí)計(jì)算機(jī)程序設(shè)計(jì)的學(xué)生使用,無需先導(dǎo)課程?! 〔捎弥杏⑽膶?duì)照的方式進(jìn)行編寫,語言精練、實(shí)例豐富。

圖書封面

評(píng)論、評(píng)分、閱讀與下載


    Visual Basic程序設(shè)計(jì)基礎(chǔ)教程 PDF格式下載


用戶評(píng)論 (總計(jì)0條)

 
 

 

250萬本中文圖書簡(jiǎn)介、評(píng)論、評(píng)分,PDF格式免費(fèi)下載。 第一圖書網(wǎng) 手機(jī)版

京ICP備13047387號(hào)-7