ada
패키지 Ada.Text_IO
수색…
소개
패키지 Ada.Text_IO 는 텍스트를 넣거나 파일이나 콘솔에서 텍스트를 가져 오는 데 사용됩니다.
Put_Line
개행 캐릭터 라인을 출력합니다.
with Ada.Text_IO;
procedure Put_Text is
use Ada.Text_IO;
S : String := "Hello";
begin
Put_Line ("Hello");
Put_Line (Standard_Output, "Hello");
Put_Line (Standard_Error, "Hello error");
Put_Line (S & " World");
end;
결과
Hello
Hello
Hello error
Hello World
Modified text is an extract of the original Stack Overflow Documentation
아래 라이선스 CC BY-SA 3.0
와 제휴하지 않음 Stack Overflow