Another update from ingydotnet^djgoku
This commit is contained in:
parent
91df62d461
commit
948b86eafa
7604 changed files with 108452 additions and 22726 deletions
|
|
@ -6,6 +6,7 @@
|
|||
{{omit from|dc|Always prints to standard output.}}
|
||||
{{omit from|GUISS|Cannot customize error messages}}
|
||||
{{omit from|Integer BASIC}}
|
||||
{{omit from|Jack|No other output stream available.}}
|
||||
{{omit from|TI-83 BASIC|Same reason as TI-89.}}
|
||||
{{omit from|TI-89 BASIC|no analogue to stderr, unless you count graph display vs. program IO}}
|
||||
{{omit from|Unlambda|No concept of standard error (or alternate output streams in general).}}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#include <iostream>
|
||||
|
||||
int main () {
|
||||
std::cerr << "Goodbye, World!\n";
|
||||
std::cerr << "Goodbye, World!" << std::endl;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -0,0 +1 @@
|
|||
IO.puts :stderr, "Goodbye, World!"
|
||||
|
|
@ -0,0 +1 @@
|
|||
(error "Goodbye, World!")
|
||||
|
|
@ -1,7 +1,6 @@
|
|||
#![allow(unused_must_use)]
|
||||
use std::io;
|
||||
use std::io::{self,Write};
|
||||
|
||||
fn main() {
|
||||
let mut stderr = io::stderr();
|
||||
stderr.write(bytes!("Goodbye, World!\n"));
|
||||
let bytes_read_or_error = stderr.write(b"Goodbye, World!\n");
|
||||
}
|
||||
|
|
|
|||
|
|
@ -0,0 +1 @@
|
|||
Stderr nextPutAll: 'Goodbye, World!'
|
||||
|
|
@ -0,0 +1 @@
|
|||
Transcript show: 'Goodbye, World!'
|
||||
Loading…
Add table
Add a link
Reference in a new issue