计算物理 ›› 1992, Vol. 9 ›› Issue (4): 343-345.

• 论文 • 上一篇    下一篇

面向对象的程序设计

张淑誉1, 郝柏林2   

  1. 1. 中国科学院物理研究所, 北京 100080;
    2. 中国科学院理论物理研究所, 北京 100080
  • 收稿日期:1992-06-20 出版日期:1992-12-25 发布日期:1992-12-25

OBJECT-ORIENTED PROGRAMMING

ZHANG Shu-yu1, HAO Bai-lin2   

  1. 1. The Institute of physics, Academia Sinica, 100080;
    2. The Institute of Theoretical Physics, Academia Sinica, 100080
  • Received:1992-06-20 Online:1992-12-25 Published:1992-12-25

摘要: 面向对象的程序设计已经变得同七十年代的结构程序设计一样重要。本文以多窗口管理系统,地震活动性分析系统和常微方程定性分析系统为例,说明OOP与计算物理的关系,并简单介绍了OOP的主要工具C++语言。

关键词: 对象, 程序设计, C++

Abstract: OOP is becoming as important as structured programming in the 1970s. Relavance of OOP to computational physics is discussed on the examples of multiwindow systems, a seismicity-analyzing system, and a system for qualitative study of ODE's. The C++ language as a main tool for OOP is also briefly touched.

Key words: object, programming, C++