⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 integer_program.adb.npp

📁 This contains the following topics and more ADA versus C and Cplus plus Ada_training ADA 2005 for
💻 NPP
字号:
with text_io; use text_io;with ada.integer_text_io; use ada.integer_text_io;procedure integer_program is   x: integer := 99;   package int_io is new text_io.integer_io(integer); -- package instantiationbegin   text_io.put_line("Printing something");   text_io.put_line("x");   int_io.put(x);  -- 3rd type using package int_io is new text_io.integer_io(integer);   put(x);-- 2nd type using ada.integer_text_io;   for i in 1..4 loop      int_io.put(i);      text_io.new_line;      --text_io.put(integer'image(i)); -- 1 type using normal text_io;      put(i);-- 2nd type using ada.integer_text_io;      text_io.new_line;   end loop;end;

⌨️ 快捷键说明

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