第一图书网

Visual Basic程序设计基础教程

梁雅维 清华大学出版社
出版时间:

2010-10  

出版社:

清华大学出版社  

作者:

梁雅维  

页数:

112  

前言

  2008年3月,微软公司取消了对VisualBasic6(简称VB6)的支持,并推出了新的VisualBasic2008ExpressEdition免费版(简称VB2008),它相当于VB。NETFramework3。5或者VB9。为了使学生更快地适应并使用新版VB学习计算机程序设计,作者根据在大学教授计算机程序设计基础课程的材料,特编写了这部简练的教材。  InMarch2008,MicrosoftstoppeditssupporttoVisualBasic6(VB6forshort),andithasanewerandfreeversioninplace,i。e。,VisualBasic2008ExpressEdition(VB2008forshort),itisequivalenttoVB。NETFramework3。5orVB9。TohelpstudentsquicklygetusedtothenewerversionofVisualBasic,theauthorpreparesthisconcisetextbook,whichisbasedontheteachingmaterialsofthefirstcomputerprogramminglanguagecourseatuniversitylevel。  《Visual Basic程序设计基础教程(双语版)》可供第一次学习计算机程序设计课程的学生使用,无需其他先导课程。

内容概要

  《VisualBasic程序设计基础教程(双语版)》以微软公司公开发布的免费版VisualBasic2008(简称VB2008)为工具,介绍了计算机程序设计的主要内容。第1章描述了VB2008的综合程序设计环境和该语言的基础知识。第2~4章是计算机高级程序设计语言的通用知识。第5章讨论如何编写视窗类人机交互界面的程序。第6章引出事件驱动的程序设计概念。附录A中给出了《VisualBasic程序设计基础教程(双语版)》的习题解答。附录B中给出了词汇索引。最新版的VB2010与VB2008大同小异。

书籍目录

第1章 程序设计基础Programming Basics 11.1 Visual Basic历史简介Brief History of Visual Basic 11.2 VB 2008综合程序设计环境VB 2008 Integrated Development Environment (IDE) 21.3 两个简单的程序设计实例Two Simple Program Examples 21.4 常量、变量以及命名方法Constants, Variables and Their Naming Rules 61.4.1 命名规则Naming Rules 71.4.2 常量Constants 71.4.3 保留字Keywords 81.4.4 基本数据类型Primitive Data Types 81.4.5 变量Variables 91.5 表达式Expressions 91.5.1 赋值语句Assignment Command 101.5.2 算术运算符Arithmetic Operators 101.5.3 基本数学函数Common mathematical functions 111.5.4 布尔表达式Boolean expressions 111.5.5 关系表达式Relational expressions 131.5.6 计算优先级Precedence of a mixed expression 131.6 第1章小结Chapter 1 Summary 14习题Exercises 14第2章 常用程序设计语句Common Programming Commands 162.1 赋值语句Assignment Command 162.2 输入、输出语句Input and Output Commands 162.3 算术计算语句Arithmetic Calculation Commands 172.4 选择执行语句Selection Commands 182.4.1 If语句If Command 182.4.2 嵌入If指令Nested If Statement 212.4.3 选择命令Select ... Case 222.5 循环控制语句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章小结Chapter 2 Summary 27习题Exercises 27第3章 简单的数据结构:数组Simple Data Structure:Arrays 293.1 数组的概念Concept of Arrays 293.2 一维数组One Dimensional (1D) Arrays 293.3 二维数组Two Dimensional (2D) Arrays 313.4 多维数组Multi Dimensional Arrays 323.5 数组的特殊存储方法The Special Way to Store an Array 333.6 第3章小结Chapter 3 Summary 34习题Exercises 34第4章 子程序Sub-Programs 364.1 子程序的概念Concept of Sub-Programs 364.2 过程的设计和调用Procedures Design and Calling 364.3 函数的设计和调用Functions Design and Calling 384.4 嵌套子程序调用和递归Nested Sub-program Calling and Recursion 394.5 类型Class 404.6 第4章小结Chapter 4 Summary 42习题Exercises 42第5章 图形化用户界面控件Graphical User Interface (GUI) Controls 465.1 输入、输出控件Input and Output (I/O) Controls 465.2 选择控件Selection Controls 485.3 时间控件Timing Controls 515.4 图形控件Graphical Controls 535.5 网络控件Web Related Controls 575.6 第5章小结Chapter 5 Summary 58习题Exercises 58第6章 事件驱动的程序设计概念Event Driven Programming Concept 636.1 程序启动事件Program Loading Event 636.2 输入内容改变事件Input Content Changing Event 646.3 鼠标单击事件Mouse Clicking Event 656.4 鼠标移动事件Mouse Moving Event 676.5 时间事件Timing Event 686.6 第6章小结Chapter Summary 70习题Exercises 70附录A 习题解答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参考文献


编辑推荐

  《VisualBasic程序设计基础教程(双语版)》可供第一次学习计算机程序设计的学生使用,无需先导课程。  采用中英文对照的方式进行编写,语言精练、实例丰富。

图书封面

广告

下载页面


Visual Basic程序设计基础教程 PDF格式下载



相关图书