首页 | 本学科首页   官方微博 | 高级检索  
相似文献
 共查询到20条相似文献,搜索用时 15 毫秒
1.
C语言由于具有其它程序设计语言无法比拟的优点,因此成为当今世界上应用广泛、最具影响的程序设计语言之一。目前国内很多高校的工科专业都将C语言作为一门重要的基础课程纳入教学大纲中。该文针对C语言的功能和特点进行分析,提出从多个方面采用恰当的教学方法,帮助学生解决编程难的问题。  相似文献   

2.
本文就C语言程序设计知识体系结构进行深入的分析与归纳,提出C语言程序设计的语法方面的知识体系结构。首先,讨论知识体系结构中各概念的定义;其次,分别给出C语言的语法知识体系和程序设计的语法知识体系。为设计C语言程序设计题库提供理论基础。  相似文献   

3.
ARM嵌入式系统C语言编程   总被引:4,自引:0,他引:4  
无操作系统支持的嵌入式系统软件,包括系统引导(BOOT)、驱动程序、动态内存管理、I/O、通信以及应用软件等方面。本文详细介绍了嵌入式平台上用C语言编写系统软件和应用软件的方法。虽然是针对ARM平台介绍的,但基本经验和算法也适合于其他嵌入式平台的软件设计。  相似文献   

4.
Objectives: OpenMusic (OM) is a domain-specific visual programming language designed for computer-aided music composition. This language based on Common Lisp allows composers to develop functional processes generating or transforming musical data, and to execute them locally by demand-driven evaluations. As most historical computer-aided composition environments, OM relies on a transformational declarative paradigm, which is hard to conciliate with reactive data-flow (an evaluation scheme more adequate to the development of interactive systems). We propose to link these two evaluation paradigms in the same and consistent visual programming framework.Methods: We establish a denotational semantics of the visual language, which gives account for its demand-driven evaluation mechanism and the incremental construction of programs. We then extend this semantics to enable reactive computations in the functional graphs.Results: The resulting language merges data-driven executions with the existing demand-driven mechanism. A conservative implementation is proposed.Conclusions: We show that the incremental construction of programs and their data-driven and demand-driven evaluations can be smoothly integrated in the visual programming workflow. This integration allows for the propagation of changes in the programs, and the evaluation of graphically designed functional expressions as a response to external events, a first step in bridging the gap between computer-assisted composition environments and real-time musical systems.  相似文献   

5.
C 语言是国际上广泛流行的计算机高级程序设计语言,也是我校计算机、电子、自动化、机电等相关专业的一 门必修课。开发一个合理的C 语言程序设计课程自动评分系统,可以节省教师大量的改卷时间,实现无纸化考试,从而可以将 自动评分系统推广到其它课程中。  相似文献   

6.
基于MYCIN不精确推理的专家系统C++程序设计   总被引:5,自引:0,他引:5  
文中采用C++语言开发了基于MYCIN的家系统程序,实现了基于规则的模糊知识表达与推理,为信后采用C++建造各种实帮专家系统提供了方便。  相似文献   

7.
在许多应用软件运行时都带有命令行参数,这些命令行参数在C语言编写的程序中也可以实现,灵活地运用命令行参数进行处理可以有效地提高程序的运行效率,收到事半功倍的效果。详细分析了C语言编程技巧在C语言学习中的应用。  相似文献   

8.
LabVIEW与C语言的混合编程   总被引:7,自引:0,他引:7  
LabVIEW是一种优秀的虚拟仪器系统开发平台,广泛应用于工控开发,而C语言是目前广泛使用的功能强大的编程语言。本文介绍了LabVIEW与C语言的混合编程方法,并给出了编程实例。  相似文献   

9.
This paper discusses the considerations that have played a role in the design of the language POOL2. This language integrates the structuring techniques of object-oriented programming with mechanisms for expressing parallelism. We introduce the basic principles of object-oriented programming and its significance for program development methodologies. Several approaches for integrating objects and parallelism are compared and arguments for the choices made in POOL2 are presented. We also explain why inheritance is not yet included in POOL2. A brief overview of the research in formal aspects of POOL is given. Finally we indicate some directions for future developments.  相似文献   

10.
The semantics of process calculi has traditionally been specified by labelled transition systems (ltss), but, with the development of name calculi, it turned out that reaction rules (i.e., unlabelled transition rules) are often more natural. This leads to the question of how behavioral equivalences (bisimilarity, trace equivalence, etc.) defined for lts can be transferred to unlabelled transition systems. Recently, in order to answer this question, several proposals have been made with the aim of automatically deriving an lts from reaction rules in such a way that the resulting equivalences are congruences. Furthermore, these equivalences should agree with the standard semantics, whenever one exists.In this paper, we propose saturated semantics, based on a weaker notion of observation and orthogonal to all the previous proposals, and we demonstrate the appropriateness of our semantics by means of two examples: logic programming and open Petri nets. We also show that saturated semantics can be efficiently characterized through the so called semi-saturated games. Finally, we provide coalgebraic models relying on presheaves.  相似文献   

