检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]西北工业大学,西安710072
出 处:《微计算机应用》2007年第6期644-647,共4页Microcomputer Applications
摘 要:论述了Visual C++和Fortran混合编程技术,重点介绍了动态连接库方法。阐明了如何用Compaq Visual Fortran6.5生成动态连接库,Visual C++6.0如何调用所生成的动态连接库的方法。探讨了Visual C++6.0如何与Fortran在调用约定、命名约定、参数传递上保持一致,将Fortran程序改造成DLL动态连接库的方法和在Visual C++中动态装载DLL动态连接库的算法。通过Fortran和Visual C++的混合编程,研制了飞机质量分布特性计算软件的WIINDOWS版本。利用大量已有成熟的FORTRAN程序,避免了重复编程和资源浪费,节省了大量编程时间,在工程与科学研究中有很大的应用价值。This paper discusses mixed-language programming of Visual C ++ and Fortran, specially focus on methods of dynamic link libraries(DLL). We clarify the method how to build a dynamic link libraries(DLL) using Compaq Visual Fortran 6.5 and how to call the DLL in Visual C ++ 6.0. How calling conventions, naming conventions and arguments passing consistently reconciled between Fortran and Visual C ++ is discussed . The methods how Fortran programs are rebuilt to turn into a DLL and the arithmetic how a DLL is dynamically loaded in Visual C ++ are argued. By means of Fortran/ Visual C ++ mixed-language programs We have developed a Windows' edition of a software computing mass distribution of aircraft. A lot of maturely heritage Fortran codes are utilized, the resource waste and repeated programming are avoided and the programming periods are shortened greatly. These have greatly application value in the engineering and scientific research.
分 类 号:TP311.11[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:18.191.105.161