首页 | 本学科首页   官方微博 | 高级检索  
相似文献
 共查询到20条相似文献,搜索用时 187 毫秒
1.
一种C++过程的可视化设计方法   总被引:2,自引:2,他引:0  
文章提出一种支持C++语言的可视化过程设计方法。这种设计方法由图形化的过程表示方法-C++过程蓝图以及基于C++过程蓝图的设计过程两部分内容组成。C++过程蓝图支持逻辑和实现两个层次的程序抽象表示,是一种简单实用、容易理解、结构良好的可视化过程设计工具。文中给出C++过程蓝图的形式化模型,抽象逻辑结构图的图形表示方法,以及C++过程蓝图设计的基本过程。  相似文献   

2.
VC++与Matlab混合编程在数字图像处理中的应用   总被引:3,自引:0,他引:3  
VC++与Matlab混合编程的方法很多,其中一种是VC++调用Matlab引擎。本文介绍了基于Marlab引擎的VC++与Matlab混合编程,并将该方法应用于数字图像处理中。  相似文献   

3.
VC++6.0通过ADO连接数据库的通用方法研究   总被引:1,自引:0,他引:1  
介绍VC++6.0连接各类数据库的通用方法。详细讲解VC++6.0中利用ADO通用连接的设计方法、INI文件存放读取参数,以及通用方法的使用实例。  相似文献   

4.
VC++与MATLAB的混合编程研究   总被引:4,自引:1,他引:3  
应用VC++与Matlab的混合编程方法可以充分发挥VC++和Matlab的各自优势,提高仿真和开发效率。着重探讨了VC++与Matlab的混合编程方法,并阐述了混合编程的基本步骤、编程过程中遇到的关键问题及其解决方案;最后,分析了各种方法的优缺点和适用场合。  相似文献   

5.
介绍了VC++中使用MatlabC++数学函数库的方法,将VC++与Matlab结合用户发挥这两大软件的优势。  相似文献   

6.
探讨了利用C++实现远程线程的方法,该方法可以使编写远程线程代码变得更加简单高效,同时给出了完整的C++源代码。  相似文献   

7.
MATLAB与VC++混合编程在系统辨识中的应用   总被引:2,自引:0,他引:2  
通过讨论MATLAB与VC++之间的接口方案,介绍了VC++调用MATLAB编译器产生的库函数的方法,以系统辨识为例,通过对经典递推最小二乘法的分析,对仿真算法进行了混合编程。通过这种方法集成了MATLAB优秀的计算能力和VC++出色的图形界面设计能力。  相似文献   

8.
介绍了VisualFoxpro与C++程序间的动态数据交换方法,并引用了具体实例详细介绍了VFP与C++程序之间的数据交换方法。  相似文献   

9.
本文阐述了利用MATCOM实现VC++与MATLAB混合鳊程的接口技术。并以二维整形小波变换为例说明了利用VC++调用Matrix〈LIB〉C++函数的方法。该方法在开发过程中大大提高了编程效率。  相似文献   

10.
因VC++的灵活与庞大,使很多初学VC++编程的人都感到无从下手,作者以自己编写VC++程序的过程来探讨了VC++中滚动条编程的问题,包括自定义滚动条编程方法和系统滚动条编程方法以及各自的优缺点,并给出了实际代码。  相似文献   

11.
Wiener  R. 《Software, IEEE》1998,15(3):55-56
Sure, object orientation is unnatural-computer programming in any language is. We must rely on good principles, good tools, and good languages. This author tells L. Hatton to blame C++ and its culture for the bad rap against OO, and to look elsewhere for a workable OO language. He suggests comparing C to a better OOP language. In his view, Eiffel fosters a culture embodying the best tendencies of OOP Most importantly, Eiffel offers programmers the ability to specify formally, at the implementation level, the behavior of a class. Several companies have reported that such specifications, written in Eiffel, can greatly improve the reliability of large scale software systems  相似文献   

12.
Fortran源程序在WindowsOOP环境下的应用   总被引:5,自引:1,他引:4  
探讨了Windows下高效地使用原DOS系统下的Fortran计算程序代码技术,并通过一个具体的例子详细地介绍了调用约定的属性设置和参数调用的方法,为Fortran源程序在面向对象开发环境中的应用提供了一种切实有效的途径。  相似文献   

13.
Finite element programming and C   总被引:4,自引:0,他引:4  
In finite element programming, data have to be dealt with which are of different types but belong together in a logical sense. It would be very effective, with respect to program readability and maintainability, to store these data as a single unit. Effcient software design requires that all parts of information, which belong together logically, are stored as a single data unit. This can be accomplished utilizing structured data types.

