首页 | 本学科首页   官方微博 | 高级检索  
相似文献
 共查询到20条相似文献,搜索用时 566 毫秒
1.
我们目前使用的神图软件开发环境主要是“神图FORTRAN”和“神图C/C++”(神图系列软件还包括支持PASCAL、Basic、Ada和PL/M-86等语言的环境)。“神图 C/C++”是一个基于C/C++语言,可与现行流行的语言环境,如Turbo C,Borland C++,Quick C和Microsoft C等配套使用而构成的新型工作平台:神图FORTRAN是一个基于FORTRAN语言的环境,支持Microsoft FORTRAN 5.0和标准FORTRAN 77的程序设计。神图FORTRAN和神图C/C++的共同之处都是运行于PC机,集设计、编码、分析和管理功能于一体的智能化图示程序开发环境,  相似文献   

2.
C++语言是当前十分流行的、面向对象程序设计语言。通过对C++语言的深入研究以及较多的编程实践,总结归纳了C++语言的知识体系和编程中的几个常见问题,比如构造函数、对象指针、const数据和成员的访问属性等,对这些容易搞混淆的问题逐一进行详尽的分析和说明,并解释了其原因所在。通过阅读该文可为编程者带来有益的帮助,以便编程中碰到同类问题时能够解决。  相似文献   

3.
一种基于并行对象的可视化描述   总被引:1,自引:1,他引:0  
一、前言随着并行计算机应用的深入,人们对并行程序的开发需求不断增加。相对于串行程序而言,并行程序必须考虑同步、互斥、通信等问题,使得并行程序设计难度较大,要求科技研究人员具备编写高效的并行程序的能力,影响了并行机的应用水平。将并行机制引入面向对象语言构成并行面向对象语言已成为当前面向对象技术的一个重要研究方向。利用面向对象的特点来有效实现并行任务的划分、数据的分配、并行进程间的通信和同步,可以降低并行程序设计难度。我们设计的适用于MPP机或集群系统的并行C~++语言(SPC~++),是一个面向对象的并行程序设计语言,充分体现了C~++语言面向对象的程序设计思想和特点,将对象机制和并行机制有机结合起来,大大降低并行程序设计难度。SPC~++利用了C~++语言的对象封装性、函数重载、操作符重载等功能对对象消息传递模型进行抽象,简化消息函数的使用。  相似文献   

4.
目前,最主流的开发语言之一就是C++,越来越多的工具都使用C++语言来开发了。因为C++具有高效等特性,所以得到了很广泛的运用。但是不可避免的,在开发软件程序方面,它也存在着一些缺陷。因此,基于开源编译器GCC的C++静态分析器就被开发出来了,可以审查代码,发现缺陷,保证代码的安全和可靠。本文通过对C++静态分析器的C++的语言的缺陷、检查规则以及编译器的内容进行阐述,综合讲解了其开发与应用。  相似文献   

5.
本文介绍了CLIPS嵌入高级语言的方法,其中包括CLIPS嵌入VC++,CLIPS嵌入C++Builder,比较分析了CLIPS嵌入接口的不同,重点研究分析了CLIPS如何嵌入C#.NET,进行专家系统的开发与实现.  相似文献   

6.
本文通过对并行程序设计的三个步骤及数据并行问题特点的分析,论述了数据并行语言应支持程序员对数据划分和映射的描述,并讨论了为此应对串行语言扩展的几个结构。通过四个成功的数据并行语言,说明了这几个扩展结构存在的必要性和合理性。  相似文献   

7.
本文通过归纳总结目前C++程序设计语言下跨平台软件开发的相关技术,介绍C++语言在计算机编程设计领域的优势和跨平台设计思想的提出与实现,运用几个实例说明跨平台软件开发在实践中的广泛应用。C++语言的可移植性和跨平台开发的项目部署,当下主流的编程软件中已被广泛采用,最后结合笔者见解对跨平台软件开发提出新的展望。  相似文献   

