Anonymous user
Secure temporary file: Difference between revisions
→{{header|Ada}}
m (→{{header|C}}) |
|||
Line 2:
=={{header|Ada}}==
Ada creates a temporary file whenever the create procedure is called
This example creates a temporary file, writes to the file, then reads from the file.
procedure Temp_File is
Line 19:
Get_Line(File => Temp, Item => Contents, Last => Length);
Put_Line(Contents(1..Length));
end Temp_File;</ada>
=={{header|C}}==
|