Read a file line by line: Difference between revisions

no edit summary
m (→‎{{header|Pascal}}: assign Outputfile not InputFile as in and output ( copy and paste ) File is binary file Text for Textfiles)
No edit summary
Line 3,078:
ENDLOOP
</lang>
 
 
=={{header|Ultimate++}}==
Taken from C++ U++ section
 
<lang cpp>#include <Core/Core.h>
 
using namespace Upp;
 
CONSOLE_APP_MAIN
{
FileIn in(CommandLine()[0]);
while(in && !in.IsEof())
Cout().PutLine(in.GetLine());
}</lang>
 
 
=={{header|UNIX Shell}}==