8.
面向对象技术是目前软件开发技术的主流,很多开发人员都转向用面向对象的语言编程,C++、Java等面向对象语言成为了主流语言。但这些语言存在着一些问题,而Go语言作为一门新的语言,却弥补了这些不足。简单介绍了Go语言与面向对象技术、C++、Java语言中面向对象技术存在的问题,以及Go语言对以上问题的解决和实现面向对象技术的新思想与关键技术。  相似文献   

9.
具有并发类库的C++   总被引:1,自引:1,他引:1  
杨延中  王为  田籁声 《软件学报》1998,9(6):401-404
本文探讨如何通过类库将并发性引入顺序面向对象语言.以C++为例,在并发类库中提供并发类及相应工具,使之支持分布并行的面向对象程序设计.本文介绍并发类库及语言底层支撑系统的设计与实现,最后给出初步测试结果.  相似文献   

10.
李姗姗  王群 《计算机工程》2011,37(3):227-229
以日地系统活动规律研究为背景,通过对SCIRUN提出的PRMI进行4点改进,提出一种高效的日地系统多物理耦合交互机制PRMI++,能够在物理模型组件进行并行远程方法调用实现耦合交互的同时,自动实现网格重映射和数据并行分布重映射。实验结果证明PRMI++具有较好的性能。  相似文献   

11.
A message-passing class library C++ for portable parallel programming   总被引:1,自引:1,他引:0  
An object-oriented message-passing class library in C++, called PPI++, for portable parallel programming has been developed. PPI++ (parallel portability interface in C++) is designed to serve as a stable (unchanging) interface between the client parallel code and the rapidly evolving distributed computing environments. By taking advantage of encapsulation, inheritance, and polymorphism supported by C++, PPI++ provides a clean and consistent programming interface, which helps improve the clarity and expressiveness of client parallel codes and hides implementation details and complexity from the user to ease parallel programming tasks. In addition, the use of strong type-checking in C++ allows the detection of potential misuses of the library at compile time, and thus promotes code reliability. This paper describes the object-oriented design and implementation of PPI++. Evaluation of PPI++ on important performance issues, such as portability, ease-of-use, extensibility, and efficiency, is also discussed.  相似文献   

12.
VC++中数据库访问技术研究   总被引:8,自引:5,他引:8  
结合VC++讨论并比较了当前流行的几种数据库访问技术:ODBC,DAO,OLE/DB和ADO。在简要叙述其原理后,说明了三种数据库访问技术各自的优缺点,并给出了基本使用方法。  相似文献   

13.
COM组件接口方法参数的数据类型的选择   总被引:1,自引:0,他引:1  
论述了在用 Visual C+ +建造 COM组件时 ,如何选择接口方法参数的数据类型的问题。结合客户程序是 ASP应用程序的情景 ,讨论利用 Visual C+ +和 ATL ,如何在组件程序的一端选择相应的数据类型。  相似文献   

14.
该文提出了一种将调用局部化技术应用于并行环境下面向对象语言的方法,文中详细讨论了该技术的适用条件以及如何通过该方法减少循环中的远程过程调用开销,该优化技术产首先将循环分离成多个包含有远程调用的循环,再将分离后的循环分离给循环中对象所在的处理器,最后,化简迭代空间,并且用消息传递来传输数据,这种优化对象分布和循环并行化之后进行,将函数调用局部化于处理器,通过这种优化,可以进一步挖掘循环中的任务并行性,降低计算复杂度,减少函数调用开销,尤其适合面向对象语言中对循环里小函数的优化,该技术已经在作者设计的Java自动并行化编译器JAPS-Ⅱ中实现,在实验中,利用这种优化技术得到了超线性性加速比。  相似文献   

15.
李国东  张德富 《软件学报》2002,13(3):342-353
在为工作站机群构造并行软件的过程中,计算特征和组成特征非常重要.但是,由于缺乏有效的支撑环境,当今的分布式并行计算软件系统效率低下,这在计算特征方面尤为明显.提出一个基于分布式对象的并行计算框架,目的在于保证高效的并行计算开发,提供封装和复用并行程序的机制,并保证系统的动态平衡和容错性.框架是4层模型,包括对象组层和移动对象层.实验结果证明了方案的有效性.  相似文献   

