Jump to content

Copy stdin to stdout: Difference between revisions

Add CLU
(add brainf****)
(Add CLU)
Line 141:
std::cout << std::cin.rdbuf();
}</lang>
 
=={{header|CLU}}==
<lang clu>start_up = proc ()
pi: stream := stream$primary_input()
po: stream := stream$primary_output()
while true do
stream$putc(po, stream$getc(pi))
end except when end_of_file:
return
end
end start_up</lang>
 
=={{header|Commodore BASIC}}==
Line 248 ⟶ 260:
&#9608;
</pre>
 
 
=={{header|Common Lisp}}==
2,114

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.