孤独的猫

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

文章分类 -  Turbo Pascal 7.0

摘要:下面在turbo pascal7中定义了一个单元,里面声明并实现了几个画图类:unit Figures;interfaceuses Graph,Crt;type Location=object X,Y:integer; procedure Init(InitX,InitY:Integer); function GetX:Integer; function GetY:Integer;end;PointPtr=^Point;Point=object(Location) Visible:Boolean; constructor Init(InitX,InitY:Integer); destructo 阅读全文
posted @ 2011-03-02 21:10 孤独的猫 阅读(296) 评论(0) 推荐(0)