simple_cat.adb.npp

来自「This contains the following topics and m」· NPP 代码 · 共 18 行

NPP
18
字号
with Ada.Text_IO; use Ada.Text_IO;procedure Simple_Cat is   name : String (1 .. 20); --Current character   last : Natural; -- can only contain natural integersbegin   while not End_Of_File loop --For each Line      while not End_Of_Line loop --For each character         --Get (Ch);         --Put_line(Ch); --Read / Write character         Get_Line (name, last);         Put_Line (name(1 .. last));      end loop;      Skip_Line;      New_Line; --Next line / new line   end loop;end Simple_Cat;

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?