Data update
This commit is contained in:
parent
29a5eea0d4
commit
5c1bb7bfa9
2011 changed files with 35081 additions and 3229 deletions
|
|
@ -1,8 +1,8 @@
|
|||
#include <stdio.h>
|
||||
|
||||
int main(){
|
||||
char c;
|
||||
while ( (c=getchar()) != EOF ){
|
||||
int main() {
|
||||
int c;
|
||||
while ((c = getchar()) != EOF) {
|
||||
putchar(c);
|
||||
}
|
||||
return 0;
|
||||
|
|
|
|||
|
|
@ -0,0 +1,13 @@
|
|||
// Create file handles for standard input and output
|
||||
FileHandleRef stdIn = fn FileHandleWithStandardInput
|
||||
FileHandleRef stdOut = fn FileHandleWithStandardOutput
|
||||
|
||||
// Continuously read from standard input…
|
||||
while (YES)
|
||||
CFDataRef availableData = fn FileHandleAvailableData( stdIn )
|
||||
if ( fn DataLength( availableData ) == 0 )
|
||||
break // End of input
|
||||
end if
|
||||
// … and write to standard output
|
||||
fn FileHandleWriteData( stdOut, availableData, NULL )
|
||||
wend
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
public class CopyStdinToStdout {
|
||||
public static void main(String[] args) throws java.io.IOException {
|
||||
System.in.transferTo(System.out);
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
##
|
||||
Console.OpenStandardInput().CopyTo(Console.OpenStandardOutput());
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
$ENTRY Go {
|
||||
, <Card>: {
|
||||
0 = ;
|
||||
e.Line = <Go <Prout e.Line>>;
|
||||
};
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue