1 / 19

正确启动软件

(lazarus) 的运用. 正确启动软件. 单击“开始”  “程序”  lazarus  lazarus. 需要编写程序前.请关闭以往的源程序!. 1、选择 file. 2 、选择 new…. 3 、选择 project 下的 custom program. 4、选择OK. 4 、删除系统默认生成的源代码. 5 、在空白处添加程序代码. 实例: program Project1; Var a:integer; Begin Assign(input,'123.in'); reset(input); Assign(output,'123.out');

Download Presentation

正确启动软件

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. (lazarus)的运用 正确启动软件 单击“开始”“程序”lazaruslazarus

  2. 需要编写程序前.请关闭以往的源程序! 1、选择file

  3. 2、选择new…

  4. 3、选择project下的custom program 4、选择OK

  5. 4、删除系统默认生成的源代码

  6. 5、在空白处添加程序代码

  7. 实例: • program Project1; • Var a:integer; • Begin • Assign(input,'123.in'); • reset(input); • Assign(output,'123.out'); • rewrite(output); • Read(a); • a:=a+1; • Write('a=',a); • Close(input); • close(output); • End.

  8. *号说明没有保存 6、程序一定要保存 选择save

  9. 7、选择text

  10. 8、输入数字 9、选择save

  11. 10、记住:保存文件名是你程序中的123.in

  12. 11、编译Build

  13. 12、编译成功提示

  14. 13、运行Run

  15. 14、Run成功提示

  16. 15、打开Open 123.out

  17. 16、选择123.out

  18. 17、编程窗口 18、123.in窗口 19、123.out窗口

  19. 安庆市长风初级中学

More Related