11.
Keith E. Gorlen 《Software》1987,17(12):899-922
The Object-Oriented Program Support (OOPS) class library is a portable collection of classes similar to those of Smalltalk-80 that has been developed using the C++ programming language under the UNIX operating system. The OOPS library includes generally useful data types, such as String, Date and Time, and most of the Smalltalk-80 collection classes such as OrderedCtn (indexed arrays), LinkedList (singly linked lists), Set (hash tables), and Dictionary (associative arrays). Arbitrarily complex data structures comprised of OOPS and user-defined objects can be stored on disk files or moved between UNIX processes by means of an object I/O facility. The classes Process, Scheduler, Semaphore and SharedQueue provide multiprogramming with coroutines. This paper gives a brief introduction to object-oriented programming and how it is supported by the C+ + programming language. An overview of the OOPS library is also presented, followed by a programming example. The implementation details of two of the class library's more interesting features, object I/O and processes, are described. The paper concludes with a discussion of the differences between the OOPS library and Smalltalk-80 and some observations based on our programming experience with C++ and OOPS.  相似文献   

12.
There are now several versions of Lisp for massively parallel SIMD architectures like the Thinking Machines Connection Machine. We describe here the extensions made to EuLisp for data-parallel programming and their implementation on a specific platform, a MasPar MP-1. Plural EuLisp, in keeping with the rest of the language, presents a collection of simple orthogonal operators which capture the essence of data parallel processing. In support of this, we demonstrate how to implement a number of higher-level abstraction from other data-parallel languages.This work has been partially supported through the British Council ARC Programme, a Science and Engineering Research Council (SERC) Studentship, SERC grant GR/G31048, International Computers Limited (SERC CASE award)  相似文献   

13.
讨论汇编语言与C语言的混合程序设计技术。在大规模的程序设计中,汇编语言程序与高级语言程序相结合,充分发挥各自的优点,实现两种语言之间的混合编程,是解决实际问题的有效方法。在实际的程序设计中,C语言主程序可以调用汇编语言子程序,汇编语言主程序可以调用C语言子程序,也可以在C语言程序中嵌入汇编语言语句。在汇编语言与C语言的混合编程中,参数的传递、模块的连接以及调用关系的确定是值得注意的关键问题。  相似文献   

14.
This article presents an empirical study devoted to characterize the computational efficiency behavior of an evolutionary algorithm (usually called canonical) as a C program. The study analyzes the effects of several implementation decisions on the execution time of the resulting evolutionary algorithm. The implementation decisions studied include: memory utilization (using dynamic vs. static variables and local vs. global variables), methods for ordering the population, code substitution mechanisms, and the routines for generating pseudorandom numbers within the evolutionary algorithm. The results obtained in the experimental analysis allow us to conclude that significant improvements in efficiency can be gained by applying simple guidelines to best program an evolutionary algorithm in C. Copyright © 2013 John Wiley & Sons, Ltd.  相似文献   

15.
Matlab与VisualC++混合编程的实现   总被引:1,自引:0,他引:1  
蒋礼  徐义贤 《微机发展》2003,13(9):81-85
从不同角度分析和研究了VisualC 与工程计算语言Matlab的接口技术。为工程设计人员提供了比较全面的VisualC 与Matlab的混合编程方法,并给出了各种方法的优缺点。通过二者的结合,既有效地利用了Matlab强大的数值计算能力和众多的函数,大大减少程序设计的工作量,又继承了VisualC 良好的程序界面,证明是一种很好的程序设计方法。  相似文献   

16.
针对C 语言难以在低端嵌入式系统项目中应用的情况,对嵌入式系统软件开发中基于对象的方法进行了研究,提出了一种使用UML和C语言设计和开发嵌入式软件的实用方法。实践证明,该方法很好地融合了UML和C语言的优点,能够大大提高嵌入式软件的开发效率和可维护性。  相似文献   

17.
用C51开发单片机系统的应用程序   总被引:2,自引:0,他引:2  
介绍采用FranklinC51开发MCS51单片机应用程序的编程方法。  相似文献   

18.
C语言编程技巧在C语言学习中的应用   总被引:4,自引:0,他引:4  
C语言是功能强大、应用广泛的编程语言,也是目前高校理工类的公共必修课程之一,可见其重要性,C语言集高级编程语言和汇编语言的特点于一身,目前市面上的许多软件也是在C语言的平台上产生的,所以高校在C语言的教学中也可谓是"不遗余力"的。但是从近年来的教学效果来看,学生的普遍反映却让人大跌眼镜,大部分人认为C语言晦涩难学,学起来是非常吃力,经常是非常努力学习却达不到想要的效果,课程过后没有任何收获,甚至连一个小程序都写不出来,针对上述情况做了初步分析,并从C语言的编程技巧上提出了相关改善对策。  相似文献   

19.
该文结合教学实践,分析了目前应用型本科院校C语言程序设计教与学中存在的问题,通过从改革教学内容、教学方法、优化教学手段和考核手段等方面对C语言课程进行了教学改革。在教改实践中实现了引导学生正确认识课程、培养学生的学习兴趣、提高学生分析问题与解决问题能力以及增强学生动手能力的教学目标。  相似文献   

20.
本文阐述C程序设计自动化逆过程的实现,即阐述从C程序设计自动生成用图形语言-PAD图表示的设计思想,关键技术,系统特点以及对PAD图式的扩充与细化技术。  相似文献   

设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号