摘要
本文就C语言与BASIC语言在数据类型、运算符、表达式、程序结构、语句五个方面进行一些主要的比较.指出C具有更丰富的数据类型、运算符、表达式,具有更强的功能;C语言更灵活、简炼;利用C语言更易实现程序的模块化.在这基础上,本文对C语言及BASIC语言教学提出若干有益之建议,有助于学习C语言及进行C语言的教学.
This article goes through a thorough Comparsion with Programming Language C and Basic in five aspects: data type, operator, expression, program structure and statement. And points out that there are more data type, more colorful operator, more powerful function, in C than in Basic, with more active and concise in Use Besides,C is easier to modularize the program.
This article can give some help in understanding C and in teaching using C.
关键词
程序语言
数据类型
运算符
BSAIC语言
C语言
programming language
data type
operator
expression
statement
function
module
subroutine