16.
基于方法调用一般化模型的并行性分析   总被引:3,自引:0,他引:3  
该文给出了一种考虑了面向对象语言的多态和对象引用别名问题的对象方法间并行性的分析方法,这种方法用于面向对象语言并行化中的并行性分析,文中首先给出了一般化的方法调用模型,然后基于该模型给出了表达式化简,过程和过程间分析的算法,该算法可以求出变量的定义和使用集合,由于并行性分析,该文给出的简单例子即可以将该文的和相关的工作加以区别。其技术已经在作者研制的Java并行化编译器JAPS-Ⅱ中实现。  相似文献   

17.
Local search is an emerging paradigm for combinatorial search which has recently been shown to be very effective for a large number of combinatorial problems. It is based on the idea of navigating the search space by iteratively stepping from one solution to one of its neighbors, which are obtained by applying a simple local change to it. In this paper we present LOCAL++, an object‐oriented framework to be used as a general tool for the development and implementation of local search algorithms in C++. The framework comprises a hierarchy of abstract template classes, one for each local search technique taken into account (i.e. hill‐climbing, simulated annealing and tabu search). Each class specifies and implements the invariant part of the algorithm built according to the technique, and is supposed to be specialized by a concrete class once a given search problem is considered, so as to implement the problem‐dependent part of the algorithm. LOCAL++ comprises also a set of abstract classes for creating new techniques by combining different search techniques and different neighborhood relations. The architecture of LOCAL++ provides a principled modularization for the solution of combinatorial search problems, and helps the designer deriving a neat conceptual scheme of the application, thus facilitating the development and debugging phases. LOCAL++ proved to be flexible enough for the implementation of the algorithms solving various scheduling problems. Copyright © 2000 John Wiley & Sons, Ltd.  相似文献   

18.
We present a simple and easy to apply methodology for using high-level self-submitting parallel job queues in an MPI environment. Using C++, we implemented a library of functions, MPQueue, both for testing our concepts and for use in real applications. In particular, we have applied our ideas toward solving computational combinatorics problems and for finding bifurcation diagrams of solutions of partial differential equations (PDE). Our method is general and can be applied in many situations without a lot of programming effort. The key idea is that workers themselves can easily submit new jobs to the currently running job queue. Our applications involve complicated data structures, so we employ serialization to allow data to be effortlessly passed between nodes. Using our library, one can solve large problems in parallel without being an expert in MPI. We demonstrate our methodology and the features of the library with several example programs, and give some results from our current PDE research. We show that our techniques are efficient and effective via overhead and scaling experiments.  相似文献   

19.
面向对象语言在大型并行软件设计和开发上具有巨大的潜力。本文介绍了在网络环境上,我们设计 的面向对象C++并行编译系统OOCPCS的面向对象的大粒度数据流并行模型和总体设计,并讨论了其中一些重要的实现技术。  相似文献   

20.
Many Object-Oriented Databases (OODBs) use programming languages that predate Java, such as C++, CLOS and Smalltalk. Thus, there is a growing need for interoperating these OODBs with new applications that require Java. Unfortunately, there are few mechanisms that allow software developers to easily integrate Java applications with non-Java OODBs. Although various interoperability mechanisms have been developed over the years, these approaches have some significant drawbacks in practice. They are often difficult to use, provide little, if any, automated support, and produce software that is difficult to engineer and maintain. In this paper, we describe an interoperability approach that allows application developers to seamlessly and transparently access non-Java OODBs from Java applications. We first present JOQL, a Java-based object query language that we are developing. JOQL queries are embedded in Java applications and are used to perform queries over C++-based OODBs. We also describe an accompanying toolset that processes Java programs containing JOQL queries. The toolset produces all the necessary code allowing Java applications to access and manipulate a C++-based OODB. As a result, application developers are free to work in Java without having to concern themselves with the details of interoperating with C++. Finally, we provide some preliminary experimental data that demonstrates our approach incurs a reasonable performance overhead.  相似文献   

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

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