Dynamic memory allocation allows the definition of dynamic variables which can be created and destroyed during run-time. Dynamic memory management is handled in C by pointers. In other conventional languages, e.g. Fortran 77, the programmer has the responsibility to select adequate array sizes for the largest problem to be solved. This often leads in engineering practice to array oversizing and to memory wasting. By allocating memory dynamically during program execution according to actual problem size, wasting can be avoided.

The combination of structured data and pointers along with the dynamic memory allocation capabilities of C allows the creation of linked lists. Utilizing these concepts, an effective and easy-to-read C program has been written for finite element analysis. The C program presented demonstrates the use of these techniques for interactive finite mesh generation. The strengths of C are compared to that of Fortran 77 and Fortran 90. It has been found that for finite element programming C is in many aspects superior to Fortran 77. However, it has some disadvantages in comparison with Fortran 90 concerning array processing.  相似文献   


14.
Fundamental concepts of object-oriented programming (OOP) are considered, including abstract data types, encapsulation, inheritance, and static and dynamic polymorphism. Constructs of Fortran 90/95 that support the greater part of those concepts are discussed.  相似文献   

15.
Fourteen concurrent object-oriented languages are compared in terms of how they deal with communication, synchronization, process management, inheritance, and implementation trade-offs. The ways in which they divide responsibility between the programmer, the compiler, and the operating system are also investigated. It is found that current object-oriented languages that have concurrency features are often compromised in important areas, including inheritance capability, efficiency, ease of use, and degree of parallel activity. Frequently, this is because the concurrency features were added after the language was designed. The languages discussed are Actors, Abd/1, Abd/R, Argus, COOL, Concurrent Smalltalk, Eiffel, Emerald, ES-Kit C++, Hybrid, Nexus, Parmacs, POOL-T, and Presto  相似文献   

16.
针对VC 具有面向对象特征和开发图形界面方面的强大功能以及Fortran语言在数值计算方面的优势,介绍了VC 和Fortran混合编程的实现方法.  相似文献   

17.
The computation of gradients via the reverse mode of algorithmic differentiation is a valuable technique in modelling many science and engineering applications. This technique is particularly efficient when implemented as a source transformation, as it may use static data-flow analysis. However, some features of the major programming languages are detrimental to the efficiency of the transformed source code. This paper provides an overview of the most common problem scenarios and estimates the cost overhead incurred by using the respective language feature or employing certain common patterns. An understanding of these topics is crucial for the efficiency or even feasibility of adjoint computations, particularly for large-scale numerical simulations, for example, in geosciences. While one cannot hope to cover all effects observable with a given programming language in a given run time environment, the paper aims at providing a reasonable guide for the users of C/C++ and Fortran source transformation tools for algorithmic differentiation.  相似文献   

18.
谷志奇  余松煜 《计算机工程》2004,30(22):67-68,163
利用面向对象的方法,提出了在数字电视发送和接收系统中实现DSM-CC中数据下载协议的一种规律化的伪C代码到C 语言的映射规则,这一规则利用C 面向对象的语言特点,结合DSM-CC协议栈语义定义有很大相似性的特点,充分利用了多态和继承等面向对象的思想。利用这一规则,给出了一种自顶向下的DSM-CC的C 语言实现。这一实现具有对数据转盘(DC)和对象转盘(OC)兼容,可扩展性强,发送端(编码端)与接收端(解码端)通用的特点。  相似文献   

19.
结合面向对象和函数式语言的概念   总被引:2,自引:0,他引:2  
考虑了结合面向对象和函数式程序风范的问题.与这一方向的大多数方法相比,这种结合方法有下面两个优点:首先,结合了在广泛流行的几种主语言中非常有名的一些重要概念.换言之,没有引入新的语言概念并试图以新的概念为基础解释众所周知的语言概念.其次,这种结合具有下面的性质:如果整个语言以传统方式使用则不受个别的语言概念的影响,这样,只有在使用一个语言概念的时候才需要关注它.具体地说,提出了一个具有简明操作语言的用于函数式面向对象程序设计的核心语言,它具有如上所述的性质.这个核心语言结合了Eiffel, Java, ML和Haskell语言中的下列核心语言概念:对象,类,多重继承,方法重定义,动态绑定,静态类型安全性,二元方法,代数数据类型,高阶函数,ML-多态性.  相似文献   

20.
为使Fortran与VB混合计算工程中的接口容纳更丰富的数据类型,研究了以内建类型为载体的字符串数据的传递.通过协调两种语言在字符串表达、存储及参数传递方面的不同,成功实施了单一字符串的传递.根据CVF字符串型函数调用机制,提出了VB调用Fortran字符串型函数的变通手段.基于对VB安全数纽参数的本质认识,并通过挖掘CVF语言扩展功能,解决了字符串数组的传递.通过对Fortran 90派生类型存储结构及VB字符串成员编码的剖析,给出了含字符串派生类型数组的传递方式.结合实例验证了各种传递方法的可行性.  相似文献   

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

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